This is a sample NPM module created in dialogue with [Learn Enough JavaScript to be Dangerous] (https://www.learnenough.com/javascript-tutorial/hello_world) by Michael Hartl.
The module can be used as follows:
$ npm install --global palindrome
vim test.js
let Phrase = require("palindrome");
let shortysLament = new Phrase("Able was I, ere I saw Elba.");
console.log(shortysLament.palindrome());
$ node.js
true