0.2.0 • Published 3 years ago

andyh-palindrome v0.2.0

Weekly downloads
50
License
ISC
Repository
github
Last release
3 years ago

Phrase object (with palindrome detector)

This is a sample NPM module created following along the Learn Enough JavaScript to Be Dangerous tutorial.

The module can be used as follows:

$ npm install --global andyh-palindrome
$ vim test.js
let Phrase = require("andyh-palindrome");
let napoleonsLament = new Phrase("Able was I, ere I saw Elba.");
console.log(napoleonsLament.palindrome());
$ node test.js
true