1.0.1 • Published 5 years ago

jsmp-infrastucture-npm-updater v1.0.1

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

npm-updater

npm-updater is a package for working with strings and arrays.

It contains two methods:

  • updateArray;
  • transformString;

Installation

Prerequisites: Node.js (>=6.14), npm version 3+.

There are two ways to install npm-updater: globally and locally.

Local Installation

$ npm install jsmp-infrastucture-npm-updater --save-dev

Global Installation

npm install -g jsmp-infrastucture-npm-updater

Usage

After that, you can import necessary functions and use them:

//const updater = require('jsmp-infrastucture-npm-updater');
import { updateArray, transformString } from 'jsmp-infrastucture-npm-updater';

//updater.updateArray([1, 2, 3], 4, 5); //[1, 2, 3, 4, 5]
updateArray([1, 2, 3], 4, 5); //[1, 2, 3, 4, 5]
1.0.1

5 years ago

1.0.0

5 years ago