codeigniter_cookie_parser
Installation
Node.js
Install from npm :
npm install ci_session_decrypter
The use it the usual way :
var CI_decrypter = ; var options = cookie_name: 'ci_session' redisOptions: host: '' password: '' port: '' var decrypter = options;const session = 'c29b6amfduvf9tbf7kefinkfifmeeaho';var result = decrypter
Usage
The module exposes two methods:
crypt(string)
It return JSON object.
getCookie(string)
It return cookie