{"_id":"@ashakir/lotide","_rev":"1-5ef95d919e987d445a9bd2b0a5c61e91","name":"@ashakir/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@ashakir/lotide","version":"1.0.0","description":"this is a project for lighthouse labs.","main":"assertArrayEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ashakir96/lotide.git"},"author":{"name":"Ammar Shakir","email":"shakirammar12@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/ashakir96/lotide/issues"},"homepage":"https://github.com/ashakir96/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^8.1.1"},"gitHead":"163a6ac1454aa1cb051cf50d955552aab3564664","_id":"@ashakir/lotide@1.0.0","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-lZ2oo3VpDrowvz8CKCbxnHfPdc2qohMNx2h3Ge9eai7EKFVqizaDL2kh3hW8zdirNzHHccD7N5IFk4WyWj46Ag==","shasum":"3ff64369df6f649b402cc1e591a23ed794c03191","tarball":"https://registry.npmjs.org/@ashakir/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":12154,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRDbACRA9TVsSAnZWagAALbYP/3Xbiiz8PjON3TFIZ7U0\nZlKjNUxJnKLis1pV7ieVCssR511DHAcKVnPJbq7lqxxPT2qQNMSlTxAHDiOD\njU67lTFCw7bwsJ9RY4AwsG+m07PrCOZhZ3kKABNipTTY4U4JaNXpxkBQcxw6\nKtVzxq1B6VHa/L6CmhARP0tGVjspIdX1AZKw8qSCKngWLCFhRGYH7nTLTHjD\nADc3nO7fZ8qyZpBESy0xIrtOG1GbKxpw12T4kZdjJ7J8GUVn8yBCpcdL/7Vz\nmmQ4XMvU6iCOaDIUNZcsDRkOgzH22rTbPaC/v2UzvrNARoUnOhy43NI7qZiW\n/9MTsWJJV/jYDX45d5hzEPBRSto98Fyk1LRVc4r3Egb6/s4LVGPdMJik/6lT\nrc4f1o6YrUh5i9D9wJipguxkedzKVAMgfeIHVCaZ85rxa6VZcfwLTY54KpDZ\n7TcrjWZYDf48Es7gDGjud1/x40oQT9TWobN0TWWSCStEbN4XomREGoyjIHHm\nPM0WrrkiedffQhCFyI5nfm38HHG8wZGYPaNEROdrDXsQoKPRqjI869OWwAuM\nlS1JzdzvKS/P001jsKl/380PC/9GdUbvGlWO+xvVcBNWhhWqNc7EMCK3qOd5\nwdJ+92Vi2v0gP5A4SpW5VM9+Zzx3sJM3pv63f9518t4DfcstSkkjYahcy+P+\nhNjY\r\n=dg/B\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDKtXPIduFnlCmhbu12YPSiFUAO5yNj5a8VlD62T0ScyAiEAuemW8mEJDXfCPYHDZFhxmJvgUvKCppKj13Vz7tqCa1w="}]},"maintainers":[{"name":"ashakir","email":"shakirammar12@gmail.com"}],"_npmUser":{"name":"ashakir","email":"shakirammar12@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1598305984412_0.2609389433961433"},"_hasShrinkwrap":false}},"time":{"created":"2020-08-24T21:53:04.367Z","1.0.0":"2020-08-24T21:53:04.555Z","modified":"2022-04-04T15:45:17.424Z"},"maintainers":[{"name":"ashakir","email":"shakirammar12@gmail.com"}],"description":"this is a project for lighthouse labs.","homepage":"https://github.com/ashakir96/lotide#readme","repository":{"type":"git","url":"git+https://github.com/ashakir96/lotide.git"},"author":{"name":"Ammar Shakir","email":"shakirammar12@gmail.com"},"bugs":{"url":"https://github.com/ashakir96/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 @ashakir/lotide`\n\n**Require it:**\n\n`const _ = require('@ashakir/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* `tail`: gives us the array excluding the 1st index ([0])\n* `head`: results in the 1st index of the array ([0])\n* `middle`: this will return the middle element of the array if the array length is odd and the middle 2 elements if the array length is even","readmeFilename":"README.md"}