{"_id":"@cvaghasia/lotide","_rev":"1-f877b482cdf0515935f4dee6336801f9","name":"@cvaghasia/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@cvaghasia/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/Chand-11/lotide.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/Chand-11/lotide/issues"},"homepage":"https://github.com/Chand-11/lotide#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.0.3"},"gitHead":"59f68e7c81ed8a58fb6d4f2c1640034b5fe65753","_id":"@cvaghasia/lotide@1.0.0","_nodeVersion":"12.22.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-gfFQcej8JQ0T8yDj/IkV1q7IWhOqiEuMkOJ5tGbq0+1INzSJSArPKFleOToH/QO+LoZ8w3nPJT9WvA+Ft2Uwqw==","shasum":"42163305ce4ee8c4f50cda8b9cac8a621193c1f0","tarball":"https://registry.npmjs.org/@cvaghasia/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":18625,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhAAGBCRA9TVsSAnZWagAAEngP/3eJWO+2uyF8ZvhCjAfz\nLrDesq8Kg6/+8zpd54dZzD3kJ02EkxlEnlW8GUQhD2jBFnY5yTe8FidfDuJu\nUMJZp4kaDhF2Xswa4Ahuaydvt7X8I1qcQnyYorXtynyyLXspP7RXOQ0IrIhJ\nCWLCyslPgqggsDcfHLa5EbkBMNFPXA3R2yPFiHZKGe6fKv5lIjQpqOI49r9c\nurLDhv3lDpHCjrXhoPYMgSEsS0Fks8vGveipYDYw8aEZbLM/Hl6jepIVDemq\nStYd1Pl6OKTCV//7A9kRm2EG+jYydx+brQlpkTYP3gLBq5PlSxlJ5bgFa08H\nGCy1WQJVp2QFRC5LuTtMMV8g/vjRizrhRZmtqadvbWloeLPVPvLT8lHDw5dB\ndNwsKkecr6VrIhUwMChdix2uhxTt2NGWt+DiRk9O+DwsMk59qKqzXfo/va8W\nuwKtafw3FKzKgEYwrDFhaaJHUhMv3oB2fUIO9hVuPc3XWqvgNjMyXrK16Mf3\nAnz+cE+cfurLchh77/FNHy2hw/bOy1mCeFRUK8z6d1jwWoSlEpDPU5IhRoT6\nUa7E/kbDsS4ltdsfuajVQKRoDwq4cr74anAS9Wgu1C+fMIL7i7Un/SKHBgVt\nmbldi2G6ruv+jL9w1LKPCQb2QFFsXJr+oDLgMHh3u5YqZmNredbgIewnmWlg\njAco\r\n=rGNM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCl3s5cs/es1tJ/Ac8JmspgAYfNF8KhsiTtUpSfpwZtAgIhAMYA69ikinWa8Vl6gAUE+ONB4hU2J5r+lLC/flWZOzm2"}]},"_npmUser":{"name":"cvaghasia","email":"chandnivaghasia11@gmail.com"},"maintainers":[{"name":"cvaghasia","email":"chandnivaghasia11@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1627390337266_0.6696715918180469"},"_hasShrinkwrap":false}},"time":{"created":"2021-07-27T12:52:17.173Z","1.0.0":"2021-07-27T12:52:17.379Z","modified":"2022-04-05T02:22:00.497Z"},"maintainers":[{"name":"cvaghasia","email":"chandnivaghasia11@gmail.com"}],"description":"A mini clone of the [Lodash](https://lodash.com) library.","homepage":"https://github.com/Chand-11/lotide#readme","repository":{"type":"git","url":"git+https://github.com/Chand-11/lotide.git"},"bugs":{"url":"https://github.com/Chand-11/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 @cvaghasia/lotide`\n\n**Require it:**\n\n`const _ = require('@cvaghasia/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`: Finds head element of the given array input\n* `tail`: Finds tail array of the given array input\n* `middle`: finds middle element/array based on input array (even/odd)\n* `assertEqual`: checks if both input and output have a perfect match.\n* `assertArrayEqual`: it takes in two arrays and prints an appropriate message to the console.\n* `eqarray`: finds middle element/array based on input array (even/odd)\n","readmeFilename":"README.md"}