casespaetzle
v1.0.4
Published
This package extends the string prototype with case conversion methods.
Downloads
13
Readme
Casespaetzle
Extends the string prototype with case conversion methods, which are written in Rust. For a list of supported cases, see the main README.
import 'casespaetzle'
import assert from 'node:assert'
console.log('hello world'.toConstantCase()) // HELLO_WORLD
assert.strictEqual('http request'.toPascalCase(), 'HttpRequest')
If you want to contribute, refer to the casespaetzle Rust module.