Skip to content

Commit 00dea34

Browse files
author
Snowflake107
committed
rename
1 parent 116b225 commit 00dea34

File tree

3 files changed

+20
-12
lines changed

3 files changed

+20
-12
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
# JSQL
2-
Use **JSON** as **SQL**.
1+
# JSON SQL Query
2+
Use **CRUD** operations on **JSON** with **SQL** queries.
33

44
# Installing
55

66
```sh
7-
$ npm i --save @devsnowflake/jsql
7+
$ npm i --save json-sql-query
88
```
99

1010
> Note: This library is very new and does not support most of the statements
1111
1212
# Example
1313

1414
```js
15-
const { Database } = require("@devsnowflake/jsql");
15+
const { Database } = require("json-sql-query");
1616

1717
// file based
1818
const db = new Database("./database.json");

package.json

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "@devsnowflake/jsql",
3-
"version": "1.0.5",
4-
"description": "Use JSON as SQL.",
2+
"name": "json-sql-query",
3+
"version": "2.0.0",
4+
"description": "Use CRUD operations on JSON with SQL queries.",
55
"main": "index.js",
66
"types": "typings/index.d.ts",
77
"scripts": {
@@ -15,20 +15,28 @@
1515
},
1616
"repository": {
1717
"type": "git",
18-
"url": "git+https://github.com/DevSnowflake/JSQL.git"
18+
"url": "git+https://github.com/DevSnowflake/json-sql-query.git"
1919
},
2020
"keywords": [
2121
"JSQL",
2222
"SQL",
2323
"Database",
2424
"JavaScript",
2525
"JSON",
26-
"JSONSQL"
26+
"JSONSQL",
27+
"sql-to-json",
28+
"json-to-sql",
29+
"nosql-to-sql",
30+
"sql-to-nosql",
31+
"simple-sql",
32+
"sql2json",
33+
"json2sql",
34+
"json.sqlite"
2735
],
2836
"bugs": {
29-
"url": "https://github.com/DevSnowflake/JSQL/issues"
37+
"url": "https://github.com/DevSnowflake/json-sql-query/issues"
3038
},
31-
"homepage": "https://github.com/DevSnowflake/JSQL#readme",
39+
"homepage": "https://github.com/DevSnowflake/json-sql-query#readme",
3240
"devDependencies": {
3341
"prettier": "^2.2.1"
3442
}

typings/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { AST } from 'node-sql-parser';
22

3-
declare module '@devsnowflake/jsql' {
3+
declare module 'json-sql-query' {
44
export interface Handlers {
55
create: (q: AST, db: Database) => void;
66
select: (q: AST, db: Database) => SelectOperation[] & ParseFunction;

0 commit comments

Comments
 (0)