generate-palindrome

1.0.5 • Public • Published

generate-palindrome

Palindrome is a Word, Phrase or Number or even sequence of characters which when read the same backward is the same as when read forward.
This package generates a palindrome for a given string. If the given string is a palindrome itself then it will be sending back the same string
View in github
View in npm

Installation

npm i generate-palindrome

Usage

var generate=require('generate-palindrome');
var s=""; // string whose palindrome needs to be generated
console.log(generate(s));

Package Sidebar

Install

npm i generate-palindrome

Weekly Downloads

0

Version

1.0.5

License

ISC

Unpacked Size

2.63 kB

Total Files

4

Last publish

Collaborators

  • abir82