https://github.com/czmatyaszero/json-syncdb
Simple database solution for very small projects
https://github.com/czmatyaszero/json-syncdb
database javascript json lightweight
Last synced: over 1 year ago
JSON representation
Simple database solution for very small projects
- Host: GitHub
- URL: https://github.com/czmatyaszero/json-syncdb
- Owner: CZmatyasZERO
- License: mit
- Created: 2023-12-08T18:34:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-10T16:20:25.000Z (over 2 years ago)
- Last Synced: 2025-01-12T19:32:30.150Z (over 1 year ago)
- Topics: database, javascript, json, lightweight
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JSON-syncDB
- simple solution for database for very small projects
- works on base of recursive Proxy() watching Object for changes, then changes writes into file
## Examples
### Example of usage
```javascript
const { JSONDB } = require("json-syncdb")
var db = new JSONDB("./data.json")
db.data.users = []
db.data.users.push({name: "arnold", age: 22})
```