0.1.3 • Published 7 years ago
tcuipan-palindrome v0.1.3
Phrase object (with palindrome detector)
This is a sample NPM module reated in Learn Enough JavaScript to Be Dangerous.
The module can be used as follows:
$ npm install --global tcuipan-palindrome
$ vim test.js
let Phrase = require("tcuipan-palindrome");
let napoleonsLament = new Phrase("Able was I, ere I saw Elba.");
console.log(napoleonsLament.palindrome());
$ node test.js
true