@plexis/to-title

0.0.22 • Public • Published

@plexis/toTitle

Converts a string to a title, capitalizes the first letter of each word.

Installation npm i @plexis/to-title

Usage

import toTitle from '@plexis/to-title';

toTitle('this is cool mate'); // returns 'This Is Cool Mate'

Aliases

import {toTitle} from 'plexis';
import {titleize} from 'plexis';

Package Sidebar

Install

npm i @plexis/to-title

Weekly Downloads

21

Version

0.0.22

License

MIT

Unpacked Size

3.28 kB

Total Files

6

Last publish

Collaborators

  • vorillaz