zaschiff-palindrome

Palindrome Detector

Usage no npm install needed!

<script type="module">
  import zaschiffPalindrome from 'https://cdn.skypack.dev/zaschiff-palindrome';
</script>

README

Phrase Object (with palindrome detector)

This is a sample NP module created for the tutorial Learn Enough JavaScript to be Dangerous by Michael Hartl.

This module can be used as follows:

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