Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kevingimbel/palipali

Check if a string is a palindrome.
https://github.com/kevingimbel/palipali

palindrome text-analyzer

Last synced: about 1 month ago
JSON representation

Check if a string is a palindrome.

Awesome Lists containing this project

README

        

# palipali
> Checks if a string is a palindrome

[![Build Status](https://travis-ci.org/kevingimbel/palipali.svg?branch=master)](https://travis-ci.org/kevingimbel/palipali)

### Install

```
$ npm i palipali
```

### Usage

#### NodeJS

```js
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
```html

```
Then use the global palipali function.

```js
palipali("Anna") // => true
```

### Note

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