Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abranhe/capitalize-first-letters
Capizalize first lettes of a sentence
https://github.com/abranhe/capitalize-first-letters
capitalize javascript string truncate
Last synced: 8 days ago
JSON representation
Capizalize first lettes of a sentence
- Host: GitHub
- URL: https://github.com/abranhe/capitalize-first-letters
- Owner: abranhe
- License: mit
- Created: 2019-06-20T23:20:03.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-26T06:16:07.000Z (over 5 years ago)
- Last Synced: 2024-10-12T12:14:54.794Z (about 1 month ago)
- Topics: capitalize, javascript, string, truncate
- Language: JavaScript
- Homepage: https://p.abranhe.com/capitalize-first-letters
- Size: 5.86 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Funding: .github/funding.yml
- License: license
Awesome Lists containing this project
README
# capitalize-first-letters [![Build Status](https://travis-ci.com/abranhe/capitalize-first-letters.svg?branch=master)](https://travis-ci.com/abranhe/capitalize-first-letters)
> Capizalize first lettes of a sentence
## Install
```
$ npm install capitalize-first-letters
```## Usage
```js
const capitalizeFirstLetters = require('capitalize-first-letters');capitalizeFirstLetters('hello world');
// => 'Hello World'
```## API
### capitalizeFirstLetters(input)
#### input
Type: `string`
## Related
- [transform-string](https://github.com/abranhe/transform-string): Transform any string using properties CSS like
## License
MIT © [Abraham Hernandez](https://abranhe.com)