Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "njodb-cli", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "A simple command line interface (CLI) for njodb", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# njodb-cli | ||
A simple command-line interface (CLI) for [njodb](#https://www.npmjs.com/package/njodb). | ||
A simple command-line interface (CLI) for [njodb](https://www.npmjs.com/package/njodb). | ||
@@ -42,3 +42,3 @@ ## Table of contents | ||
For information about the database methods and the data they return see the [njodb documentation](#https://www.npmjs.com/package/njodb). By default, `njodb-cli` uses the synchronous versions of the methods (but you don't have to specify "Sync"). This allows for easy chaining, like in this example where the data returned from a `select` call is sorted by `id`: | ||
For information about the database methods and the data they return see the [njodb documentation](https://www.npmjs.com/package/njodb). By default, `njodb-cli` uses the synchronous versions of the methods (but you don't have to specify "Sync"). This allows for easy chaining, like in this example where the data returned from a `select` call is sorted by `id`: | ||
``` | ||
@@ -45,0 +45,0 @@ db.select(r => r.id <= 100).data.sort((a, b) => a.id - b.id); |
9039