A Sample Palindrome Checker
A palindrome checker built as a part of Learn Enough JavaScript To Be Dangerous.
Installation
here. Otherwise, the following command will NOT WORK!
Note: This command assumes that a version of nodejs and npm are installed. If not, please see the documentation of nodejsYou can install it with the following command in the terminal:
npm install axarva-palindrome
This package is not available as a CLI program. It can be included in JavaScript files with the following code: In your file, add: Usage
let Phrase = require("axarva-palindrome");
Now you can happily define a string as a Phrase object as follows (Also in the file):
let x = new Phrase("Harry Potter is Parry Otter");