0.2.0 • Published 5 years ago
@queso/snake-case v0.2.0
@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