0.1.3 • Published 2 years ago

genconf-firefox-lockedprefs-pmb v0.1.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

genconf-firefox-lockedprefs-pmb

Render a dictionary of prefs as Firefox locked pref config file format.

API

This module exports one function:

fmtLockedPref(opt, prefs)

opt is an options object that supports these keys:

  • ffVerMajor (required): Firefox major version, as an integer number.

prefs is a dictionary of prefs you want to lock.

Returns an array of prefs file lines, whose toString method is one that joins them with newlines and also appends a trailing newline.

Usage

see test/usage.mjs

Known issues

  • Needs more/better tests and docs.

 

License

ISC

0.1.3

2 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago