{"_id":"@branha99/lotide","name":"@branha99/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@branha99/lotide","version":"1.0.0","description":"Lotide library of functions","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/bbha99/lotide.git"},"author":{"name":"Brandon Ha"},"license":"ISC","bugs":{"url":"https://github.com/bbha99/lotide/issues"},"homepage":"https://github.com/bbha99/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"5e77c2eec6f04955eec7cf0e8739824f2044fca5","_id":"@branha99/lotide@1.0.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-4rVjQGIX30J60ml/PdwPP4bjlidAICW26QX/lccUpgHsQ+eupgpswMbs4a8mjW8yIRjMvjQKUprw4zA8YexMkA==","shasum":"adf0867cde430718eda145a4bfdfeec6551df89c","tarball":"https://registry.npmjs.org/@branha99/lotide/-/lotide-1.0.0.tgz","fileCount":24,"unpackedSize":15922,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHiZGDz1R/Ooh876R0aQf0j/B1cPxQ7Y2Y5enItNktyDAiBgTpIs1rIHzQH4XjOoW6q/o6GgmQl/26uD4KOPRJmTOg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxlmDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqXSQ//c/JL0FE0WUclvNm8SaiAprVoCNEIJAQerZzYwzlT2OI1OlFM\r\ncRv71OCJy1DH1Jo7FfCKlclpLLfpfvq10i+vdpHdfwYG/2X9oP8v6/8hvARZ\r\ngv0wsSYoQlfHdThE4/INg2vU2+8fCxVncx70NtAoUv7w1LoFfk5AO1CLWqAl\r\n8SUgXnfr3QMMLRYVPDewZF7jWoKmO7R6XYFuAof1HloTMYCt32dhEYtGuUdC\r\nHcX9XB0Uj1d7dMvxAxjFBxG164fN8MwgPdRLjx/O84LytM9jebdiieaKD3sg\r\nuDHuGVYd2zD/UhrIIPF/IqYCywEe47NsBxg8xOY8EeDQUmLc35PBY4Z/NYPW\r\nyKAKkABQYHJMcSqItG8+GWuvWtE/IM22ao9xlpYWB8X/0CnaBzOtPRmhl2iR\r\nQs0hThLZzKYC0EMitIrzBEflmIb1/btkn+xWanfwIiEaiPq8x6pBVZjHwYlk\r\nW67QxsDrPK1VeColdeNaYkG2sA9s/2Nuu3ld6Yg90QfGzlKU2rhGPAo8NbEn\r\nypOYPIRZeUs1pBv9VP6RyLWnVrZUJp3P5XGMT7lDTe9qbCh67FlQ1LRsUpMC\r\nzPh9jZHx0qtXLMsKVZdmApaxQVt3OO74sczzG4odL7rhT1yAxXO+nbmVee05\r\nKG8kBevwCwAUvChCAK/0460ovGvfmJNQsVA=\r\n=LgRz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"branha99","email":"branha99@gmail.com"},"maintainers":[{"name":"branha99","email":"branha99@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1673943427534_0.9346025902829591"},"_hasShrinkwrap":false}},"time":{"created":"2023-01-17T08:17:07.480Z","1.0.0":"2023-01-17T08:17:07.712Z","modified":"2023-01-17T08:17:07.868Z"},"maintainers":[{"name":"branha99","email":"branha99@gmail.com"}],"description":"Lotide library of functions","homepage":"https://github.com/bbha99/lotide#readme","repository":{"type":"git","url":"git+https://github.com/bbha99/lotide.git"},"author":{"name":"Brandon Ha"},"bugs":{"url":"https://github.com/bbha99/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 @branha99/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* `function1(head)`: Returns the first element in an array\n* `function2(tail)`: Returns all but the first element of an array\n* `function3(middle)`: Returns the middle element(s) of an array\n* `function4(assertEqual)`: Compares two values. Returns true if equal and false if not.\n* `function5(eqArrays)`: Compares two arrays. Returns true if equal and false if not.\n* `function6(assertArraysEqual)`: Prints true if two arrays are equal and false if not.\n* `function7(eqObjects)`: Compares two objects. Returns true if equal and false if not.\n* `function8(assertObjectsEqual)`: Prints true if two the two objects are equal and false if not.\n* `function9(countLetters)`: Returns a count of each of the letters in a sentence.\n* `function10(countOnly)`: Returns a count of each string that appears with a truthy value.\n* `function11(findKey)`: Returns the property that has a value we are looking for.\n* `function12(findKeyByValue)`: Scans an object and return the first key which contains the given value.\n* `function13(flatten)`: Returns a single-level array given an array with other arrays inside.\n* `function14(letterPositions)`: Returns an object containing the indexes where each letter occurs.\n* `function15(map)`: Returns a new array based on the results of a callback function.\n* `function16(takeUntil)`: Returns a slice of the array with elements taken from the beginning.\n* `function17(without)`: Returns a subset of an array without unwanted elements.","readmeFilename":"README.md"}