0.1.0 • Published 6 years ago
rightmeow-palindrome v0.1.0
Phrase object (with palindrome detector)
This is a sample NPM module created in Learn Enough JS to Be Dangerous by Michael Hartl
This module can be used as follows:
$ npm install -g rightmeow-palindrome
$ vim test.js
$ let Phrase = require('rightmeow-palindrome')
let napoleonsLament = new Phrase("Able was I, ere I saw Elba.")
console.log(napoleonsLament.isPalindrome())
$ node test.js
true
0.1.0
6 years ago