slipson-nimonik-palindrome

Palindrome detector

Usage no npm install needed!

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

README

Phrase object (with palindrome detector)

This is a sample NPM module created in Learn Enough JavaScript to Be Dangerous.

The module can be used as follows:

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