Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on Jun 2, 2024 via pnpm

lowercase-keys 3.0.0

Lowercase the keys of an object
Package summary
Share
0
issues
1
license
1
MIT
Package created
24 Jan 2015
Version published
18 Oct 2021
Maintainers
1
Total deps
1
Direct deps
0
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
lowercase-keys@3.0.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

0
All Dependencies CSV
β“˜ This is a list of lowercase-keys 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does lowercase-keys do?

Lowercase-keys is a powerful JavaScript npm package used for converting all the keys in a given object to lowercase. This ensures uniformity and consistency, making further operations that might be case-sensitive to run smoothly without glitches.

How do you use lowercase-keys?

To utilize the lowercase-keys npm package in your JavaScript application, follow these simple steps:

  1. Install the package by running npm install lowercase-keys in your terminal.
  2. Import the package in your JavaScript file using import lowercaseKeys from 'lowercase-keys';.
  3. You can now use the lowercaseKeys() function on an object to convert all the keys to lowercase.

For example:

import lowercaseKeys from 'lowercase-keys';
const myObject = {FOO: true, bAr: false};
const newObj = lowercaseKeys(myObject);
console.log(newObj);
// Output: {foo: true, bar: false}

In the above code, lowercaseKeys() is applied to myObject resulting in a new object (newObj) with all keys converted to lowercase.

Where are the lowercase-keys docs?

The most comprehensive source of documentation for the lowercase-keys npm package is available on the official GitHub page. This is accessible via the following URL: https://github.com/sindresorhus/lowercase-keys. Alongside the installation and usage guidelines, the GitHub page also provides an overview of the package's Application Programming Interface (API). You can access vital information like the return types and argument descriptions for the package functions. If you're utilizing the package for your enterprise, there's also a link to learn more about available commercial support and maintenance.