1.0.1 • Published 7 years ago

is-palindrome-string v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

is-palindrome-string

Check if input string is palindrome.

npm license github-issues

travis-status stars forks

Features

Install

npm install --save is-palindrome-string

Usage

const isPalindrome = require('is-palindrome-string');

isPalindrome('12321');
//=> true

isPalindrome('fox');
//=> false

isPalindrome('madam');
//=> true

isPalindrome();
//=> TypeError: expects a string got undefined

Author

Prosen Ghosh prosenghosh25@gmail.com

License

  • MIT