util-slug-to-capitalized
Install
npm i --save @kldit/util-slug-to-capitalized
Usage
Load at the begining of your application.
require("@kldit/util-slug-to-capitalized");
Run at any where of your code.
"teste-plutot-good-nicht".slugToCapitalized() // "TestePlutotGoodNicht"
"teste".firstCharToLowerCase() // "Teste"