{"_id":"@antguider/lodash-lite","name":"@antguider/lodash-lite","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@antguider/lodash-lite","version":"1.0.0","description":"A lightweight collection of the 15 most commonly used Lodash methods, implemented in TypeScript","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"node build.js","build:tsc":"tsc","build:watch":"tsc --watch","prepublishOnly":"npm run build","prepack":"npm run build","test":"echo \"Error: no test specified\" && exit 1","clean":"rimraf dist","dev":"npm run build:watch"},"keywords":["lodash","utility","typescript","lightweight","functional","array","object","string","number"],"author":{"name":"Muthukumar Jayamurugan"},"license":"MIT","devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0","rimraf":"^5.0.0"},"repository":{"type":"git","url":"git+https://github.com/antguider/npm-loadsh-lite.git"},"bugs":{"url":"https://github.com/antguider/npm-loadsh-lite/issues"},"homepage":"https://github.com/antguider/npm-loadsh-lite#readme","engines":{"node":">=14.0.0"},"_id":"@antguider/lodash-lite@1.0.0","gitHead":"3178216161eb5e0ad4df3acbaf8d35fb3d560cfd","_nodeVersion":"22.7.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-ZlVQ/Xba5KEkZDbqixFvt4z2rbBReyrhbn+GnsivJPBSb1FGb1PTDKWhVcyCteId/BqZEiCD1w9wFRSaTpovpQ==","shasum":"3e627a98c5a2b9c00ed0a9f0730cb12ed81dc477","tarball":"https://registry.npmjs.org/@antguider/lodash-lite/-/lodash-lite-1.0.0.tgz","fileCount":10,"unpackedSize":20856,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGQpqylieCrDPJc4EglLvfOIHRurbA5eT5+VlINRYLiXAiAdvKzXAT9XSYoVQ33F8DcU3ZfArNF7mSc5Bz7I5YZo8Q=="}]},"_npmUser":{"name":"antguider","email":"antguider@gmail.com"},"directories":{},"maintainers":[{"name":"antguider","email":"antguider@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/lodash-lite_1.0.0_1760234391699_0.22805304771326762"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-12T01:59:51.602Z","1.0.0":"2025-10-12T01:59:51.912Z","modified":"2025-10-12T01:59:52.194Z"},"maintainers":[{"name":"antguider","email":"antguider@gmail.com"}],"description":"A lightweight collection of the 15 most commonly used Lodash methods, implemented in TypeScript","homepage":"https://github.com/antguider/npm-loadsh-lite#readme","keywords":["lodash","utility","typescript","lightweight","functional","array","object","string","number"],"repository":{"type":"git","url":"git+https://github.com/antguider/npm-loadsh-lite.git"},"author":{"name":"Muthukumar Jayamurugan"},"bugs":{"url":"https://github.com/antguider/npm-loadsh-lite/issues"},"license":"MIT","readme":"# lodash-lite\r\n\r\nA lightweight collection of the 15 most commonly used Lodash methods, implemented in TypeScript.\r\n\r\n## Installation\r\n\r\n\\`\\`\\`bash\r\nnpm install @antguider/lodash-lite\r\n\\`\\`\\`\r\n\r\n## Available Methods\r\n\r\n### Object Utilities\r\n\r\n- **get(object, path, [defaultValue])** - Gets the value at path of object\r\n- **pick(object, [paths])** - Creates an object with the picked object properties\r\n- **omit(object, [paths])** - Creates an object with omitted properties\r\n- **merge(object, [sources])** - Recursively merges objects\r\n- **cloneDeep(value)** - Creates a deep clone of value\r\n- **isEmpty(value)** - Checks if value is empty\r\n- **isEqual(value, other)** - Performs a deep comparison between two values\r\n\r\n### Array Utilities\r\n\r\n- **chunk(array, [size=1])** - Creates an array of elements split into groups\r\n- **uniq(array)** - Creates an array of unique values\r\n- **flatten(array)** - Flattens array a single level deep\r\n- **groupBy(array, iteratee)** - Creates an object composed of keys generated from the results\r\n\r\n### Function Utilities\r\n\r\n- **debounce(func, wait)** - Creates a debounced function\r\n- **throttle(func, limit)** - Creates a throttled function\r\n\r\n### String Utilities\r\n\r\n- **capitalize(string)** - Capitalizes the first character of string\r\n\r\n### Number Utilities\r\n\r\n- **random(min, max)** - Produces a random number between min and max (inclusive)\r\n\r\n## Usage\r\n\r\n\r\nimport { get, chunk, debounce } from '@antguider/lodash-lite';\r\n\r\n// Get nested property safely\r\nconst user = { profile: { name: 'John' } };\r\nconst name = get(user, 'profile.name'); // 'John'\r\nconst age = get(user, 'profile.age', 30); // 30 (default value)\r\n\r\n// Split array into chunks\r\nconst chunks = chunk([1, 2, 3, 4, 5], 2); // [[1, 2], [3, 4], [5]]\r\n\r\n// Debounce a function\r\nconst handleSearch = debounce((query) => {\r\n  // Search logic here\r\n}, 300);\r\n\\`\\`\\`\r\n\r\n## Why lodash-lite?\r\n\r\n- **Lightweight**: Only includes the 15 most commonly used methods\r\n- **TypeScript**: Full TypeScript support with proper type definitions\r\n- **Modern**: Uses ES6+ features\r\n- **Tree-shakable**: Import only what you need\r\n\r\n## License\r\n\r\nMIT\r\n","readmeFilename":"README.md","_rev":"1-0a97982d977f4acc4d8650ff3760157f"}