2.0.0 • Published 3 years ago

fs-dbengine v2.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

FS-DBENGINE

Because fsdb was already taken. This module allows you to save data without having an actual database server. This solution is an experiment despite the fact that it is theoretically stable in beta.

Tree:

fsdb (Customizable name) 
│
└─── __cache (Customizable name)
│   │   saves.json (Manages the backup system)
│   │
│   └─── backup
│       │   1560377410 
│       │   1560377440
│       │   ...
│       (A folder that contains all backups called by the time they were created)
│   
└─── Database1 (Customizable name)
│    └─── Collection1 (Customizable name)
│    │      table1.json (Customizable name)
│    │      table2.json (Customizable name)
│    │      ...
│    │
│    └─── Collection2 (Customizable name)
│        │   table1.json (Customizable name)
│        │   table2.json (Customizable name)
│        │   ...
│        (Each JSON file has stringified json)
│   
└─── Database2 (Customizable name)
│   └─── Collection (Customizable name)
│   │   │   Table.json (Customizable name)
│   │   │   ...
│   │   ...
│   ...
...

Features:

  • Fully customizable.

  • Save a defined amount of backups or none.

  • Create/Access collections.

  • Create/Set tables.

  • Access and set nested data structures (see test.js).

  • Delete keys from a table.

  • Use backups to fix a corrupted file.

I don't know what to think about it... Even the idea of someone who will ever try it and give their feedback happens to be miraculous.

2.0.0

3 years ago

1.1.0

5 years ago

1.0.0

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago