{"_id":"@campr/lotide","_rev":"1-ba3ac6b9ade1658d0c6e60821cfdb1c6","name":"@campr/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@campr/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/Campr1/lotide.git"},"author":{"name":"Rishard Campbell"},"license":"ISC","bugs":{"url":"https://github.com/Campr1/lotide/issues"},"homepage":"https://github.com/Campr1/lotide#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.1.3"},"gitHead":"37508ec758a12f90c6307e8460110dbd492eb8c7","_id":"@campr/lotide@1.0.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-DNi34USls2XvrJwqX4KdBAIMzZGlGbwYE6mBe/yxv/TRSEQTqmdDocVeAerVSz6sqCpmBdpASm6yS5OMJ1IE5A==","shasum":"e7e7c3f86cfdaa76ffb40f07b80df19baa376dce","tarball":"https://registry.npmjs.org/@campr/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":17917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpWPYCRA9TVsSAnZWagAAL6oP/1N2b7As5MS3csCsUMOM\nJABE9/NoZFOsfnll9JEksRsR/Rklst6FZ7rk2rZgz+HndOPjnjBpkTz3n/UL\nq7b+CqS3wSq699oNR5vNodMxQKvTpW2d/ebhZ6bkAv5kXV2VjrlyJV0t+h5G\nZeKfpsjIiQR8CYpfs4PMiKbPmvPRi3nDCPAvrK1Awe5ErBYsV+x335IoYjzC\nKID8draeev8HQVePBpM9Y8KUvPmoda9nVn4sKIxQVPOAoYFxSZLBfO6D03XJ\nffd3BaXLqnjflojV1RSfOh3pZfC2ZNBdXyi4hlhwhEClwjDwF+MOVH35F9gS\nqBcs5uhDhIs7TTfeyFXGc69G+b3EIfZSFdcxZiMHB4bl+RXenmsLDYy3MtTN\nQnLJb72kEFRl7OCq1W8lppSzqcy1q0QHXHw+FBHskcbaA+JnbCVnIOZVLSM4\ns0nRs3HaOd+dH0LmmR2F4dRHYk068LWyj0/+9vCB4WXNkoMcDaG2hpVQGuVo\nbyXGFTKJk270f2B2/SFdSSETTHSAk/5n5HDfzoJPFwDyFdhH/uU/1XhtbCa2\nRW3vdfJ5ra+zKG2lA8MkEPkItFyV8j1Funxr6QG2DvGG9MhTeOO00b5cLwF4\nRhw2w5mfIfm6zSmo2e6gM6fVC3/TG6P5C09x0RqwWrUXkdgWtgkA6SakFsEM\ndzYv\r\n=M2Gw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF7vBKTAmzjlC1HfxX1Df2NlOq2z10SqqATtFrqa6eRBAiEAjqBVx5Xucc6M1LnyR4Z+sFSHMnu+9g2yq1ezuPzAckA="}]},"_npmUser":{"name":"campr","email":"rishard.c@hotmail.com"},"maintainers":[{"name":"campr","email":"rishard.c@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1638228952347_0.7587889474773313"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-29T23:35:52.293Z","1.0.0":"2021-11-29T23:35:52.493Z","modified":"2022-04-04T21:35:05.555Z"},"maintainers":[{"name":"campr","email":"rishard.c@hotmail.com"}],"description":"A mini clone of the [Lodash](https://lodash.com) library.","homepage":"https://github.com/Campr1/lotide#readme","repository":{"type":"git","url":"git+https://github.com/Campr1/lotide.git"},"author":{"name":"Rishard Campbell"},"bugs":{"url":"https://github.com/Campr1/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 @username/lotide`\n\n**Require it:**\n\n`const _ = require('@username/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* `function 1(head)`: returns the first element of an array\n* `function (tail)`: returns all except the first element of an array\n* `function (middle)`: returns the middle element(s) of an array\n* `function (map)`: returns a new array based on the results of the callback function\n* `function (countLetters)`: returns an object with the number count of each letter in a string\n* `function (eqArrays)`: takes in two arrays and returns true or false, based on a perfect match\n* `function (countOnly)`: takes in a collection of items and return counts for a specific subset of items\n* `function (letterPositons)`:returns an object of letters in a string with their corresponding index value\n* `function (findKey)`: returns the corresponding key name of a desired value\n* `function (takeUntil)`: keeps collecting items from a provided array until the callback provided returns a truthy value\n* `function (without)`: return a subset of a given array, removing unwanted elements\n* `function (findKeyByValue)`: scans the object and return the first key which contains the given value. If no key with that given value is found, then it should return undefined\n* `function (eqObjects)`: takes in two objects and returns true or false, based on a perfect match\n","readmeFilename":"README.md"}