1.0.4 • Published 9 months ago
casespaetzle v1.0.4
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.