jsmp-infra-red
v1.0.5
Published
test package to understand how to create own packages
Downloads
5
Readme
jsmp-infra-red
String and array reverser.
In addition, various entry point scripts live in the top-level package at jsmp-infra-red/bin
.
Install
npm install --save jsmp-infra-red
For more in depth documentation see: http://jsmp-infra-red.io/docs/
Use
var reverseArray = require('jsmp-infra-red').reverseArray,
reverseString = require('jsmp-infra-red').reverseString;
var array = ['a', 'b', 'c'],
reversedArray = reverseArray(array); // ['c', 'b', 'a']
var str = 'abc',
reversedStr = reverseString(str); // 'cba'