@openreachtech/mentsu-text-case-tools
v1.0.3
Published
Mentsu text case tools
Readme
@openreachtech/mentsu-text-case-tools
Utilities for converting text case, and for deeply converting the keys of plain objects, between camelCase, PascalCase, and delimiter case (such as snake_case or kebab-case).
Table of contents
Installation
Requires Node.js 20.x (the version the CI builds against).
This package is published to GitHub Packages under the @openreachtech scope. Before
installing, the following two steps are required:
Add the registry to your project's
.npmrc:@openreachtech:registry=https://npm.pkg.github.comAuthenticate with
npm login:npm login --registry https://npm.pkg.github.com
Then install:
npm install @openreachtech/mentsu-text-case-toolsIt is an ES module ("type": "module"); import it with ESM import syntax.
Features
(1) Text case conversion
(2) Deep object key case conversion
API
This package exposes the TextCaseConverter and DeepKeyCaseConverter classes.
See the API reference for the members of each class.
Contribution
Bug reports, feature requests, and code contributions are welcome.
Feel free to contact us through GitHub Issues.
git clone https://github.com/openreachtech/mentsu-text-case-tools.git
cd mentsu-text-case-tools
npm install
npm run lint
npm testLicense
This project is released under the Apache License 2.0.
For more details, please see in the LICENSE file.
Developer
Copyright
© 2026 Open Reach Tech Inc.
