{"_id":"@chase78712002/lotide","_rev":"1-3d501f77a49f45d417f8646164268b99","name":"@chase78712002/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@chase78712002/lotide","version":"1.0.0","description":"a clone of Lodash library for learning purposes","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Chase78712002/lotide.git"},"author":{"name":"Alvin Lin"},"license":"ISC","bugs":{"url":"https://github.com/Chase78712002/lotide/issues"},"homepage":"https://github.com/Chase78712002/lotide#readme","devDependencies":{"chai":"^4.3.4","mocha":"^8.3.2"},"gitHead":"e840d49338482cdac800d8d7512d6e069fa56b5d","_id":"@chase78712002/lotide@1.0.0","_nodeVersion":"12.18.2","_npmVersion":"7.8.0","dist":{"integrity":"sha512-CN+HICUbKOVecCjjjJowZvSJS8WwEWHmwVEdC26xvyw/i/IF+/1MRz7mmM8fLbcBZxSeGftm4lnfB6eCmX8lww==","shasum":"23d38b3eec9392453ed4effdc50385c054037dca","tarball":"https://registry.npmjs.org/@chase78712002/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":20712,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJga8HZCRA9TVsSAnZWagAAr9UQAKMpiXI6pE/krkNBh5ZH\nRGdAuQ0jrZEv/mGOx6YHGDGtd+j4yGrQ2RGnMJeYx2wBUmoViK1SyWrmiqld\nWaqV0mjN2ztS6KBtENYLmqWIqQlF8NxLn91he1+cjU8OA2SQEwaLdWXbQfB6\n3hQjms/hXol22WONtqHhvmPlSgqn/BwLBVS3CU6bHaOQ9U+US7mKTnghRNz7\n2pe3OTJcHWZC16jrhWuoLxryCBVDHEdEjPQ3SUFvbus2zd4iIfc8YWOacTLO\njrtPVKf8REZ5th35qODB6Abb/s9G/zeY8XTx/jsszRELnVxnEPwTkUfFxBuT\nCA37iAJ+0Vg9aC1bP2fyeBH5tHLZpe6SryAxstdmX6m82NSHcJg82XnJD0Rr\nTjnr1MSxgABRnZbqsQApP/AKLvHlYe3OInwHuQMxuckIgr1c1XAaTtFfpi5U\nXcVqSB6Hn9+c5vOX4fpvfSFs2afoXou+1c9v8cxCkUUKJ+VjSDSaqM8scpFs\nZwlrIWLnjlWalu/od7uuZlBTjkeM7GkaxwyNyYKPy11GpPPw9fWNhw88+CrW\nNJgRmBHMzxoPHmtC+ak1EHGUg4D5rtWtZ45smmsx9JtSYBWyYUFS5WH2GrvT\nAocjfdFLgtToUMh3o0dEcNXbz5cqZ+OnB+JU/Uf63UME1Ku5SHZ3JNZGglNF\nnQBo\r\n=m0wA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4b1icUPdWkaUNeIYkcdeCKylyqcNBtB9rn+LeAqkW2wIhAI1khH4L2QhwKR3E+wRswTSAjrDpc44sh+qnTFF1K960"}]},"_npmUser":{"name":"chase78712002","email":"alvinch.lin@gmail.com"},"maintainers":[{"name":"chase78712002","email":"alvinch.lin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1617674713557_0.10722000858613057"},"_hasShrinkwrap":false}},"time":{"created":"2021-04-06T02:05:13.505Z","1.0.0":"2021-04-06T02:05:13.701Z","modified":"2022-04-04T22:33:03.979Z"},"maintainers":[{"name":"chase78712002","email":"alvinch.lin@gmail.com"}],"description":"a clone of Lodash library for learning purposes","homepage":"https://github.com/Chase78712002/lotide#readme","repository":{"type":"git","url":"git+https://github.com/Chase78712002/lotide.git"},"author":{"name":"Alvin Lin"},"bugs":{"url":"https://github.com/Chase78712002/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 @chase78712002/lotide`\n\n**Require it:**\n\n`const _ = require('@chase78712002/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(array)`: it takes in an array as an argument, and return the first item in the array given.\n* `tail(array)`: it takes in an array as an argument, and return the all items in the array except for the first item.\n* `middle(array)`: it takes in an array as an argument, and return the middle item in the array give. If the array length number is even, it returns two items in the middle.","readmeFilename":"README.md"}