
Security News
n8n Tops 2025 JavaScript Rising Stars as Workflow Platforms Gain Momentum
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.
multilevel-http
Advanced tools
Access a leveldb instance from multiple processes via HTTP.
A limitation of LevelDB is that only one process is allowed access to the underlying data. multilevel-http exports a LevelDB instance over http.
npm install multilevel-http
Server:
var multilevel = require('multilevel')
// db = levelup instance or path to db
var server = multilevel.server(db, options)
server.listen(5000)
Client:
var multilevel = require('multilevel')
var db = multilevel.client('http://localhost:5000/')
// now you have the complete levelUP api!
// ...except for events, for now
$ sudo npm install -g multilevel-http
$ multilevel-http -p 5000 path/to.db
Use get-params to pass options to LevelDB, like ?encoding=json
Get meta information about the DB.
// GET /meta
{
"compression" : false,
"cacheSize" : 8 * 1024 * 1024,
"encoding" : 'utf8',
"keyEncoding" : 'utf8',
"valueEncoding" : 'utf8',
"path" : path
}
Get tha value stored at :key.
// GET /data/foo
bar
Store data at :key.
// POST /data/foo bar
"ok"
Delete data stored at :key.
// DEL /data/foo
"ok"
Store many values batched.
/* PUT /data [
{ key : 'bar', value : 'baz' },
{ key : 'foo', value : 'bar' }
] */
Do many operations batched.
/* PUT /data [
{ type : 'put', key : 'bar', value : 'baz' },
{ type : 'del', key : 'foo' }
] */
Get an approximation of disk space used to store the data in the given range.
// GET /approximateSize/a..z
123
Get all the data.
// GET /data/12
[
{ key : 'bar', value : 'baz' },
{ key : 'foo', value : 'bar' },
/* ... */
]
Get all data in the given range.
// GET /range/a..c
[ { key : 'bar', value : 'baz' } ]
Get all the keys.
// GET /keys
[ 'bar', 'foo' ]
Get all the keys in the given range.
// GET /keys/a..c
[ 'bar' ]
Get all the values.
// GET /values
[ 'baz', 'bar' ]
Get all the values in the given range.
// GET /values/a..c
[ 'baz' ]
// server
var multilevel = require('multilevel-http')('my.db')
multilevel.listen(3000)
Start serving on the given port.
The stored db and meta data exposed.
(MIT)
Copyright (c) 2013 Julian Gruber <julian@juliangruber.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FAQs
Access a leveldb instance from multiple processes via HTTP
The npm package multilevel-http receives a total of 5 weekly downloads. As such, multilevel-http popularity was classified as not popular.
We found that multilevel-http demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.

Security News
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.