Description
Package with function reverseAndSwitchCases
that takes input string as an input and if it contains
only alphanumerical characters, reverses the order and switches lowercase to
upper case and vice-versa. The output along with input and execution time of the function in miliseconds
is then saved into a JSON file, object containing data that is saved into a JSON file is also
being returned.
Usage
require('test-assignment');
var output = reverseAndSwitchCases("abCD12");
console.log(output);