@juici/case
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

Case

npm build status

This library exists to provide case conversion between common cases like camelCase and snake_case, with type-level support. It is intended to be unicode aware, internally consistent, and reasonably well performing.

The transformation algorithm in this library is based on the Rust heck library.

Cases contained in this library

  1. PascalCase
  2. camelCase
  3. snake_case
  4. kebab-case

License

This project is licensed under either of Apache License, Version 2.0 or MIT License at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Package Sidebar

Install

npm i @juici/case

Weekly Downloads

54

Version

0.1.3

License

(MIT OR Apache-2.0)

Unpacked Size

1.35 MB

Total Files

17

Last publish

Collaborators

  • juici