{"_id":"@edgmsh/lotide","name":"@edgmsh/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@edgmsh/lotide","version":"1.0.0","description":"A mini clone of the [Lodash](https://lodash.com) library","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/edgmsh/lotide.git"},"keywords":["lotide"],"author":{"name":"Ed Garmash"},"license":"ISC","bugs":{"url":"https://github.com/edgmsh/lotide/issues"},"homepage":"https://github.com/edgmsh/lotide#readme","devDependencies":{"chai":"4.3.1","mocha":"9.2.2"},"gitHead":"3e7711aad25259bbbbb78c591118a428de9713a7","_id":"@edgmsh/lotide@1.0.0","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-CJ0FI468154Spq7mE9Ngr6CYOhMOCdgqO5D71S350PcMOX7hW/Gh8n1rSJ5RcVZ1c6dmT5DHNbGMEguUrLddSA==","shasum":"c8447ad6bc7ed6fa7fa1d0c147d3d98ce70134d7","tarball":"https://registry.npmjs.org/@edgmsh/lotide/-/lotide-1.0.0.tgz","fileCount":41,"unpackedSize":19530,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAguR8082k5ajlYBiQav8K8MYm4i+5k8iMjDPh+j+B9qAiEA8KL0keMYVoljmsBuGThw0UoVJjCNqrOpF904xkdadSc="}]},"_npmUser":{"name":"edgmsh","email":"edgmsh@gmail.com"},"maintainers":[{"name":"edgmsh","email":"edgmsh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1729633837582_0.6429182735364902"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-22T21:50:37.445Z","1.0.0":"2024-10-22T21:50:37.813Z","modified":"2024-10-22T21:50:38.176Z"},"maintainers":[{"name":"edgmsh","email":"edgmsh@gmail.com"}],"description":"A mini clone of the [Lodash](https://lodash.com) library","homepage":"https://github.com/edgmsh/lotide#readme","keywords":["lotide"],"repository":{"type":"git","url":"git+https://github.com/edgmsh/lotide.git"},"author":{"name":"Ed Garmash"},"bugs":{"url":"https://github.com/edgmsh/lotide/issues"},"license":"ISC","readme":"# Lotide\n\nA mini clone of the [Lodash](https://lodash.com) library.\n\n## Purpose\n\n**_BEWARE:_ This library was published for learning purposes. It is _not_ intended for use in production-grade software.**\n\nThis project was created and published by me as part of my learnings at Lighthouse Labs.\n\n## Usage\n\n**Install it:**\n\n`npm install @edgmsh/lotide`\n\n**Require it:**\n\n`const _ = require('@edgmsh/lotide');`\n\n**Call it:**\n\n`const results = _.tail([1, 2, 3]) // => [2, 3]`\n\n## Documentation\n\nThe following functions are currently implemented:\n\n- `head(...)`: Gets the first element of array.\n- `tail(...)`: Gets all but the first element of array.\n- `middle(...)`: Gets middle element of array.\n- `eqObjects(...)`: Compares objects by the content \n- `takeUntil(...)`: Cloned array until specified element.\n- `countLetters(...)`: Counts letters of a given string.\n- `eqArrays(...)`: Compares arrays.\n- `findKeys(...)`: Finds key on object by provided string. \n- `countOnly(...)`: Counts specific names from array.\n- `findKayByValue(...)`: Finds object keys by given value.\n- `letterPositions(...)`: Indexes all letters aby given string. \n- `without(...)`: Creates an array excluding all given values.\n- `map(...)`: Creates an array of values by running each element in collection thru iteratee. \n- `flatten(...)`: Flattens array a single level deep.\n- `reverse(...)`: Reverses array so that the first element becomes the last, the second element becomes the second to last, and so on.\n\n  \n\n","readmeFilename":"README.md"}