Socket
Socket
Sign inDemoInstall

ccr-aes-path

Package Overview
Dependencies
4
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ccr-aes-path

File Cache Mgr.


Version published
Weekly downloads
11
increased by120%
Maintainers
1
Install size
69.3 kB
Created
Weekly downloads
 

Readme

Source

CCR-AES-PATH

NPM Version NPM Downloads NPM License Install Size

Install

npm install ccr-aes-path --save

Usage

var cache = require('ccr-file')('test_cache');
// aes: aes key or aesid obj
var aeskey = require('ccr-ase-path')(cache, aes, aesidOptions);

cache.file('userid').then(function(file) {
    // mkdirp paths auto
    console.log(file);
    // print /tmp/node-ccr/test_cache/2018/0523/15929_0148/userid_1

    var sid = aeskey(file, 'userid');
    // print S1Agc3os25Nynh4uI2tl5ZNOlBN7yUU1PvF1RTUJ5WsGHzDoPE9RdgAZbKvvr7EP
    console.log(aeskey(sid, 'userid'));
    // print /tmp/node-ccr/test_cache/2018/0523/15929_0148/userid_1
});

Keywords

FAQs

Last updated on 09 Jul 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc