{"_id":"@byuno/lotide","_rev":"1-85739607a1301f71d88b5a66d5016855","name":"@byuno/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@byuno/lotide","version":"1.0.0","description":"Lotide project: A mini clone of the [Lodash](https://lodash.com) library.","main":"assertArraysEqual.js","directories":{"test":"test"},"dependencies":{},"devDependencies":{"chai":"^4.2.0","mocha":"^7.0.1"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/byuno/lotide.git"},"keywords":[],"author":{"name":"Bobby Uno"},"license":"ISC","bugs":{"url":"https://github.com/byuno/lotide/issues"},"homepage":"https://github.com/byuno/lotide#readme","gitHead":"cf47947bf51bea597e9b736c67c762e83de922e1","_id":"@byuno/lotide@1.0.0","_nodeVersion":"8.9.4","_npmVersion":"6.13.2","dist":{"integrity":"sha512-jCZNj03R7aVqDFKk7NC2r2I9QKCBDV96yw18Sf6N/UMw3g1OZTidXQkJAHJKIPbXwyl9TXk6OgsRjt8fz68Y8Q==","shasum":"6c2619df097e9445751fd4bb70677c3aeb19a1e8","tarball":"https://registry.npmjs.org/@byuno/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":20635,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeQh0bCRA9TVsSAnZWagAAk3gP/2veO3qJTWTVoYpwTyJv\n9G4CeC6JR8TbiZwJ3JBNYY3Cd8vHbXInKnPrcx6Nh3Y9S1Mb4ONRVzek6WsF\noN/EtUXqktIHCcQ3ioZ1VCte2viNK2E43RBlhs6klUlj7ctf5nULWous+9xF\nqv4bkWMJZT5vDbNGTw8pcDqB1P4K5YhjKEAi1gs2n0nC81d3h1sTeadPen9W\nPd9GbcBRko7Ze6t8w7PxvBugCiFR4mRZBImkfQrb5bIekO/DN96wwjhF9rhw\nCfPvJlJyPd7uVPkrP3ybY2zCvNLaxckpmaaEEor57qDyuU1BnytHywFwuT/O\nuRa2C9l7odcmHkwV0mppJ1zBjvtURtP2XWBXjGBcnw6N+0RCfu5El6iNxDxT\nNn69k4MPbGJs+D/ozW/LPRM5/sx4mL+tzQKOFrwVimUhH61h69vPLtGp4xF6\ntwHXhnhaBqWDvfJ+T5t+rIVH4qHDgFlcGsQqmcBBnE7t9WPz7EC+ZxEjZG0N\nw88eLBVMrxPIhrLQfwvfHyHMJ9x3v/jdXQpoJig9aLwBqHxJ65tJFVo5oRhC\nd5SiXxV+REjgK0vqPgHwMLcc5Qi2SClARhpBdvnYhAfeiIAlEtZuxDztqNiI\nsQHdO7nMVA3s5u7iAmy2s48/UCNDOSCLTf4vKgfLBEwhVk/FVUBSusxxColL\n+JbD\r\n=TzjK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBEL8BZgzwB+ElXxkEGLQ1t7VNvfOI3BIKTLQw4IXqrEAiEA+dcPEAqWF4Hhb0cEcfUfq6mrHncT7ydpkB0HWRECSRU="}]},"maintainers":[{"name":"byuno","email":"robert.y.uno@gmail.com"}],"_npmUser":{"name":"byuno","email":"robert.y.uno@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1581391130685_0.47100226596456807"},"_hasShrinkwrap":false}},"time":{"created":"2020-02-11T03:18:50.656Z","1.0.0":"2020-02-11T03:18:50.830Z","modified":"2022-04-04T21:23:18.761Z"},"maintainers":[{"name":"byuno","email":"robert.y.uno@gmail.com"}],"description":"Lotide project: A mini clone of the [Lodash](https://lodash.com) library.","homepage":"https://github.com/byuno/lotide#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/byuno/lotide.git"},"author":{"name":"Bobby Uno"},"bugs":{"url":"https://github.com/byuno/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 @byuno/lotide`\n\n**Require it:**\n\n`const _ = require('@byuno/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* `assertArraysEqual(array1, array2)`: asserts equal array types\n* `assertEqual(actual, expected)`: asserts two values\n* `assertObjectEqual(actual, expected)`: asserts two objects types\n* `countLetters(string)`: counts the number of letters in the string\n* `countOnly(allItems, itemsToCount)`: counts the specified items\n* `eqArrays(array1, array2)`: determines if two arrays are identical\n* `eqObjects(object1, object2)`: determines if two objects are identical\n* `findKey(object, callback)`: return keys based on property value\n* `findKeyByValue(object, value)`: returns key in object by value\n* `flatten(array)`: flattens input array\n* `head(array)`: returns the firt value of the array\n* `letterPositions(sentence)`: returns the index of given letter in a sentence\n* `map(array, callback)`: returns a new array based on the callback function\n* `middle(array)`: find the middle value of an array\n* `tail(array)`: finds all but the first value of an array\n* `without(source, itemsToRemove)`: removes items from array","readmeFilename":"README.md"}