longestPalindrome() finds the longest palindrome string within any given string.
npm install manacherconst manacher = require('manacher')
console.log(manacher.longestPalindrome('racecar'))When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Here are some links that can help you on making your pull request: