0.0.3 • Published 4 years ago
stigma v0.0.3
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