astroud-palindrome

0.1.2 • Public • Published

Phrase object (with palindrome detector)

This is a sample NPM module created in Michael Hartl's Learn Enough JavaScript to Be Dangerous.

The module can be used as follows:

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

Package Sidebar

Install

npm i astroud-palindrome

Weekly Downloads

0

Version

0.1.2

License

ISC

Unpacked Size

3.69 kB

Total Files

4

Last publish

Collaborators

  • astroud