@cycle/storage

v5.0.2
A Cycle.js driver for localStorage and sessionStorage.

format

prettier --write --single-quote --no-bracket-spacing --trailing-comma=all '{src,test}/**/*.{ts,js}'

build

tsc -d

docs

node ./.scripts/make-api-docs.js

test-node

ts-node test/*.ts

test

npm run test-node

test:ci

npm run test

prebrowserify

mkdirp dist

browserify

browserify lib/index.js --global-transform=browserify-shim --standalone CycleStorage --exclude xstream --outfile dist/cycle-storage.js

minify

node ./.scripts/minify.js dist/cycle-storage.js dist/cycle-storage.min.js

prebrowserify:example

mkdirp dist/example

browserify:example

browserify example/app.js -t babelify --outfile dist/example/app.js

example

npm run build && npm run browserify && npm run browserify:example && cp-cli example/index.html dist/example/index.html && opener dist/example/index.html
npm i @cycle/[email protected]

Metadata

  • MIT
  • >=0.10.0
  • Kahlil Lechelt
  • released 11/16/2017

Downloads