ashnaz87-palindrome

Palindrome detector

Usage no npm install needed!

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

README

Phrase object (with Palindrome detector)

This is a sample NPM module created by Ashraf Nazar

The module can be used as follows:

$ npm install --global ashnaz87-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