npm data upload

This commit is contained in:
FullGreaM 2022-06-11 15:27:11 +03:00
parent 9528093649
commit 68bf5ad1ae
2 changed files with 31 additions and 1 deletions

View File

@ -1,6 +1,17 @@
# SQLEasy.js # SQLEasy.js
module for simple works from sqlite3 (JavaScript edition) module for simple works from sqlite3 (JavaScript edition)
## Prepare for work ## Prepare for work (install from github)
Use npm from install in your project:
```bash
npm install sql-easy-lib
```
import database object in your project
``` javascript
const SQLEasy = require('sql-easy-lib');
var database = new SQLEasy.database('/path/to/database.db');
```
This object have 4 methods: add, remove, set, get
## Prepare for work (install from github)
My module use module **better-sqlite3**, you must download it. My module use module **better-sqlite3**, you must download it.
```bash ```bash
npm install better-sqlite3 npm install better-sqlite3

19
package.json Normal file
View File

@ -0,0 +1,19 @@
{
"name": "sql-easy-lib",
"version": "0.9.0",
"description": "(Legacy version of SQLEasy library)",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Nikiroy78/SQLEasy.js.git"
},
"author": "FullGreaM",
"license": "ISC",
"bugs": {
"url": "https://github.com/Nikiroy78/SQLEasy.js/issues"
},
"homepage": "https://github.com/Nikiroy78/SQLEasy.js#readme"
}