🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

@reflect/titleize

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@reflect/titleize

Capitalize every word in a string: unicorn cake → Unicorn Cake

latest
Source
npmnpm
Version
2.0.3
Version published
Maintainers
2
Created
Source

titleize Build Status

Capitalize every word in a string: unicorn cakeUnicorn Cake

Install

$ npm install --save titleize

Usage

const titleize = require('@reflect/titleize');

titleize('foo bar');
//=> 'Foo Bar'

titleize('foo-bar');
//=> 'Foo Bar'

License

MIT © Sindre Sorhus, Brad Heller

Keywords

titleize

FAQs

Package last updated on 16 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts