{"_id":"@acelera/ts-array","name":"@acelera/ts-array","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@acelera/ts-array","version":"1.0.0","description":"Utility tool to manage and play with arrays","repository":{"type":"git","url":"git+ssh://git@github.com/aceleracloud/ts-array.git"},"author":{"name":"Marcus Yoda","email":"marcus@acelera.cloud"},"license":"UNLICENSED","private":false,"publishConfig":{"access":"public"},"main":"lib/index.js","module":"lib/index.esm.js","types":"lib/index.d.ts","scripts":{"prepare":"if [ -z \"$CI\" ]; then ./scripts/repo/prepare.sh; fi","build":"rollup -c --bundleConfigAsCjs","ci":"yarn --frozen-lock","commit":"cz","deploy":"yarn build && yarn publish","format:audit":"prettier --check .","format:fix":"prettier --write .","lint:audit":"eslint .","lint:fix":"eslint --fix .","ts:audit":"tsc --noEmit","src:prepare":"yarn format:fix && yarn lint:fix && yarn ts:audit","test":"jest -w 50%","test:verbose":"yarn test --verbose","test:troubleshoot":"node ./node_modules/.bin/jest --no-cache --logHeapUsage --detectOpenHandles --detectLeaks --runInBand","test:watch":"yarn test --watch","test:coverage":"yarn test --coverage --coverageReporters=html","test:threshold":"jest --coverage"},"devDependencies":{"@commitlint/cli":"^18.4.3","@commitlint/config-conventional":"^18.4.3","@commitlint/cz-commitlint":"^18.4.3","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@types/jest":"^29.5.4","@types/node":"^20.10.3","@typescript-eslint/eslint-plugin":"^5.59.1","@typescript-eslint/parser":"^5.59.1","commitizen":"^4.2.4","eslint":"^8.39.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","husky":"^8.0.1","jest":"^29.6.4","lint-staged":"^15.2.0","micromatch":"^4.0.5","prettier":"^3.0.3","rollup":"^4.0.2","rollup-plugin-typescript2":"^0.36.0","ts-jest":"^29.1.1","ts-node":"^10.4.0","typescript":"^5.2.2"},"dependencies":{},"_id":"@acelera/ts-array@1.0.0","gitHead":"92056e372996a01d3333d2b3c1f404e942c5fbbb","bugs":{"url":"https://github.com/aceleracloud/ts-array/issues"},"homepage":"https://github.com/aceleracloud/ts-array#readme","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-/fuv6v/OZQoD2KvMohJLcxYt6JiacpAGTXzgxXVSVhVDQK+N6y6dzdzk7/ianoFcJSscv1CKCAgiuGtDdbP+Dw==","shasum":"c1209e3358265e1b1ded83a9b51d224e7944344b","tarball":"https://registry.npmjs.org/@acelera/ts-array/-/ts-array-1.0.0.tgz","fileCount":26,"unpackedSize":58811,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDouVFLcWTsu+Uf5Oc9qUse//4SZ9f+08f2+XG8i9feuQIhAMs02rl9jYOpy3Hn3BKgYpphfaYmuIxs+7i6LXBSk/5y"}]},"_npmUser":{"name":"marcusyoda","email":"marcusyoda13@gmail.com"},"directories":{},"maintainers":[{"name":"marcusyoda","email":"marcusyoda13@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-array_1.0.0_1701817853391_0.4442059945461725"},"_hasShrinkwrap":false}},"time":{"created":"2023-12-05T23:10:53.271Z","1.0.0":"2023-12-05T23:10:53.659Z","modified":"2023-12-05T23:10:53.961Z"},"maintainers":[{"name":"marcusyoda","email":"marcusyoda13@gmail.com"}],"description":"Utility tool to manage and play with arrays","homepage":"https://github.com/aceleracloud/ts-array#readme","repository":{"type":"git","url":"git+ssh://git@github.com/aceleracloud/ts-array.git"},"author":{"name":"Marcus Yoda","email":"marcus@acelera.cloud"},"bugs":{"url":"https://github.com/aceleracloud/ts-array/issues"},"license":"UNLICENSED","readme":"# ts-array\n\n`ts-array` is a modern and comprehensive TypeScript library for array manipulation and querying. It offers a set of powerful and easy-to-use functions that cover a wide range of common and advanced array operations, making it ideal for developers seeking efficiency and readability in their array operations.\n\n## Technology\n\n![TYPESCRIPT](https://img.shields.io/badge/TypeScript-2d79c7?style=flat-square&logo=typescript&logoColor=white)\n![JAVASCRIPT](https://img.shields.io/badge/-JavaScript-black?style=flat-square&logo=javascript&logoColor=yellow)\n![NODE](https://img.shields.io/badge/-Nodejs-339933?style=flat-square&logo=Node.js&logoColor=white)\n\n## Who Should Use\n\nThis library is ideal for JavaScript and TypeScript developers who need robust and efficient array operations. If you are working on projects involving complex data manipulation or frequent array operations, `ts-array` will be a valuable addition to your toolkit.\n\n## Author\n\n**Marcus Yoda\n[@marcusyoda](https://github.com/marcusyoda)**\n\n## Installation\n\n```bash\nnpm install ts-array\n```\n\nOr with Yarn:\n\n```bash\nyarn add ts-array\n```\n\n## Functions Basic Usage\n\n[Chunk Into N](./docs/CHUNK-INTO-N.md) - Splits an array into a specified number of evenly sized chunks.  \n[Chunk With Min Size](./docs/CHUNK-WITH-MIN-SIZE.md) - Divides an array into chunks with a specified size, ensuring the last chunk meets a minimum size requirement.  \n[Chunk](./docs/CHUNK.md) - Splits an array into chunks of a specified size, with the last chunk containing the remaining elements if not evenly divisible.  \n[Chunkify](./docs/CHUNKIFY.md) - A generator function that chunks an iterable into specified sizes, yielding each chunk as an array.  \n[Clone](./docs/CLONE.md) - Creates a deep clone of an array.  \n[Compact](./docs/COMPACT.md) - Compact array removing all false values.  \n[Defuse](./docs/DEFUSE.md) - Separates an array of arrays into individual arrays based on their positions.  \n[Difference](./docs/DIFFERENCE.md) - Finds the difference between two arrays.  \n[Difference Symmetric](./docs/DIFFERENCE.md) - Finds the symmetric difference between two arrays.  \n[Equals](./docs/EQUALS.md) - Compare two arrays order or unordered.  \n[Flatten](./docs/FLATTEN.md) - Flattens an array up to a specified depth.  \n[Fuse](./docs/FUSE.md) - Combines multiple arrays, aligning elements by their indices.  \n[Intersection](./docs/INTERSECTION.md) - Finds the intersection of multiple arrays.  \n[Merge](./docs/MERGE.md) - Merge two arrays removing duplicated items.  \n[Remove Duplicates](./docs/REMOVE-DUPLICATES.md) - Identifies and handles duplicate elements in an array.  \n[Remove Duplicates Object](./docs/REMOVE-DUPLICATES-OBJECT.md) - Identifies and handles duplicate elements in an array.  \n[Sample](./docs/SAMPLE.md) - Selects a random element from an array.  \n[Shuffle](./docs/SHUFFLE.md) - Randomly shuffles the elements of an array.  \n[To Keyed Array](./docs/TO-KEYED-ARRAY.md) - Transforms an object into an array with array-like operations.  \n[Union](./docs/UNION.md) - Creates an array of unique values that is the union of several arrays.\n\n## Testing\n\n```bash\nnpm run test\n```\n\nOr with Yarn:\n\n```bash\nyarn test\n```\n\n## Contributing\n\nContributions are always welcome! Feel free to open issues or pull requests if you'd like to improve or fix something in the library.\n\n## License\n\nUNLICENSED\n","readmeFilename":"README.md"}