has-localstorage

v1.0.1
returns true if localStorage is supported _and_ persistent
localstorage browser data

jshint

jshint -c .jshintrc lib/has-localstorage.js bin/ tests/

test

npm run jshint && npm run test-browser

test-node

sh bin/test-node.sh

test-browser

node ./bin/test-browser.js

dev-server

http-server -a 127.0.0.1 -p 8000

docs

doxx --source lib/ --target docs/ --template docs/template.jade

deploy

gh-pages-deploy
npm i has-localstorage

Metadata

  • MIT
  • Whatever
  • Gregor Martynus
  • released 1/3/2015

Downloads

Maintainers