{"_id":"@asalim-ca/lotide","_rev":"1-074e7e6600e9036905404514fb14897d","name":"@asalim-ca/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@asalim-ca/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/asalim-ca/lotide.git"},"author":{"name":"https://github.com/asalim-ca"},"license":"ISC","bugs":{"url":"https://github.com/asalim-ca/lotide/issues"},"homepage":"https://github.com/asalim-ca/lotide#readme","devDependencies":{"chai":"^4.3.4","mocha":"^8.4.0"},"gitHead":"db848769865f06f449251c34ca555b2d68cbfe33","_id":"@asalim-ca/lotide@1.0.0","_nodeVersion":"12.22.1","_npmVersion":"7.15.1","dist":{"integrity":"sha512-SWZkvZ+1s7sDlHNfwKmArNZaf0AHA9rgj/kHLjfo+93+Je9jyykYCzvu+c3rlBBMN31GM4gjGwkl4nTSKSpPKw==","shasum":"fb9dbc447928fcc4fd4dd372b2a477e199a9d8d6","tarball":"https://registry.npmjs.org/@asalim-ca/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":12206,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgtbS7CRA9TVsSAnZWagAAHRAQAJOnepQ8J3Wu4jwbGp2D\nWpfXEJfDIeN989iKh8Weuv4fAiEaDR5LnRD3WJpTbq+mGgE+Qg7nE/vZxWv5\nBAnmbiHAthR287TGgGO1oezsHAUEg81qKZnYD04YyWd/WITpcjG8ySDSidnz\n7b5Zq94aqhp0pZ0qi70xA7BxuJssGjxoSFt1WjoPPFgvYxToKyi4xcqVFcvX\n79h1cY33Wlqbdg23HD7xe7fUefCo3N5Hm1Tjg5SxNjzKoWoB+YKVwcX/wp+5\nonvvFK6ztqKaLqV+jN8hAqoHjL4G9gdltwAUke65o9O1O3IGe84ME7JLkHhF\nboQApr6mRGFMopMTVHk5jhpZjRx2+UT71XFSEJqXdEcbn2pWoD0Q9uPnUE+G\nVqVZQXURTEO/7QDEP1cUt4FIwqSR3NdKPdNJ8DWH0e2I5YHaY/0M1MK3Tf3J\nTbJn76sYB+DtqnCv4iZYmgDGYsiae067GbbC5sRWrCM4L3XLLzXvkx4Sbwt1\nNklahxZBXR0ZxQaL68oYf7jEcv8KzhW7Z4CErtxbzuujT5lnLjIFDnVQnJMv\nBR45XJF77NIteM6MByeIhq8LJwDGFpsg7EhHn2JULSk9GVhQCIR9p8I005QB\nqx5vUoL49QL9J+C/xhyLX+6UNUM7n7PnxADnxm+ih5KdHUNFz7NGAYY/ifIK\nTJTi\r\n=Yin7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD46hyQQk3upWqALjQpnCMLhVD9ghe9+eq+ynNcc86eKAIhAKTGAn/cogAz8pXWsUmOj8l+1s/P/Gznz9a47FUmqctW"}]},"_npmUser":{"name":"asalim-ca","email":"alisalim.ca@gmail.com"},"maintainers":[{"name":"asalim-ca","email":"alisalim.ca@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1622521018877_0.8871441205540858"},"_hasShrinkwrap":false}},"time":{"created":"2021-06-01T04:16:58.809Z","1.0.0":"2021-06-01T04:16:59.008Z","modified":"2022-04-04T15:42:19.698Z"},"maintainers":[{"name":"asalim-ca","email":"alisalim.ca@gmail.com"}],"description":"A mini clone of the [Lodash](https://lodash.com) library.","homepage":"https://github.com/asalim-ca/lotide#readme","repository":{"type":"git","url":"git+https://github.com/asalim-ca/lotide.git"},"author":{"name":"https://github.com/asalim-ca"},"bugs":{"url":"https://github.com/asalim-ca/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 @asalim-ca/lotide`\n\n**Require it:**\n\n`const _ = require('@asalim-ca/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 first element of the array.\n* `tail([...])`: Returns the array without the head.\n* `middle([...])`: If the array has an odd number of elements, returns the element (array of a single element) on the middle, if in the contrary the number of elements in the array is even, returns an array of two elements in the middle.","readmeFilename":"README.md"}