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

route-cache

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

route-cache - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

index.js

@@ -14,3 +14,2 @@ var Eidetic = require('eidetic');

if (cache) {
console.info('routecache hit');
res.send(cache);

@@ -21,3 +20,2 @@ } else {

var body = string instanceof Buffer ? string.toString() : string;
console.info('routecache\'d: ' + req.path, ' length: ' + body.length);
cachestore.put(req.path, body, ttl);

@@ -24,0 +22,0 @@ send.call(this, body);

2

package.json
{
"name": "route-cache",
"version": "0.0.1",
"version": "0.0.2",
"description": "express middleware for caching your routes",

@@ -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