{"_id":"@dhnascimento/lotide","_rev":"1-c1b3d8b550cf0a34d7fff2bd7f0824b0","name":"@dhnascimento/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@dhnascimento/lotide","version":"1.0.0","description":"Lotide Lighthouse Labs assignment","main":"assertArrayEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/dhnascimento/lotide.git"},"author":{"name":"dhnascimento"},"license":"ISC","bugs":{"url":"https://github.com/dhnascimento/lotide/issues"},"homepage":"https://github.com/dhnascimento/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^8.0.1"},"gitHead":"20b4fcb6110ce30b44382e4bcbea01e020f328a3","_id":"@dhnascimento/lotide@1.0.0","_nodeVersion":"10.20.1","_npmVersion":"6.14.7","dist":{"integrity":"sha512-OKCXmDKF5+bBM5LEMqPPECOZ5BwXgGMX0myRGeJge/+7NWGm4ZCN1KAXogkf6uOP4/9prUWwQAVYik6z1X8Biw==","shasum":"4cec2dbc9d49dac4c9509b64beab37c0b00d27e8","tarball":"https://registry.npmjs.org/@dhnascimento/lotide/-/lotide-1.0.0.tgz","fileCount":27,"unpackedSize":20617,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfH0J5CRA9TVsSAnZWagAAzU0P/iWiPIer4r5QUJ1PrGly\n1qBWwXIbqj4w8pmRGpRqmqcIS4zjXPeGgCu+3v1lzPTBlCO3DTM6PtNoFpNE\nPl+uIa4B+GzKuxBG6BzeFuetyukRZAqE67REEdE7msxAkymw7CC17rtO3fYt\n5jMFLhoChFQcT6ujF0/O8C4NWcEBxwsZ6JsdJLLAHcTpc5A5LQCfw2aqGdVl\n3VoWMN8ofMq4PymCVnnhSM13rMKyQ/7lROV6hw/B+DDtTjRQ5nvj+oSyfT/5\n7mkZ8NjbrPGF3Vgn3WzVL02yB5QeHC8OzW4oWahAC360fdvc8x76w+r6dUql\nNcv3Q1goHNa1FKNz1WRiBFuFUNRpD272JFvamM+T9moBXyIeldkFBpyhieK2\nJiiv1wW5xoET94GjCL6eoGjIngyggxJC3SF9fjvi27T8OPaq/t6BmFNCCkAK\n45GTJWJzmZY5R18DK3gCMADYJLNHHhi+U3CVpk1VJbesLya/3AS/JyTKaPvY\nQGalBOu7zYHvo40X1yt2iAGGtKcbNtXBbfWBe0zLzXa5CL8oLM6RvN0KDXl7\nWaL6iViSbtaf0M05S0epKrDCg3i58vOxrqgx4K4gol8XXF7TjulOCmWXmFbd\nT3uNsZOeEPcQdE1R+3eyxMSC/mS6wLIZ0XYiIFKereRbswbR5hcvgMUaADC5\n+eqy\r\n=WPRT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJBYt3e1k06JXnEHtzAZ3EFi8geQBi0KEnZTIIO2MADwIhAK+EQls6Zun0we7fEAdRphiwsEn5Y1KEdV8OIbsNIAC0"}]},"maintainers":[{"name":"dhnascimento","email":"danielhn@gmail.com"}],"_npmUser":{"name":"dhnascimento","email":"danielhn@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1595884153380_0.34470985713965563"},"_hasShrinkwrap":false}},"time":{"created":"2020-07-27T21:09:13.345Z","1.0.0":"2020-07-27T21:09:13.550Z","modified":"2022-04-05T04:20:46.372Z"},"maintainers":[{"name":"dhnascimento","email":"danielhn@gmail.com"}],"description":"Lotide Lighthouse Labs assignment","homepage":"https://github.com/dhnascimento/lotide#readme","repository":{"type":"git","url":"git+https://github.com/dhnascimento/lotide.git"},"author":{"name":"dhnascimento"},"bugs":{"url":"https://github.com/dhnascimento/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 @dhnascimento/lotide`\n\n**Require it:**\n\n`const _ = require('@dhnascimento/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* `head(array)`: Returns the first element of an array.\n* `tail(array)`: Returns a new array  without the first element of the input array.\n* `middle(array)`: Returns a new array with the unsorted median of the input array.\n* `assertArrayEqual(array1, array2)`: Compares the first array with the second and returns a message telling if they are equal or not.\n* `assertEqual(value1, value2)`: Compares the first variable with the second and returns a message telling if they are equal or not.\n* `eqArrays(array1, array2)`: Compares the first array with the second and returns true if they are identical and false otherwise.\n* `assertObjectsEqual(object1, object2)`: Compares the first object with the object and returns a message telling if they are equal or not.","readmeFilename":"README.md"}