Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jcblw/motm-levelup
Module of the Month - Levelup
https://github.com/jcblw/motm-levelup
Last synced: 16 days ago
JSON representation
Module of the Month - Levelup
- Host: GitHub
- URL: https://github.com/jcblw/motm-levelup
- Owner: jcblw
- Created: 2013-12-01T19:25:49.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2017-05-12T14:09:03.000Z (over 7 years ago)
- Last Synced: 2024-10-11T14:39:04.788Z (about 1 month ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Module of the Month - Levelup
Levelup is a high level abstraction of leveldb. This allows you to use leveldb to store and lookup items in leveldb && More
# LevelDB?
[Wikipedia](http://en.wikipedia.org/wiki/LevelDB)
LevelDB is a fast & [extensable](https://github.com/rvagg/node-levelup/wiki/Modules#wiki-plugins) embedable data store that is use as the backend for Google Chromes indexDB.
[Benchmarks](http://leveldb.googlecode.com/svn/trunk/doc/benchmark.html)
### Interesting Projects using LevelDB
[maxogden/dat](https://github.com/maxogden/dat)
# Settup
Just like any other npm module the library is install via
```
npm install levelup leveldown --save
````leveldown` provides low level bindings for levelup but is [not a depedency](https://github.com/rvagg/node-levelup#leveldown)
# Basics
`index.js` will be the basics, just reading an writing things to the database.
# Events
`events.js` will be a demo of bind to event when adding data or removing data to leveldb.
# Streams
`streams.js` will show how streams can be used to read or write data to leveldb.