generate-palindrome
v1.0.5
Published
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. <br> This package generates a palindrome for a given string. If the given string is a palindrome itself then it will
Downloads
1
Maintainers
Readme
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));