All Projects → nikolvs → nedb-repl

nikolvs / nedb-repl

Licence: MIT license
The command-line tool for NeDB

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to nedb-repl

elearning
elearning linux/mac/db/cache/server/tools/人工智能
Stars: ✭ 72 (+278.95%)
Mutual labels:  nosql
maverick
Web IDE and REPL for the Ink programming language, written in pure Ink on a self-hosted compiler toolchain
Stars: ✭ 26 (+36.84%)
Mutual labels:  repl
slacker
Slacker - Easy access to the Slack API and admin of workspaces/teams.
Stars: ✭ 14 (-26.32%)
Mutual labels:  repl
merkle-db
High-scalability analytics database built on immutable merkle-trees
Stars: ✭ 44 (+131.58%)
Mutual labels:  nosql
bspl
Bit-Shift-Print Loop
Stars: ✭ 17 (-10.53%)
Mutual labels:  repl
acebase
A fast, low memory, transactional, index & query enabled NoSQL database engine and server for node.js and browser with realtime data change notifications
Stars: ✭ 288 (+1415.79%)
Mutual labels:  nosql
DataTanker
Embedded persistent key-value store for .NET. Pure C# code.
Stars: ✭ 53 (+178.95%)
Mutual labels:  nosql
fancyline
Readline-esque library with fancy features
Stars: ✭ 72 (+278.95%)
Mutual labels:  repl
duct-figwheel-component
A component for running Figwheel
Stars: ✭ 18 (-5.26%)
Mutual labels:  repl
csharp
Run c# code from the command line, like python or javascript
Stars: ✭ 22 (+15.79%)
Mutual labels:  repl
charm
A [ functional stack ] based language.
Stars: ✭ 26 (+36.84%)
Mutual labels:  repl
dynamodb-onetable
DynamoDB access and management for one table designs with NodeJS
Stars: ✭ 508 (+2573.68%)
Mutual labels:  nosql
ipld-explorer-cli
🔎 Explore the IPLD directed acyclic graph with your keyboard
Stars: ✭ 22 (+15.79%)
Mutual labels:  repl
javaer-mind
Java 程序员进阶学习的思维导图
Stars: ✭ 66 (+247.37%)
Mutual labels:  nosql
Tutkain
A Sublime Text package for interactive Clojure development
Stars: ✭ 62 (+226.32%)
Mutual labels:  repl
igcc
Interactive GCC - C/C++ REPL.
Stars: ✭ 38 (+100%)
Mutual labels:  repl
pyspark-algorithms
PySpark Algorithms Book: https://www.amazon.com/dp/B07X4B2218/ref=sr_1_2
Stars: ✭ 72 (+278.95%)
Mutual labels:  nosql
node-keyboard
A REPL where music is simply streams of input in node (using soundfonts). Supports optional MIDI input and Rx.
Stars: ✭ 50 (+163.16%)
Mutual labels:  repl
irb
interactive Ruby
Stars: ✭ 243 (+1178.95%)
Mutual labels:  repl
bookathon E
다른 사람에게 아무런 말이나 하고 싶고, 아무런 말이나 듣고 싶은 날을 위한 포춘쿠키 웹페이지입니다.
Stars: ✭ 18 (-5.26%)
Mutual labels:  nedb

nedb-repl

The command-line tool for NeDB

Build Status Dependency Status devDependency Status

This is an interactive interface to query and update data, like MongoDB Shell, but for NeDB.

Install

npm install -g nedb-repl

Usage

To open a datastore file, use:

$ nedb foo.db

Inside the REPL, the datastore namespace is attached to the db global property.

You can display the datastore you're using by typing:

nedb> db.filename
foo.db

To perform queries and other operations, you can use the well-known NeDB datastore methods without the callback param. See NeDB API.

nedb> db.insert([ { a: 1 }, { a: 2 } ])
{"a":1,"_id":"Kkui4fblZ5kqkmc8"},
{"a":2,"_id":"9ptV45vIEbBparvA"}
nedb> db.find({ a: 1 })
{"a":1,"_id":"Kkui4fblZ5kqkmc8"}
nedb> db.count()
2

You can change the datastore you're using with the .open command:

nedb> .open bar.db
Opened file bar.db

If the filename is not specified, the datastore is set to in-memory only.

You can see other REPL commands by typing .help.

Changelog

1.2.0

  • Automatically execute cursors (no need to put .exec() in the final of each query)

1.1.0

  • Automatically reload datastore when it changes

License

MIT © Nikolas Silva

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].