A small set of useful vanilla Javascript utilities you can use in anything.
npm install cmbutil --save
import cmbutil from 'cmbutil';
const num = 123;
if (cmbutil.isNumeric(num)) {
console.log(`${num} is numeric`);
}
const myString = "hello world!";
const properCasedString = cmbutil.properCase(myString);
console.log(properCasedString);Clone repository: git clone https://github.com/cmbaughman/cmbutil.git
Clone with gh: gh repo clone cmbaughman/cmbutil
This project uses jsdoc for documentation. To regenerate the documentation, (be
sure to use jsdoc syntax), use the following command:
npm run docs