From e9c21535384caa7bd7500fd5a7d51255267c9411 Mon Sep 17 00:00:00 2001 From: Reinaldy Rafli Date: Sun, 11 Jul 2021 21:05:27 +0700 Subject: [PATCH] fix: wrong package name sorry --- README.md | 8 ++++---- package.json | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index a4ed9f1..f33b03d 100644 --- a/README.md +++ b/README.md @@ -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). \ No newline at end of file +Want more features? Open something up on [issues](https://github.com/aldy505/sql-dsl). \ No newline at end of file diff --git a/package.json b/package.json index ceff172..ae21f3a 100644 --- a/package.json +++ b/package.json @@ -1,17 +1,17 @@ { - "name": "sql-dsn", + "name": "sql-dsl", "version": "0.0.1", "description": "SQL as template literal", "author": "Reinaldy Rafli ", "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",