0.2.0 • Published 7 years ago

leighmforrest-palindrome v0.2.0

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

Phrase object (with palindrome detector)

This is a sample NPM module written by hand by Leigh Michael Forrest, based on a tutorial (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 teddyRoosevelt = new Phrase("A man, a plan, a canal: Panama!");
console.log(teddyRoosevelt.palindrome());
$ node test.js
true
0.2.0

7 years ago

0.1.0

7 years ago