adesam-pack
v1.0.2
Published
A NodeJS application that checks if the string is a palidrome
Readme
adesam-pack Version: 1.0.1 Author: Adedeji Samuel License: ISC
Description adesam-pack is a simple Node.js package that checks whether a given string is a palindrome (a word, phrase, or sequence that reads the same backward as forward).
Features Lightweight and easy to use
Checks for palindromes with a single function
Built for simplicity and clarity
Installation You can install the package using npm:
bash Copy Edit npm install adesam-pack Usage Here's an example of how to use the package:
javascript Copy Edit const isPalindrome = require('adesam-pack');
// Example usage console.log(isPalindrome('racecar')); // true console.log(isPalindrome('hello')); // false API isPalindrome(string) Parameters:
string (String): The string to be checked.
Returns:
Boolean: true if the string is a palindrome, otherwise false.
Scripts Currently, the package does not include any test scripts. You can run:
bash Copy Edit npm test To see the placeholder test output.
Keywords adedejisqi
adesam
