{"_id":"@bigwookie3000/lotide","_rev":"1-f3291dc8b8f96c71ac31f5d91cd399f7","name":"@bigwookie3000/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@bigwookie3000/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/bigwookie3000/lotide.git"},"author":{"name":"Ryan Williams"},"license":"ISC","bugs":{"url":"https://github.com/bigwookie3000/lotide/issues"},"homepage":"https://github.com/bigwookie3000/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^7.2.0"},"gitHead":"b60208bbf80001555a5054b728b83e7750a181ee","_id":"@bigwookie3000/lotide@1.0.0","_nodeVersion":"8.9.4","_npmVersion":"6.14.8","dist":{"integrity":"sha512-YFvTpnnZ296gBfKgbsufNVTrgzcDj4FuBzu5N9WGmvyaQtPf0t2cIE7EK1m9EXEz5onBJYE6++uvsnFgui1poQ==","shasum":"7878ddd7a6d42edc624f97eeba0751216bc7ea42","tarball":"https://registry.npmjs.org/@bigwookie3000/lotide/-/lotide-1.0.0.tgz","fileCount":30,"unpackedSize":21653,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfaV0UCRA9TVsSAnZWagAAE/sP/0+Ro7dP0/bkbA0aDjHz\nd1ABl5LFwhYPmZyvJq2yzaWE6MWVAMD5lejln+7yk+bmS7uhDnGF9jlXT31O\n5Yae9O7IVoJV63lz2dITiFKLc+Ixd2aNA5GKsWD86uOBLt9wGo0vPr5LiD4W\nxY4gYW0SZszaCfXliNruUVImFOdpAA4Sh/QPVwAfZaoOSHejCjzQ+TOTREkh\nHz+Uqger1lyENljbkck1Eom5xqmMd9wZpwPUP7dE/YWZUQYP2JxbN1HGeZ/U\nnSrlst8UYsx78c6chy5M1P9SRJpRDebdep5m1VDrZXB0Y1q9u8xrZMHrRr2n\njXzEDkyUVJq9JIoGEQ6eNnhSy1efWnY5xZyzQxBJjwAuuy57yIHYNzY5pqiT\nS7VeLFN7VhAedWfZXifD9fCFTBsvqBTzQ6h/n707dCkIKO/UgQuVusDxjo4J\n5O4IYTppf73MeAN6zCXu3dI+HRZXO0YJWU0uYxyMaBU34ir2sMA7YW7uRulM\ngaTfCvbtvRiOPgHTgBoqqSiIIr50W9RKnNeqqu2ggVsjS/V1Q1wUkNDX2Ca3\nL9Sz2LQpaK50uOMvGpI/lQh4EOK/5PDNDYImkQrgF1kKwYoloJe7x6Mdc0pd\nG5slJEBolWohWxrSvGYfw4cG2Hh3x33bF+SyM+AZ1vylXRQuWBJzPmdBiPhL\ng6Kb\r\n=0Kmc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDNA833r4s+EkHzNt7dR2nJ5r2yEyELCkorRYbUQwWPgIhANQ+KdcG6ALDUyYYOP8Nr0MVn0aeNc+JMq/3VCUdV74v"}]},"maintainers":[{"name":"bigwookie3000","email":"bigwookie3000@gmail.com"}],"_npmUser":{"name":"bigwookie3000","email":"bigwookie3000@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1600740627757_0.09208990686067242"},"_hasShrinkwrap":false}},"time":{"created":"2020-09-22T02:10:27.721Z","1.0.0":"2020-09-22T02:10:27.893Z","modified":"2022-04-04T18:47:33.293Z"},"maintainers":[{"name":"bigwookie3000","email":"bigwookie3000@gmail.com"}],"description":"A mini clone of the [Lodash](https://lodash.com) library.","homepage":"https://github.com/bigwookie3000/lotide#readme","repository":{"type":"git","url":"git+https://github.com/bigwookie3000/lotide.git"},"author":{"name":"Ryan Williams"},"bugs":{"url":"https://github.com/bigwookie3000/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 @bigwookie3000/lotide`\n\n**Require it:**\n\n`const _ = require('@bigwookie3000/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* `function1(assertArraysEqual)`: takes in two arrays, compares two objects and console.log an appropriate message to the console.\n* `function1(assertEqual)`: compares the two values it takes in and prints out a message telling us if they match or not.\n* `function1(assertObjectsEqual)`: takes in two objects, compares two objects and console.log an appropriate message to the console.\n* `function1(countLetters)`: takes in a sentence (as a string) and then return a count of each of the letters in that sentence. \n* `function1(countOnly)`: returns an object containing counts of everything that the input object listed. \n* `function1(eqArrays)`: takes in two arrays and returns true or false, based on a perfect match.\n* `function1(eqObjects)`: takes in two objects and returns true or false, based on a perfect match.\n* `function1(findKey)`: takes in an object and a callback and returns the first key for which the callback returns a truthy value. If no key is found, then it should return undefined. \n* `function1(findKeyByValue)`: takes in an object and a value and return the first key which contains the given value. \n* `function1(head)`: returns the first item in the array.\n* `function1(letterPositions)`: return all the indices (zero-based positions) in the string where each character is found.\n* `function1(map)`: map will iterate into given array and a callback and return the value based on callback condition. \n* `function1(middle)`: returns the middle-most element(s) of the given array.\n* `function1(tail)`: returns everything except for the first item (head) of the provided array.\n* `function1(takeUntil)`: takeUntil will keep collecting items from a provided array until the callback provided returns a truthy value. \n* `function1(without)`: returns a subset of a given array, removing unwanted elements.","readmeFilename":"README.md"}