axarva-palindrome

1.0.0 • Public • Published

A Sample Palindrome Checker

A palindrome checker built as a part of Learn Enough JavaScript To Be Dangerous.

Installation

Note: This command assumes that a version of nodejs and npm are installed. If not, please see the documentation of nodejs here. Otherwise, the following command will NOT WORK!

You can install it with the following command in the terminal:

npm install axarva-palindrome

Usage

This package is not available as a CLI program. It can be included in JavaScript files with the following code: In your file, add:

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");

WARNING: Browsers don't support including files within a JavaScript file. To avoid this, you need to "browserify" your code, probably with the ```browserify``` node package. For more info, visit: https://www.npmjs.com/package/browserify.

Package Sidebar

Install

npm i axarva-palindrome

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

5.06 kB

Total Files

4

Last publish

Collaborators

  • axarva