@curiousmedia/session

1.0.2 • Public • Published

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`

Readme

Keywords

none

Package Sidebar

Install

npm i @curiousmedia/session

Weekly Downloads

2

Version

1.0.2

License

ISC

Unpacked Size

14.3 kB

Total Files

7

Last publish

Collaborators

  • ishoa
  • cm-gregory
  • kyfoote
  • curiousjason
  • eaglstun