Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattstypa/ucwords-js
Uppercase the first character of each word in a string
https://github.com/mattstypa/ucwords-js
Last synced: about 1 month ago
JSON representation
Uppercase the first character of each word in a string
- Host: GitHub
- URL: https://github.com/mattstypa/ucwords-js
- Owner: MattStypa
- License: mit
- Created: 2017-11-10T15:28:28.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-13T14:06:49.000Z (about 7 years ago)
- Last Synced: 2024-12-01T15:11:36.928Z (about 2 months ago)
- Language: JavaScript
- Size: 32.2 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# UCWORDS for javascript
[![Build Status](https://travis-ci.org/MattStypa/ucwords-js.svg?branch=master)](https://travis-ci.org/MattStypa/ucwords-js)
[![Latest Stable Version](https://img.shields.io/npm/v/ucwords.svg)](https://www.npmjs.com/package/ucwords)
[![Total Downloads](https://img.shields.io/npm/dt/ucwords.svg)](https://www.npmjs.com/package/ucwords)
[![License](https://img.shields.io/npm/l/ucwords.svg)](https://www.npmjs.com/package/ucwords)Uppercase the first character of each word in a string.
```javascript
const ucwords = require('ucwords');
ucwords('hello world'); // 'Hello World'
```Inspired by [Jeffrey Way](https://twitter.com/jeffrey_way)
![tweet](https://i.imgur.com/sNsmnxj.png)