Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/youhengzhou/jsoneng-js
Local JSON file based database engine created for NodeJS
https://github.com/youhengzhou/jsoneng-js
javascript javascript-library json json-database npm npm-package
Last synced: 3 months ago
JSON representation
Local JSON file based database engine created for NodeJS
- Host: GitHub
- URL: https://github.com/youhengzhou/jsoneng-js
- Owner: youhengzhou
- License: mit
- Created: 2022-12-03T20:36:48.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-29T03:56:30.000Z (over 1 year ago)
- Last Synced: 2024-09-30T10:23:21.335Z (4 months ago)
- Topics: javascript, javascript-library, json, json-database, npm, npm-package
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/jsoneng
- Size: 45.9 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JSON Database Engine JavaScript Edition
This is a json database create, read, update, delete engine for JavaScript. It is useful for saving text, logs, and data to a local cold storage, best used for debugging or quickly create lightweight database applications.
Please refer to: https://github.com/youhengzhou/jsoneng-js for the Github project repo
Please refer to: https://github.com/youhengzhou/sample-jsoneng-tutorial for a NodeJS express to html communication usage tutorial
Please refer to: https://www.npmjs.com/package/jsoneng for the NPM package
All the default use cases, `create`, `read`, `update`, `delete`, `print` that uses jdb as the default database folder name.
![image](https://user-images.githubusercontent.com/60205850/221281528-adf70467-6fdb-400c-88eb-5dc021d329ec.png)
Create a mock database with character names as the mock generated data
![image](https://user-images.githubusercontent.com/60205850/221281791-956fa002-55ef-4e99-9392-a60642bbcd8d.png)
Mock generated data in the created `jdb.json` file
![image](https://user-images.githubusercontent.com/60205850/221281956-aa474029-1a89-4ecb-84d9-cce504778e02.png)
Feel free to use `npm i jsoneng -U` to use, and I welcome you to leave your thoughts and suggestions on the issues tab!