UNPKG

casemate

Version:

Storage of many useful utility functions for JavaScript.

37 lines (26 loc) 1.28 kB
# Casemate [![NPM Version](https://img.shields.io/npm/v/casemate.svg)](https://npmjs.org/package/casemate) [![NPM Downloads](https://img.shields.io/npm/dw/casemate.svg)](https://npmjs.org/package/casemate) [![npm bundle size](https://img.shields.io/bundlephobia/min/casemate.svg)](https://npmjs.org/package/casemate) [![MIT License](https://img.shields.io/npm/l/casemate.svg)](https://github.com/saminyasar004/casemate/blob/master/LICENSE) [![Website](https://img.shields.io/website?label=saminyasar%20🚀&name=hello&style=flat&url=https://saminyasar.netlify.app/)](https://saminyasar.netlify.app/) [![Github Follow](https://img.shields.io/github/followers/saminyasar004?label=saminyasar004&style=social)](https://github.com/saminyasar004/) Storage of many useful utility functions for JavaScript. ## Installation Using npm ```shell $ npm i -g npm $ npm i --save casemate ``` ## Use case In Node.js ```javascript // Require the module const casemate = require("casemate"); // Capitalize a string const capitalizeName = casemate.capitalize("john doe"); // John Doe // Convert a string to snake case const snakeCased = casemate.snakeCase("fooBar"); // foo_bar ``` ## Author - [@saminyasar004](https://www.github.com/saminyasar004) | [Email](mailto:yasarsamin57@gmail.com)