Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/kevingimbel/palipali
- Owner: KevinGimbel
- License: mit
- Created: 2017-11-19T21:42:08.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-29T05:13:34.000Z (almost 2 years ago)
- Last Synced: 2024-04-24T15:26:46.988Z (8 months ago)
- Topics: palindrome, text-analyzer
- Language: JavaScript
- Size: 50.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.