Introducing npm Teams! Private packages + team management tools.Learn more »

@prepair/capitalize

1.1.0 • Public • Published

capitalize

Capitalize a string, nothing more.

installation

npm i -S @prepair/capitalize 

usage

import capitalize from '@prepair/capitalize';
 
console.log(capitalize('foo')); // prints "Foo"

caveats

  • no specialized error handling
  • no locale support
  • no word uppercase mode

Install

npm i @prepair/capitalize

DownloadsWeekly Downloads

12

Version

1.1.0

License

MIT

Last publish

Collaborators

  • avatar
  • avatar