akinsm-palindrome

0.1.0 • Public • Published

#Phrase object (with palindrome detector)

This is a sample NPM module created in Learn Enough JavaScript to be Dangerous by Michael Hartl.

The module can be used as follows:

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

Package Sidebar

Install

npm i akinsm-palindrome

Weekly Downloads

0

Version

0.1.0

License

ISC

Unpacked Size

2.98 kB

Total Files

4

Last publish

Collaborators

  • mikeakins