jsmp-infra-fomichova
v1.0.0
Published
Introduction into web infrastructure. Introduction and package managers.
Downloads
1
Readme
DESCRIPTION:
Introduction into web infrastructure. Introduction and package managers.
How to use
This package contains "test", "compile", "clean" and "build" scripts in package.json:
1. npm run compile transpiles original source and tests files to ES5, and put compiled
files in build directory;
2. npm run clean removes all files and folders that are created during compiling scripts;
3. npm run test runs transpiled test files;
4. npm run build runs all above scripts.
There are two functions in package:
1. `updateString()` function which modify string with big first letter.
Example of usage: updateString('string') will return 'String'
2. `updateArray()` function which modify array and return new reversed array.
Example of usage: updateArray([1,2,3]) will return [3,2,1]