palindrome-page
v1.0.0
Published
"A NodeJs application that checks if a string is a palindrome",
Readme
A simple Node.js application that checks if a string is a palindrome.
Installation
To install the package, use:
npm install palindrome-page
## Usage
Import the package and use it in your project:
```javascript
const { pali } = require('palindrome-page');
const result = pali('racecar');
console.log(result); // Output: "racecar is a palindrome"Features
- Checks if a string is a palindrome.
- Simple and lightweight.
Example
const { pali } = require('palindrome-page');
console.log(pali('level')); // Output: "level is a palindrome"
console.log(pali('hello')); // Output: "hello is not a palindrome"Development
To run the application locally:
- Clone the repository.
- Install dependencies using
npm install. - Start the server using:
node index.jsThe server will start at http://localhost:3400.
Author
Marvelous Ogunleke
License
This project is licensed under the ISC License.
