Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 338 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 338 Bytes

decapitalize

Decapitalize a string, nothing more.

installation

npm i -S @prepair/decapitalize 

usage

import decapitalize from '@prepair/decapitalize';

console.log(capitalize('FooBarBaz')); // prints "fooBarBaz"

caveats

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