{"_id":"@anthonytran0291/lotide","name":"@anthonytran0291/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@anthonytran0291/lotide","version":"1.0.0","description":"A mini clone of the [Lodash](https://lodash.com) library.","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/bzrkrbddy081/lotide.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/bzrkrbddy081/lotide/issues"},"homepage":"https://github.com/bzrkrbddy081/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"afc206a5b2c6be71737ba2566d3e59267a109d40","_id":"@anthonytran0291/lotide@1.0.0","_nodeVersion":"16.13.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-ISBA9VgRERjYQvMzcQHPP+78RTP9BwdLdizdMDlNpNNobEth7Ij7CMKlEb7djujWhQ8NkVb2rMHlM6e1505qKQ==","shasum":"066e56b59d49eeecd49d68b1321598b353d60522","tarball":"https://registry.npmjs.org/@anthonytran0291/lotide/-/lotide-1.0.0.tgz","fileCount":27,"unpackedSize":34115,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEKs9qxTjivx4+tgVnfR2oNXhpZg37BK3UhuiH80wwumAiEA6SM66gFDItQL7D5JzlsQFPyBJFI1hxpBoumS0KmG69A="}]},"_npmUser":{"name":"anthonytran0291","email":"anthonytran0291@gmail.com"},"maintainers":[{"name":"anthonytran0291","email":"anthonytran0291@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1686021692117_0.49562887336415384"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-06T03:21:31.968Z","1.0.0":"2023-06-06T03:21:32.269Z","modified":"2023-06-06T03:21:32.444Z"},"maintainers":[{"name":"anthonytran0291","email":"anthonytran0291@gmail.com"}],"description":"A mini clone of the [Lodash](https://lodash.com) library.","homepage":"https://github.com/bzrkrbddy081/lotide#readme","repository":{"type":"git","url":"git+https://github.com/bzrkrbddy081/lotide.git"},"bugs":{"url":"https://github.com/bzrkrbddy081/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 @anthonytran0291/lotide`\n\n**Require it:**\n\n`const _ = require('@anthonytran0291/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  * `head`: Receives an array and returns an array of the first index.\n  * `tail`: Receives an array and returns the full array minus the first index.\n  * `middle`: Receives an array and returns middle one or two elements of an array.\n  * `assertEqual`: Asserts whether two values are equal.\n  * `assertArraysEqual`: Asserts whether two arrays are equal.\n  * `assertObjectsEqual`: Asserts whether two objects are equal.\n  * `countLetters`: Returns value amount of most frequently occuring letter.\n  * `countOnly`: Given an array and an object, will return an object containing counts of everything that the input object has listed.\n  * `eqArrays`: Receives two arrays and returns `true` if they match.\n  * `eqObjects`: Receives two objects and returns `true` if they match.\n  * `findKey`: Return specified key from an object.\n  * `findKeyByValue`: Receives an object and a value, scan's the object and returns the first key which contains that value.\n  * `letterPositions`: Returns all the indices in the string where each character was found.\n  * `map`: Will return a new array based on the results of the callback function.\n  * `takeUntil`: Returns a slice of an array taken from the beginning.\n  * `without`: Will return a subset of a given array, while filtering unwanted elements.  ","readmeFilename":"README.md"}