Package Exports
- constant-case
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (constant-case) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Constant Case
Transform into upper case string with an underscore between words.
Installation
npm install constant-case --save
Usage
import { constantCase } from "constant-case";
constantCase("string"); //=> "STRING"
constantCase("dot.case"); //=> "DOT_CASE"
constantCase("PascalCase"); //=> "PASCAL_CASE"
constantCase("version 1.2.10"); //=> "VERSION_1_2_10"
License
MIT