{"_id":"@amrhamada/lotide","_rev":"1-92083e0ffdd5331a8a8735ba4762af10","name":"@amrhamada/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@amrhamada/lotide","version":"1.0.0","description":"some common methods for applying them to arrays","main":"assertArraysEqual.js","directories":{"test":"test"},"dependencies":{"chai":"^4.2.0"},"devDependencies":{"mocha":"^7.1.1"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/amrhamada/lotide.git"},"author":{"name":"Amro Abdelaziz"},"license":"ISC","bugs":{"url":"https://github.com/amrhamada/lotide/issues"},"homepage":"https://github.com/amrhamada/lotide#readme","gitHead":"8dcef3f12c715d6a3adfca27599d7e59465a4df9","_id":"@amrhamada/lotide@1.0.0","_nodeVersion":"8.9.4","_npmVersion":"6.14.4","dist":{"integrity":"sha512-3yRzQEWkaZsk3wRdWTnRj3p0/yFRXqCO8COx4cmeJO36vmOKtNtB+o6OrYpUVyvQjC3Ag1yCE0X08cnU3QvNcA==","shasum":"ce69cc10c533422652f8728fe155a248b3d65330","tarball":"https://registry.npmjs.org/@amrhamada/lotide/-/lotide-1.0.0.tgz","fileCount":28,"unpackedSize":17311,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJei4VFCRA9TVsSAnZWagAARqUP/R1soETq581Y4s9X1DFF\njjzdUebiJ4DS6iXzKZ1vcEwVaOlFuxZUvyXSmp8FH0y253ufX5xLNop7/HJU\nGJnV5OVyVfXCWIsN8QeW4B6VsvhTGER68esCUZiOinAoVZ7seSn3c+yDd/d0\nPeseHx+L0klbJ2wlqU6PqyYUqn43TdzVyKYlmFSzyeYw6qT3lKSkKW0Ap7Zp\ntN8oSqXkuS5zQ9LyIj9yiTQZMmL89B2Uunp81BuqEguZceH4RxvqE9vlklBJ\nRkWzsbp9Os3sfezgCSjt5UefkzTI5XeNxOct7obqVRtfCinkoEVbYkBGALlQ\n/Yn7+y8B92d+V7IHNwoEEVeG9Pg4wPwnsJA3tX2teLz2Z2X8mh9Zzjep81Nf\nuSa0ofH9sKFGUG1JdMjfNgE8gglGh6DDXYqjk1e1gY3Z6wAtN6KzocWv4JRb\nrqRNMtpG+9VQkLd440qvxhzJ60kscrg5bX1e6QBsSaERp0yiHkMswV9dARA4\nc6+A16Wm8P7tT12CQtZBn0NqdWG1gY2mXCWZBYysFLjTthlqV/93V4keOvOE\nWCTFYyer1jBfDJggk36ULs9kKXIN7IY0OHE5yd+uWaRokG6oJKLbpAvj40KC\nBpqwUe8ED6jXjsBZOigCuOiBTQdgu4WMZzMAEnOlKzKvhavj3O4W8QgdhQOl\nIPVz\r\n=B7xz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFgGCWZi0hqbZIplEAaE0bPkJ7clLtwxvYEWAOE7gmQAIgX7RV4bxs1h5tLYSGdKQm2LN1fAr6ZB2ewyfICGSWI+w="}]},"maintainers":[{"name":"amrhamada","email":"amr.hamada93@gmail.com"}],"_npmUser":{"name":"amrhamada","email":"amr.hamada93@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1586201925282_0.03475698850134634"},"_hasShrinkwrap":false}},"time":{"created":"2020-04-06T19:38:45.041Z","1.0.0":"2020-04-06T19:38:45.447Z","modified":"2022-04-04T13:53:00.304Z"},"maintainers":[{"name":"amrhamada","email":"amr.hamada93@gmail.com"}],"description":"some common methods for applying them to arrays","homepage":"https://github.com/amrhamada/lotide#readme","repository":{"type":"git","url":"git+https://github.com/amrhamada/lotide.git"},"author":{"name":"Amro Abdelaziz"},"bugs":{"url":"https://github.com/amrhamada/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 @amrhamada/lotide`\n\n**Require it:**\n\n`const _ = require('@amrhamada/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 first element in an array\n* `tail([])`: returns the tail of array. (array excluding first element)\n* `middle(...)`: returns the middle element of an array","readmeFilename":"README.md"}