capitalize-the-first-letter
v1.0.8
Published
A package that converts the first letter to upperCase for any string.
Downloads
4,343
Maintainers
Readme
capitalize-the-first-letter
A package that converts the first letter to upperCase for any string.
Usage
Node.JS:
const capitalize = require("capitalize-first-letter")
capitalize("john doe") //=> 'John Doe';
ES6 import/export:
import capitalize from "capitalize-first-letter"