Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ldbjs

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ldbjs - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

4

package.json
{
"name": "ldbjs",
"version": "1.5.1",
"version": "1.5.2",
"description": "Create and manage local db files and data",
"main": "./index.js",
"keywords": [
"node",
"backend",

@@ -17,2 +18,3 @@ "frontend",

"json",
"JSON",
"localstorage",

@@ -19,0 +21,0 @@ "base64"

@@ -68,3 +68,3 @@ # ldbjs

### Getting the DB files name
### Getting the DB files list

@@ -74,11 +74,10 @@ ```javascript

// ldb.dir is the project location
ldb.createDB(ldb.dir, 'db');
ldb.createDB('.', 'db');
ldb.createDBFile(ldb.dir, 'db', 'test');
ldb.createDBFile(ldb.dir, 'db', 'hello');
ldb.json.createDBFile(ldb.dir, 'db', 'world');
ldb.createDBFile('.', 'db', 'test');
ldb.createDBFile('.', 'db', 'hello');
ldb.json.createDBFile('.', 'db', 'world');
// this return a table on console with the all files in the db
ldb.getDBFiles(ldb.dir, 'db');
ldb.getDBFiles('.', 'db');
```

@@ -89,3 +88,3 @@

```javascript
ldb.getDBFiles(ldb.dir, 'db', (files)=>{
ldb.getDBFiles('.', 'db', (files)=>{
console.log(files);

@@ -92,0 +91,0 @@ });

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc