0.1.0 • Published 5 years ago
abracadabstrax-palindrome v0.1.0
Phrase Object
with palindrome detector
This is a sample NPM module created in dialogue with Learn Enough JavaScript to be Dangerous 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
0.1.0
5 years ago