Observed since 20 Oct, 18:41 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
1x00x-lodash-project
this is a lodash project
A utility library providing a comprehensive collection of functions for working with arrays, objects, strings, and more. Built to be a modern, lightweight alternative to Lodash with essential utility functions.
Lodash Project is an npm package that offers a wide range of utility functions to simplify JavaScript development. Whether you need to manipulate arrays, objects, or strings, this package provides efficient, well-tested functions to handle common programming tasks.
Install the package using npm:
npm install 1x00x-lodash-project
Or using yarn:
yarn add 1x00x-lodash-project
const _ = require('lodash-project');
// Flatten arrays
const flattened = _.flatten([1, [2, [3, 4]]]);
// => [1, 2, 3, 4]
// Chunk array into smaller arrays
const chunked = _.chunk([1, 2, 3, 4, 5], 2);
// => [[1, 2], [3, 4], [5]]
// Remove duplicates
const unique = _.uniq([1, 2, 2, 3, 3, 3]);
// => [1, 2, 3]
// Merge objects
const merged = _.merge({a: 1}, {b: 2});
// => {a: 1, b: 2}
// Pick specific properties
const picked = _.pick({a: 1, b: 2, c: 3}, ['a', 'c']);
// => {a: 1, c: 3}
// Get nested values safely
const value = _.get({user: {name: 'John'}}, 'user.name');
// => 'John'
// Capitalize strings
const capitalized = _.capitalize('hello');
// => 'Hello'
// Convert to camelCase
const camelCase = _.camelCase('hello-world-test');
// => 'helloWorldTest'
// Repeat string
const repeated = _.repeat('abc', 3);
// => 'abcabcabc'
We welcome contributions from the community! Here's how you can contribute:
git clone https://github.com/yourusername/lodash-project.git
git checkout -b feature/your-feature-name
npm test
If you find a bug, please create an issue with:
Thank you for contributing!
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
jestEnvironment{
"local_name": "jest",
"alias": false,
"peer_metadata": null
} | ^30.2.0 | development |
Source distribution
{
"shasum": "338acc660dc02aaf932ace685a3e246cc48f6926",
"tarball": "https://registry.npmjs.org/1x00x-lodash-project/-/1x00x-lodash-project-1.1.2.tgz",
"fileCount": 5,
"integrity": "sha512-6j7R9pZa0LSDOuHFsA5MNqA/rhdXIO6uM/VSZMe8WOdwxoLOL/2yTBZGs/CkYhfVSkv1r0LawaQ1txEnk6qR1g==",
"signatures": [
{
"sig": "MEQCIHLl0wsNrMW6tTxLEIEFKHmm0jUQ7ASFKPKJzHUfgKZUAiBMX1fnuoIlADwBdfTsJ/pEbglKuNI+pHPsO5lclmjntQ==",
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
}
],
"unpackedSize": 3861
}Observed since 20 Oct, 18:41 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:a46b50e5f8399f167d10ae710f13c3a8e2aaf7e93b72aeb8b3386e416b2f3cde