stigma
v0.0.3
Published
<img src="logo.png" align="right" height="60px"/> <img align="right" width="0" height="48px" hspace="10"/>
Downloads
2
Readme
stigma :construction:
Mark client browser using various storage options
Installation
npm install stigma
To directly include in browser use "./dist/main.js"
Usage
import Stigma from 'stigma'
const { put, get } = Stigma('KEY')
async function test () {
await put('xxx')
await get() // > "xxx"
}
NOTE: use auto.js
for auto-regeneration on load
API
TODO
Development
Acquire source code
# clone repo
git clone https://github.com/despan/stigma
#
cd stigma
# install dependencies
npm install
Check Contributing Guide for instructions.
Test
# run quick tests
npm run test
# test watching file changes
npm run test:watch
Acknowledgement
- Logo created by beth bolton from the Noun Project
License
The MIT License