steanthos-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.

The module can be use as follows:

$ npm install --global palindrome
$ vim test.js
let Phrase = require("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 steanthos-palindrome

Weekly Downloads

1

Version

0.1.0

License

ISC

Unpacked Size

2.81 kB

Total Files

4

Last publish

Collaborators

  • steanthos