Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Mar 21, 2024 via pnpm

snake-case 3.0.4

Transform into a lower case string with underscores between words
Package summary
Share
0
issues
2
licenses
4
MIT
1
0BSD
Package created
24 Mar 2014
Version published
2 Dec 2020
Maintainers
1
Total deps
5
Direct deps
2
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
4 Packages, Including:
dot-case@3.0.4
lower-case@2.0.2
no-case@3.0.4
snake-case@3.0.4

BSD Zero Clause 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
include-copyright
include-license
include-original
Cannot
hold-liable
Must
1 Packages, Including:
tslib@2.6.2
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

2
All Dependencies CSV
ⓘ This is a list of snake-case 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
dot-case3.0.43.54 kBMIT
prod
tslib2.6.215.59 kB0BSD
prod

Visualizations

Frequently Asked Questions

What does snake-case do?

Snake-case is a valuable npm package that serves the primary purpose of transforming any given string into lower case format with underscores between the words. This text modification technique applies widely in programming and scripting languages, staying particularly useful during variable naming, database nomenclification, among other coding practices.

How do you use snake-case?

Understanding the usage of snake-case is straightforward. First things first, make sure it's included in your project by installing it via the command npm install snake-case --save. Post-installation, proceed to load the package into your JavaScript file using the import syntax. Here is an example showing how to apply snake-case in your code:

import { snakeCase } from "snake-case";

let textString = "Hello World!";
let result = snakeCase(textString);

console.log(result); // Output will be: hello_world_

In this instance, snakeCase("Hello World!") transforms the given sentence "Hello World!" into a lower case string with an underscore between words—"hello_world_".

Where are the snake-case docs?

As for finding the snake-case documentation, it is conveniently located within the package's hosting repository on GitHub. The direct link to the 'change case' readme page (which includes snake-case) can be found at 'git://github.com/blakeembrey/change-case.git'. The page provides comprehensive coverage about the package's usage, functionality, option parameter guide, and license information, among other insightful details.