1.0.7 • Published 3 years ago

jsmp-infra-mykashka v1.0.7

Weekly downloads
33
License
-
Repository
-
Last release
3 years ago

This is the npm package for training purposes.

Features

  • Update array with active users, add to the object country field.

  • Make direct sentences more polite. Change MUST to any provide verb or CAN by default.

Installation

npm i jsmp-infra-bahinska-package

Scripts

  1. npm run compile (compile - script(s) that transpiles original source and tests files to ES5, and put compiled files in dist/js directory);
  2. npm run clean (emoves all files and folders that are created during by compile scripts);
  3. npm run test (runs transpiled test files);

Usage

const {updateString, updateArray} = require('jsmp-infra-bahinska-package');

updateString('Mary must', 'can'); // returns 'Mary can'

updateArray([{ surname: 'Geovani', name: 'Mary', age: 12, active: true, }, { surname: 'Ivan', name: 'Carry', age: 11, active: false, }], 'Italy'); // returns [{ surname: 'Geovani', name: 'Mary', age: 12, active: true, country: 'Italy'}]

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago