{"_id":"@abeljlim/lotide","name":"@abeljlim/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@abeljlim/lotide","version":"1.0.0","description":"A mini clone of the Lodash library.","main":"assertArraysEqual.js","directories":{"test":"test"},"dependencies":{"chai":"^4.3.7"},"devDependencies":{"mocha":"^9.2.2"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/abeljlim/lotide.git"},"author":{"name":"Jacob Lim","email":"abeljacoblim@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/abeljlim/lotide/issues"},"homepage":"https://github.com/abeljlim/lotide#readme","gitHead":"c1d6325a160ce74da025c1f2042cfec59d00177c","_id":"@abeljlim/lotide@1.0.0","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-Vo6Q3NxMhmCHmmCRuzGA24xMRQvwENBNhs78w8Y5+6NbCaOZ1HgH+lHyabIi1i3CKOrEqm4KW92uGLsuG6kBjQ==","shasum":"a0419a1b138733ff8c06255a8f4b4c0dc9e656ad","tarball":"https://registry.npmjs.org/@abeljlim/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":40321,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFj00zbc5wG906oLwstDBrENI8/n/cZffIcdQ3XrMQSIAiEAwg1BXeR7qSVnfKPW47o6CLYqyvFZ6RfQ090MFjFsApA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNNNrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrmlxAAnRXDVG1+FONPQDbCZtzBXmDfkJsdVhBbVFohjLoug5ECjkmQ\r\nVECk1CdewJ5V1fZ3KX4Rg2IwPdqfKwOgmXq8dAh73V2QjRnHEDKA12mpnWmE\r\n3tIkzOpiNkgmwa8ZEJ6iymocjSI9Z2QwTjLFkssJnpNJUApUleFdTnzUqwAO\r\n1B3V+JeGvtVec7Ko2BCgsQX4rsgHwKUP1dwrPF9yoZnTYyW5JEsxaic2OoqK\r\nHrBwSwQN/x6KpLUH9wp2DwuKiCcUDtBOsNdvESSoVoxZsqjOyV8d+9JHDdvj\r\n2/qf7lxiMO5KYF9xUki2LipVv/1l/LP7qWu1Q5dRSKHlk1ZP7Re1XOvSXT7E\r\nq1bmuIuajDxo9TaM8HzzBa29e5MCZq+UFSH1e6ohRiv1C6QegfxVlir6/++d\r\nKyiNBpWpmO55eUFpHP2gffn5iWD9otaOA/P5f6EQREhNbio3kIZsBCQ/7Yga\r\nmM8ZwKNBFrvxZGEdRm080PI2pKNYhTP0RkssTRommZvdU+UArQHHsR4uojco\r\n5sF8jJ6pQ3ad6HIuD1Xz+U4Xhq8t4pih4lp9IVHbVtT+wYe4xyFI9VJSnG9V\r\npxwEhk8WXrBxi2Xzo+VnQRmnrZmoo0h7g/9g25aPIF70A+N+dS1dhHIHHnQm\r\nbP7/q9xr56yj7LdaK1adg+4ZTLY3B/MiddI=\r\n=2PZo\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"abeljlim","email":"abeljacoblim@gmail.com"},"maintainers":[{"name":"abeljlim","email":"abeljacoblim@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1681183595595_0.02266632067330754"},"_hasShrinkwrap":false}},"time":{"created":"2023-04-11T03:26:35.542Z","1.0.0":"2023-04-11T03:26:35.876Z","modified":"2023-04-11T03:26:36.052Z"},"maintainers":[{"name":"abeljlim","email":"abeljacoblim@gmail.com"}],"description":"A mini clone of the Lodash library.","homepage":"https://github.com/abeljlim/lotide#readme","repository":{"type":"git","url":"git+https://github.com/abeljlim/lotide.git"},"author":{"name":"Jacob Lim","email":"abeljacoblim@gmail.com"},"bugs":{"url":"https://github.com/abeljlim/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 @abeljlim/lotide`\n\n**Require it:**\n\n`const _ = require('@abeljlim/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(arr)`: returns the first element of the array\n* `middle(arr)`: returns an array of the one or two middle element(s) of the array\n* `tail(arr)`: returns an array of all of the elements except for the first element\n* `assertEqual(actual, expected)`: displays a line indicating a pass if the value of actual === the value of expected, and a line indicating failure if the value of actual !== the value of expected\n* `eqArrays(arr1, arr2)`: returns true if arr1 and arr2 have the same length and have equal values in all of their elements\n* `assertArraysEqual(actual, expected)`: displays a line indicating a pass if eqArrays(actual, expected) returns true, and a line indicating failure if the value of eqArrays(actual, expected) returns false","readmeFilename":"README.md"}