palindrome-api
v1.0.0
Published
A simple API to check if a given text is a palindrome using Node.js and Express.
Maintainers
Readme
🔁 Palindrome Checker API
A simple Node.js + Express API that checks whether a given word or sentence is a palindrome — a word that reads the same forwards and backwards (ignoring case, spaces, and punctuation).
🚀 Features
- Accepts plain text via POST request
- Cleans input (ignores spaces, punctuation, case)
- Returns whether the input is a palindrome
- Lightweight and fast
const { check_palindrome } = require("palindrome-api");
const {text}=req.body;
const result = await check_palindrome(text);
