1.0.3 • Published 3 years ago

is-palindrome-es6 v1.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

is-palindrome-es6

What is a palindrome?

A palindrome is a word, number, phrase, or other sequence of characters which reads the same backward as forward, such as madam, racecar. There are also numeric palindromes, including date/time stamps using short digits 11/11/11 11:11 and long digits 02/02/2020. Sentence-length palindromes ignore capitalization, punctuation, and word boundaries.

What is this package?

This package provides a function to which you may pass any value and it will return true if the value is a palindrome, otherwise false.

Usage

Using WebPack:

import { isPalindrome } from "is-palindrome-es6";

isPalindrome("racecar"); // true

Using native ES6 modules:

import { isPalindrome } from "./node_modules/is-palindrome-es6/index.js";

isPalindrome("racecar"); // true

Customer feedback

I can't believe I've spent 18 years, 11 months, 3 days, 22 hours and 45 minutes without this package in my life!

Christa Bridges

1.0.3

3 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago