Check if a string is a palindrome.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
web
.gitignore
.travis.yml
LICENSE
README.md
index.js
package-lock.json
package.json

README.md

palipali

Checks if a string is a palindrome

Build Status

Install

$ npm i palipali

Usage

NodeJS

const palipali = require('palipali');

console.log(palipali("Anna")); // => true
console.log(palipali("Kayak")); // => true
console.log(palipali("No, tie it on.")); // => true

Browser

Load the script

<script async type="text/javascript" src="/path/to/palipali.js"></script>

Then use the global palipali function.

palipali("Anna") // => true

Note

This module is just for fun. I do not intend to support it.