Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

alphabetize-object

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alphabetize-object

alphabetize keys in an object

  • 2.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

alphabetizeObject

This module exports a single function - alphabetizeObject to alphabetize keys of an object.

returns: A new (or the same, see inPlace) object, with keys alphabetized.

parameters:

  • Object object - object to operate upon
  • Object opts - options
    • Boolean recursive - if true, alphabetize child object keys recursively
    • Boolean inPlace - will modify the original object provided
    • Boolean 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.

Keywords

FAQs

Package last updated on 02 Sep 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc