npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

This package has been deprecated

Author message:

Jetpack was replaced by WebExtensions

preferences-utils

0.0.1 • Public • Published

Preferences Utils

Opens the preferences of a Firefox extension. Can serve as drop-in replacement for sdk/preferences/utils.

Usage

Installation

Install this module in your extension directory using npm i --save preferences-utils.

Open Preferences

The module exposes one method: open(addon) if addon is omitted, the preferences for the extension are opened. addon is an object and should have an id property, specifying the add-on's ID.

Example

const { open } = require("preferences-utils");
 
// Open the preferences of this extension.
open();

install

npm i preferences-utils

Downloadsweekly downloads

1

version

0.0.1

license

MPL-2,0

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability