Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.
/ preferences Public archive

A utility library for working with pown-related preferences in a consistent and transparent way.

License

Notifications You must be signed in to change notification settings

pownjs/preferences

Repository files navigation

The project has moved to monorepo. See https://github.com/pownjs/pown for more information.

Follow on Twitter NPM Fury default workflow SecApps

Pown Preferences

Utility library for working with Pown.js preferences.

Quickstart

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

About

A utility library for working with pown-related preferences in a consistent and transparent way.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •