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

@coolgk/cache

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coolgk/cache - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

cache.d.ts
/*!
* @package @coolgk/utils
* @version 1.1.1
* @version 1.1.2
* @link https://www.npmjs.com/package/@coolgk/utils

@@ -5,0 +5,0 @@ * @license MIT

/*!
* @package @coolgk/utils
* @version 1.1.1
* @version 1.1.2
* @link https://www.npmjs.com/package/@coolgk/utils

@@ -5,0 +5,0 @@ * @license MIT

@@ -1,1 +0,1 @@

{"name":"@coolgk/cache","version":"1.1.1","author":"Daniel Gong <daniel.k.gong@gmail.com>","homepage":"https://www.npmjs.com/package/@coolgk/utils","bugs":{"url":"https://github.com/coolgk/utils/issues"},"repository":{"type":"git","url":"https://github.com/coolgk/utils.git"},"description":"a redis wrapper","keywords":["redis","cache","typescript"],"dependencies":{"@types/redis":"^2.8.3"},"pre-commit":{"silent":false,"run":["test:precommit","tslint"]},"main":"./cache.js","types":"./cache.d.ts","license":"MIT"}
{"name":"@coolgk/cache","version":"1.1.2","author":"Daniel Gong <daniel.k.gong@gmail.com>","homepage":"https://www.npmjs.com/package/@coolgk/utils","bugs":{"url":"https://github.com/coolgk/utils/issues"},"repository":{"type":"git","url":"https://github.com/coolgk/utils.git"},"description":"a redis wrapper","keywords":["redis","cache","typescript"],"dependencies":{"@types/redis":"^2.8.3"},"pre-commit":{"silent":false,"run":["test:precommit","tslint"]},"main":"./cache.js","types":"./cache.d.ts","license":"MIT"}

@@ -8,22 +8,2 @@

a redis wrapper
#### constructor (options)
- Parameters
- {object} options
- {object} [options.redisClient] - redis client from redis.createClient()
- Return Value
- void
#### set (name: string, value: any, expiry = 0)
- Parameters
- {object} options
- {object} [options.redisClient] - redis client from redis.createClient()
- Return Value
- void
#### constructor (options)
- Parameters
- {object} options
- {object} [options.redisClient] - redis client from redis.createClient()
- Return Value
- void
## Examples

@@ -30,0 +10,0 @@ ```javascript

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