1.0.10 • Published 2 years ago
jsmp-infra-viacheslav-capitalize-second-word v1.0.10
Prerequisites
You need to install Node.js. npm is distributed with Node.js which means that when you download Node.js, you automatically get npm installed on your computer.
Installing
Install with npm:
$ npm install --save jsmp-infra-viacheslav-capitalize-second-word
Usage
const { capitalizeSecondWord } = require("jsmp-infra-viacheslav-capitalize-second-word");
console.log(capitalizeSecondWord('first second third')); // returns first SECOND third
Running the tests
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can run tests with the following command:
$ npm install && npm run compile && npm test:unit
Or you can just execute $ npm install && npm run prepublish
command
Author
- Viacheslav Onatskiy
License
This project is licensed under the ISC License.