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.0.5 to 1.0.6

2

json.js

@@ -27,3 +27,3 @@ // json module

if(callback) callback(data);
if(callback) callback(JSON.parse(data));

@@ -30,0 +30,0 @@

{
"name": "ldbjs",
"version": "1.0.5",
"author": {
"name": "raisess-Danilo_Santana"
},
"dependencies": {
"base-64": "^0.1.0",
"utf8": "^3.0.0"
},
"description": "Create and manage local db files and data",
"main": "./index.js",
"homepage": "https://github.com/Raisess/ldbjs",
"keywords": [

@@ -20,10 +25,7 @@ "backend",

],
"author": "raisess-Danilo_Santana",
"homepage": "https://github.com/Raisess/ldbjs",
"license": "MIT",
"main": "./index.js",
"name": "ldbjs",
"preferGlobal": "true",
"dependencies": {
"base-64": "^0.1.0",
"utf8": "^3.0.0"
},
"license": "MIT"
}
"version": "1.0.6"
}

@@ -182,6 +182,4 @@ # ldbjs

ldb.json.getData('.', 'myJSONDBName', 'myJSONFileName', (data)=>{
document.getElementById('demo').innerHTML = JSON.parse(data);
document.getElementById('demo').innerHTML = data;
});
// or to auto parse
document.getElementById('demo').innerHTML = ldb.json.getData('.', 'myJSONDBName', 'myJSONFileName');
```

@@ -188,0 +186,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