2.0.2 • Published 4 years ago

ccr-aes-path v2.0.2

Weekly downloads
7
License
MIT
Repository
github
Last release
4 years ago

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
});
2.0.2

4 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago