Big update!Announcing Socket for GitHub 1.0. Learn more
Socket
BlogLoveFAQ
Install
Log in

lowercase-keys

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Issues
File Explorer

Advanced tools

lowercase-keys

Lowercase the keys of an object

    3.0.0latest

Version published
Maintainers
1
Weekly downloads
23,126,241
decreased by-4.06%

Weekly downloads

Changelog

Source

Breaking

  • Require Node.js 12.20 c3d4e47
  • This package is now pure ESM. Please read this.

https://github.com/sindresorhus/lowercase-keys/compare/v2.0.0...v3.0.0

Readme

Source

lowercase-keys

Lowercase the keys of an object

Check out map-obj if you need support for deep iteration.

Install

npm install lowercase-keys

Usage

import lowercaseKeys from 'lowercase-keys'; lowercaseKeys({FOO: true, bAr: false}); //=> {foo: true, bar: false}

API

lowercaseKeys(object)

Returns a new object with the keys lowercased.

lowercase-keys for enterprise

Available as part of the Tidelift Subscription.

The maintainers of lowercase-keys and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.

Keywords

FAQs

What is lowercase-keys?

Lowercase the keys of an object

Is lowercase-keys popular?

The npm package lowercase-keys receives a total of 18,790,649 weekly downloads. As such, lowercase-keys popularity was classified as popular.

Is lowercase-keys well maintained?

We found that lowercase-keys demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 18 Oct 2021
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc