fix: wrong package name sorry

This commit is contained in:
Reinaldy Rafli 2021-07-11 21:05:27 +07:00
parent 5f78a34305
commit e9c2153538
2 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# SQL DSN for your Node App
# SQL DSL for your Node App
Based on an idea from [@ronnygunawan](https://github.com/ronnygunawan). This was supposed to be a challenge for someone else, but I thought, why not? Lol.
@ -8,7 +8,7 @@ As always:
* No external dependencies
```bash
npm install sql-dsn
npm install sql-dsl
```
## What this does?
@ -16,7 +16,7 @@ npm install sql-dsn
This outputs simple SQL query & argument object from your template literal string.
```js
import { sql } from 'sql-dsn'
import { sql } from 'sql-dsl'
const query = sql`INSERT INTO users (name, email, age) VALUES (${`Thomas Worgdjik`}, ${`thom@thunder.zn`}, ${30})`
@ -56,4 +56,4 @@ const atp = query.formatAtP()
// }
```
Want more features? Open something up on [issues](https://github.com/aldy505/sql-dsn).
Want more features? Open something up on [issues](https://github.com/aldy505/sql-dsl).

View File

@ -1,17 +1,17 @@
{
"name": "sql-dsn",
"name": "sql-dsl",
"version": "0.0.1",
"description": "SQL as template literal",
"author": "Reinaldy Rafli <aldy505@tutanota.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/aldy505/sql-dsn.git"
"url": "git+https://github.com/aldy505/sql-dsl.git"
},
"bugs": {
"url": "https://github.com/aldy505/sql-dsn/issues"
"url": "https://github.com/aldy505/sql-dsl/issues"
},
"homepage": "https://github.com/aldy505/sql-dsn#readme",
"homepage": "https://github.com/aldy505/sql-dsl#readme",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",