@jgarber/capitalize
v0.1.0
Published
Sometimes you need to capitalize the first character of a string.
Readme
@jgarber/capitalize
Sometimes you need to capitalize the first character of a string.
Installation
npm install --save-dev @jgarber/capitalizeUsage
import capitalize from "@jgarber/capitalize";
console.log(capitalize("foo"));
// => "Foo"Acknowledgments
The capitalize function was pulled straight from this unsigned ui.dev article, so credit due to whomstever wrote that.
License
This project is freely available under the MIT License.
