{"_id":"@avantikathelearner/lotide","_rev":"2-99a82b4a688d66fd8eedfc8e12b87373","name":"@avantikathelearner/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@avantikathelearner/lotide","version":"1.0.0","description":"Lotide is a mini clone version of Lodash public library","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/AvantikaTheLearner/lotide.git"},"author":{"name":"Avantika"},"license":"ISC","bugs":{"url":"https://github.com/AvantikaTheLearner/lotide/issues"},"homepage":"https://github.com/AvantikaTheLearner/lotide#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.1.1"},"gitHead":"93f32066288317b11c54a27e74cd9ade24c62937","_id":"@avantikathelearner/lotide@1.0.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-bFFDe9j/Vr2zp9MjNLk6xEcputEyKhlDoCftJgA3KGfXJus/iC0ke8hQYBqIJXy7LgBK+sIvCcdMQQ87D8MsSQ==","shasum":"4414f2a72088b4802804ea0f95c59474f9d940fb","tarball":"https://registry.npmjs.org/@avantikathelearner/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":16641,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzGt7CRA9TVsSAnZWagAAvjAP/1duMTI8a4f4LD94Go27\naZpZJBznzoOqxd5qV8Ch5JUoIwMRO9L7q10N3mh4dqJaJAvloWH6rvOjgdkH\naKCsQBCEU8ITn3PKo4A/Xzo2TNZDFM1PJmaEKYpxU4TsdGIGy8GbINCcGFjH\nyw8rngr4Jx0USW0vo/GS5oWdg9HNdBI9Edb76H7h+KD1nyDYmzS9R0GhFvcE\n8TiSlinfkgD7bAhOUlHZiZlRDEJAS3X49bqM9uLPwr0IaS7R0J3dIw7CcpvB\nnlpKe67h2ZSc5uMsRi7Pn+dUnbTpIh1Ct2cV3vtARJ0/UETL8MGjFYdjFyLM\ntr1l9QGJpB1mikrNt0uUh1DNv04wuUcG7guXifDH391Dc+DE6I9mjnigWOLn\nSIiSGuseSkQmC8Ilcxjr5H5TYnu4dG2efkK11pHGUDwoWMBXIjX2HgfLhBeI\nSzmNKH8bG1Fa04E0lmVNBlN/k5DSYszuUedP1F2KFPtp1tkLp4w1A97TI2+W\nYh3nAxKfuwhhkbKouPl4c/5+ch9NjnOFXh2KEo1YrQPISX/dq8WAqzgQ66k+\nTzs+E0ewgmGcNDaN+wapy8wTNl06bozQwYqz5FkBq1rodCNMCaUd0sDv2mrG\n4oMvO1EjJRmmeFYV8ctzzIiNwEO0PUxNJhg4U04zzdQkzJgL5RvgCoplOTEd\nvUxn\r\n=jH99\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0rIeYlRKp6QPRK4dfqOi8h7pBOPhfa/0eZ3XLqCPTrQIgH6opUV3s0cnwCgKURjg7TygnPariTy8eVTZ6LAAi1cc="}]},"_npmUser":{"name":"avantikathelearner","email":"avantikaagarwaljhs@gmail.com"},"maintainers":[{"name":"avantikathelearner","email":"avantikaagarwaljhs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1632186346121_0.18724586298196377"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-21T01:05:46.076Z","1.0.0":"2021-09-21T01:05:46.272Z","modified":"2022-04-04T16:44:35.470Z"},"maintainers":[{"name":"avantikathelearner","email":"avantikaagarwaljhs@gmail.com"}],"description":"Lotide is a mini clone version of Lodash public library","homepage":"https://github.com/AvantikaTheLearner/lotide#readme","repository":{"type":"git","url":"git+https://github.com/AvantikaTheLearner/lotide.git"},"author":{"name":"Avantika"},"bugs":{"url":"https://github.com/AvantikaTheLearner/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 @avantikathelearner/lotide`\n\n**Require it:**\n\n`const _ = require('@avantikathelearner/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()`: returns the head element of an array\n* `tail()`: returns the tail elements of an array\n* `middle()`: returns the middle elements of an array by checking it's length\n* `assertEqual()`: asserts Pass or Fail after comparing the two input values\n* `assertArraysEqual()`: asserts Pass or Fail based on the comparison of elements and length of two arrays\n* `eqArrays()`: returns true or false after comparing the elements and length of two arrays","readmeFilename":"README.md"}