{"_id":"@carmenluo/lotide","_rev":"1-4757be25674c8d0ad48a5fa75471d548","name":"@carmenluo/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@carmenluo/lotide","version":"1.0.0","description":"A mini clone of the [Lodash](https://lodash.com) library.","main":"assertArraysEqual.js","directories":{"test":"test"},"dependencies":{"chai":"^4.2.0"},"devDependencies":{"mocha":"^6.2.0"},"scripts":{"test":"mocha"},"author":{"name":"Carmen Luo"},"license":"ISC","_id":"@carmenluo/lotide@1.0.0","_nodeVersion":"8.9.4","_npmVersion":"6.11.2","dist":{"integrity":"sha512-d8wRunYFUhtiZWj39dq45AmlkQPIcRjX3JWqKMhFYmeMCExUSb24gZ1Off+JJoaiY4bJrJ1SkRYvLEkS/GxkSA==","shasum":"dec42d0214b9e481fb5cd566a3e9171eda67fd46","tarball":"https://registry.npmjs.org/@carmenluo/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":17441,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZPCxCRA9TVsSAnZWagAAt1gP/2fEqZYn/eEfbWNB1F90\nnoeHdYQ6NwW4HDDmV4E965MmbDkVsXr1XtKXGVXoyZnUews+ge7dnVMmEwHB\nqw4Ia2mE3K0RZAExaCnrqOQh0QUoJ+7ZBSYoh5cMyq06MikniotruJL8VSZq\nsJLFU/RGdfLrIOQL/F40TQROsY0pd9l6aBcnApHQfwgigOXzbOQ/kcgMjtjv\nxi9+LVfBoGMUoGkPESWjYkt108J/hZxwf1EpyZ/6/E4UHEU0+1iiSpQeE5gR\nFwClyjJufzFC8a0g2N4OZ+hCZobNb5ei75rsp7vHXAC6ubK044SjQ8RyEJb7\neBwp7n/FN+cuPyHZ/mGhNvxF4c3tIxRSzUK9ZZv4u0H0CHKq+It1fPcrEhg3\nIqamO93Ygqdc/qQ0JCcW95cM1q3JUmIJtyRcp8PJMW9zJ5I8/BBiVaeo/+Gr\n4rxEHHbDlFL0CgkDVPznt9Jmi0wgmqoL0B8GK6TePR5UdkyM2GDU02eKWaHX\nQS/iuevccXWNhAZjIr44PQDHX/FT3idn9DIm6IURnYz92kKfoAyF+WHe5uAl\n+JvKmIwI8SRKG91CHOpvHUT1b8AwRKM8P/g+NIhXjyQ5dUSHSs9qTEMyJmcA\nx2VXjeM6rO+x0VrBaYtAPQXkFKP7Q1VrLy+naA8Kq7uinzB4AXdffJj2RgKR\noiuY\r\n=a1ua\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAaUldk52q50Z1F7P8JScbIMuafEY9J0SQAffuaRF1QWAiAtY/PONaMoHCq9kn88VrK8nPzNJRTs12xByvGhRPAv1g=="}]},"maintainers":[{"name":"carmenluo","email":"sdluojm@gmail.com"}],"_npmUser":{"name":"carmenluo","email":"sdluojm@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1566896304776_0.22773249878392487"},"_hasShrinkwrap":false}},"time":{"created":"2019-08-27T08:58:24.560Z","1.0.0":"2019-08-27T08:58:24.877Z","modified":"2022-04-04T21:58:18.225Z"},"maintainers":[{"name":"carmenluo","email":"sdluojm@gmail.com"}],"description":"A mini clone of the [Lodash](https://lodash.com) library.","author":{"name":"Carmen Luo"},"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 @carmenluo/lotide`\n\n**Require it:**\n\n`const _ = require('@carmenluo/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* `function head(...)`: return the first item of of the array, return undefined if empty\n* `function tail(...)`: return the array items except for the first item\n* `function middle(...)`: return the most moddle item/items of an array","readmeFilename":"README.md"}