Skip to content

yangli-io/flydb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flydb for node.js

the fastest slowest database there is.

  • fastest in terms of easiest to use, there is literally no new API
  • slowest in terms of performance, this db is extremely slow So why flydb?

Why I made this

I made flydb because I wanted to be able to persist data for some of my projects. In order to do that I need to set up a database. This was a pain and I always dreaded doing it. So I created flydb, the easiest way to save your data but this is not for everyone...

Who is this for?

Flydb is for anyone who wants to create a simple project and needs to persist data but don't want to set up a database. You should use flydb because

  • flydb is super easy to use
  • flydb is super easy to migrate
  • setup takes 5seconds

You shouldn't use flydb because

  • flydb is not scalable at all
  • flydb is extremely slow (but really for minor projects, you won't notice a difference)

!IMPORTANT

In order to run this you will need to activate --harmony-proxies, luckily you dont need to install anything on top of node

node --harmony-proxies <your commands>

##Install

  npm install flydb

##Example

var flydb = require('flydb');

flydb.test = "hello world";  //flydb.test will now persist

Change the codes and see if it's still there! you will be amazed!!

var flydb = require('flydb');

console.log(flydb.test);

TODO:

  • Add testing
  • Add some more functionality without disrupting it's simplicity, such as allow users to create their own .fdb files on init

About

the fastest slowest db there is for node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published