npm

Need private packages and team management tools?Check out npm Orgs. »

sak-firsttoupper

0.1.0 • Public • Published

Sak-firsttoupper

Version 0.1.0.

Capitalize the first letter of a string.

Created by Thomas de Zeeuw, thomasdezeeuw@gmail.com (https://thomasdezeeuw.nl/).

Released under a MIT license.

Exports

firstToUpper

Function, public.

Capitalize the first letter of a string.

Example

var string = 'my string'
  , upperString = firstToUpper(string);
 
console.log('upperString', upperString) // upperString My string

Params

Name Type
str String

Return

Description Type
Same string starting with a capital character. String

Generated by [Node-doc](https://github.com/Thomasdezeeuw/node-doc/ "Node-doc").

install

npm i sak-firsttoupper

Downloadsweekly downloads

113

version

0.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability