@curiousmedia/session
v1.0.2
Published
Building
Downloads
2
Keywords
Readme
Building
npm run dist
Usage
Global
<script src="dist/session.js"></script> // or dist/session.min.js
<script>
var session = new Session( 'my-prefix' );
</script>
See demo/index.html
Node
let session = new Session( 'my-prefix' )```
`session.set('wow', 1);`
`session.get('wow'); // 1`
`session.clear();`
`session.get('wow'); // null`