jsmp-infra-cdpmodule2hw1
v0.1.4
Published
This is the npm package for training puproses
Downloads
1
Readme
#jsmp-infra-cdpmodule2hw1
This is the npm package for training puproses It updates strings and arrays
##Installation
npm i jsmp-infra-cdpmodule2hw1
##Usage
const jsmpInfraModule2hw1 = require("jsmp-infra-cdpmodule2hw1").default;
const updateString = jsmpInfraModule2hw1.updateString('stRiNG');
// -> 'STRING - string'
const updateArray = jsmpInfraModule2hw1.updateArray([1, 2, 3], [8, 'k']);
// -> [8, 'k', 3, 2, 1]
##Tests
npm test