Package Exports
- @queso/snake-case
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@queso/snake-case) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@queso/snake-case
Part of a library of zero-dependency npm modules that do just one thing.
- 100% TypeScript support.
- It's not a party without
Queso!
min + gzip | 202 bytes
Converts a string value into snake case.
Usage
import snakeCase from '@queso/snake-case'
snakeCase('fooBARBaz')
// => 'foo_bar_baz'Parameters
| Name | Type | Description |
|---|---|---|
value |
string |
The string to convert. |
Returns
The snake-cased string.
Return type
string