Javascript library for interconverting naturally camelCase and snake_case which include acronym.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Intact Case for Javascript

Software License

What's Intact Case

Intact Case is the rules for interconverting naturally camelCase|StudlyCaps and snake_case which include acronym.

camelCase / StudlyCaps snake_case
camelCase camel_case
SnakeCase snake_case
PHPUnit php__unit
getUTCDay get_utc__day

This library can interconvert camelCase|StudlyCaps and train-case.

camelCase / StudlyCaps train-case
forgetMeNot forget-me-not
WebkitFlexDirection -webkit-flex-direction


This is the Javascript library of Intact Case. When you use this library, you must understand rules of Intact Case.

If you want to see more information, please see IntactCase.

Test Case

You can test this library on a browser.

  1. Open /test/test.html on a browser.
  2. See console in a developer tools of each browser.

If you want to test other cases, edit /test/js/intact_case_test.js and run.


IntactCase - Official page for Intact Case.