npm.io
1.0.5 • Published 6 years ago

jsmp-infra

Licence
ISC
Version
1.0.5
Deps
1
Size
6 kB
Vulns
0
Weekly
0

Homework 5

This homework is about introduction into web infrastructure. Introduction and package managers.

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

Usage

const {
  arrayDiff,
  lowerCase 
} = require('jsmp-infra');
 
arrayDiff([1, 2, 2, 2, 3], [2]); // returns [1, 3]
 
lowerCase('recede'); // returns '()()()'

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

Or you can just execute $ npm install && npm run prepublish command

Contributing

Pull requests and stars are always welcome.

Authors

  • Mariia Aloshyna

License

This project is licensed under the ISC License.