x-dev-npm-lodesh
v1.1.1
Published
This is a simple practice npm lodesh project
Downloads
15
Readme
Lodesh Project
Description
A lightweight utility library inspired by Lodash, providing helpful functions for arrays, objects, strings, and more. Perfect for simplifying common JavaScript tasks.
Installation
npm install x-dev-npm-lodeshUsage Example
const { chunk } = require('x-dev-npm-lodesh');
// Example: Deep clone an object
const numbers = [1, 2, 3, 4, 5];
const size = 2;
console.log(chunk(numbers, 2)); // [[1, 2], [3, 4], [5]]const { add, multiply } = require('x-dev-npm-lodesh');
const sum = add(6, 4) // output: 10
const rejult = multiply(10, 12) // output: 120
Contribution Guidelines
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Write clear, concise code and add tests.
- Submit a pull request with a detailed description.
- Ensure your code passes all checks and reviews.
Feel free to open issues for suggestions or bugs!
