The project has moved to monorepo. See https://github.com/pownjs/pown for more information.
Utility library for working with Pown.js preferences.
Install this module from the root of your project:
$ npm install @pown/preferences --save
Once done, list all installed pown preferences like this:
const pownPreferences = require('@pown/preferences')
pownPreferences.getPreferences('something', (err, preferences) => {
// do something with preferences
})
You can also use promises with async/await like this:
const pownPreferences = require('@pown/preferences')
const preferences = async pownPreferences.getPreferences('something')
// do something with preferences