pref

Remember user preferences via LocalStorage

npm install pref
18 downloads in the last week
122 downloads in the last month

pref

Remember user preferences via LocalStorage

pref = require('pref')

pref('show-toolbar', false)
pref('show-toolbar')
// => false

pref('foobar', { foo: 123, bar: 456 })
pref('foobar')
// => { foo: 123, bar: 456 }

Install

$ npm install pref
npm loves you