0.1.1 • Published 5 months ago
front-end-path-palindrome v0.1.1
Phrase object (with palindrome detector)
This is a sample NPM module created in Learn Enough JavaScript to Be Dangerous by Front end path leaning team.
The module can be used as follows:
npm install --global front-end-path-palindrome
vim test.js
node test.js
//true
let Phrase = require("front-end-path-palindrome");
let napoleonsLament = new Phrase("Able was I, ere I saw Elba.");
console.log(napoleonsLament.palindrome());