jsmp-infra-my-test-package
v1.5.2
Published
test package
Downloads
3
Readme
JSMP INFRA MY TEST PACKAGE
Description
This package was created for testing.
Install
NPM
npm install --save jsmp-infra-my-test-package
Usage
Require
Function that accepts array and returns reversed array
const { reverseArray } = require('jsmp-infra-my-test-package')
var array = ['a', 'b', 'c'],
reversedArray = reverseArray(array); // ['c', 'b', 'a']
Function that accept string and returns it with greeting message
const { greetingString } = require('jsmp-infra-my-test-package')
greetingString('Lol'); // => 'Hello, Lol'
greetingString(); // => 'Hello, Test' => 'Test' is a default value