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

redis-json

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redis-json - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

README.md

31

index.js

@@ -59,33 +59,2 @@

if (require.main == module) {
var Redis = require('ioredis');
var redis = new Redis({
host: 'localhost',
port: 6379,
password: '',
db: 0,
family: 4
})
var jsonStore = new JSONStore(redis);
jsonStore.set('user', {
name: 'akash',
age: 21,
address: {
street: 21,
place: 'Bangalore',
state: 'Karnataka',
country: 'India'
}
}, function (err, result) {
console.log(err, result);
jsonStore.get('user', function (err, result) {
console.log(err, result);
});
})
}
module.exports = JSONStore;

@@ -92,0 +61,0 @@

2

package.json
{
"name": "redis-json",
"version": "1.0.0",
"version": "1.0.1",
"description": "A wrapper library to store JSON Objects in redis-hashsets and retrieve it back as JSON objects",

@@ -5,0 +5,0 @@ "main": "index.js",

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