oluwafemi-test-package
v1.0.0
Published
This is for play play. I go still delete am
Readme
oluwafemi-test-package
A lightweight utility package that provides string manipulation functions and an optional Express server.
Installation
npm install oluwafemi-test-packageFeatures
- 🔤 Simple string manipulation utilities
- 🚀 Lightweight with minimal dependencies
- 📦 CommonJS module support
- ⚡ Easy to integrate into any Node.js project
Usage
As a Utility Library
Import and use the lower function to convert strings to lowercase:
const { lower } = require('oluwafemi-test-package');
// Convert string to lowercase
const result = lower('HELLO WORLD');
console.log(result); // Output: 'hello world'
const mixedCase = lower('CaMeL CaSe TeXt');
console.log(mixedCase); // Output: 'camel case text'As an Express Server
The package also includes a built-in Express server that runs on port 5666:
const app = require('oluwafemi-test-package');
// Server will automatically start on port 5666API Reference
lower(value)
Converts a given string to lowercase.
Parameters
value(String): The string to be converted to lowercase
Returns
- (String): The lowercase version of the input string
Example
const { lower } = require('oluwafemi-test-package');
lower('JAVASCRIPT'); // Returns: 'javascript'
lower('Node.JS'); // Returns: 'node.js'
lower('123ABC'); // Returns: '123abc'Dependencies
- Express - Fast, unopinionated, minimalist web framework for Node.js
Author
Oyeniran Oluwafemi
License
This project is licensed under the ISC License - see the LICENSE file for details.
Keywords
- femi
- string-manipulation
- lowercase
- utility
- express
Contributing
Contributions, issues, and feature requests are welcome!
Support
If you find this package helpful, please consider giving it a ⭐️ on GitHub!
Note: This package runs an Express server on port 5666 when imported. Make sure this port is available in your environment.
