alphabetize-object
v3.0.0
Published
alphabetize keys in an object
Downloads
4
Readme
alphabetizeObject
This module exports a single function - alphabetizeObject
to alphabetize keys
of an object.
returns: A new object, with keys alphabetized.
parameters:
Object object
- object to operate uponObject opts
- optionsBoolean recursive
- if true, alphabetize child object keys recursivelyBoolean caseInsensitive
- will treat keys case insensitive in sorting
Dependencies: No.
Support: This is a lightweight module which I'll likely not be adding any features to, or accepting PRs. I'll fix bugs for a few months, and accept any bugfix PRs.
Dev Deps: semistandard
for linting, mocha
for tests.