Render a dictionary of prefs as Firefox locked pref config file format.
This module exports one function:
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.
see test/usage.mjs
- Needs more/better tests and docs.
ISC