0.2.0 • Published 3 years ago

karanja1victor-palindrome v0.2.0

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

Phrase object (with palindrome checker)

This is a sample NPM module created in Learn Enough Javascript to be Dangerous by Victor Karanja.

The module can be used as follows:

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

:+1: