1.0.5 • Published 2 years ago
generate-palindrome v1.0.5
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));