Icontem

File: example/example2.js

Recommend this page to a friend!
  Classes of ryan silalahi  >  Encyclopedia  >  example/example2.js  >  Download  
File: example/example2.js
Role: Example script
Content type: text/plain
Description: Example script
Class: Encyclopedia
Store large objects in many smaller ones
Author: By
Last change:
Date: 4 years ago
Size: 203 bytes
 

Contents

Class file image Download
var enc = require('./..');

var test = enc();

test.set('foo', 'bar');
console.log('foo => ' + test.get('foo'));

console.log('delete foo');

test.unset('foo');
console.log('foo => ' + test.get('foo'));