{"_id":"@aimanaaw/lotide","_rev":"1-3f323c4eb636a76ba3a4eda26f55815c","name":"@aimanaaw/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@aimanaaw/lotide","version":"1.0.0","description":"The functions in lotide","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/aimanaaw/Lotide.git"},"author":{"name":"Aiman"},"license":"ISC","bugs":{"url":"https://github.com/aimanaaw/Lotide/issues"},"homepage":"https://github.com/aimanaaw/Lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^6.2.0"},"gitHead":"74c633335a0397c6214e9efc273374ebb082a052","_id":"@aimanaaw/lotide@1.0.0","_nodeVersion":"8.9.4","_npmVersion":"6.11.3","dist":{"integrity":"sha512-8pYEeJaDNiOfz4uOvtnMJwLv2G6N+ax/lZaMK38bQaNq4bDwyH8EexsIbPjqtVAWXUdG0Gu2tWx/3a8h0Uijgw==","shasum":"b071f258d70804c29913e21ff2f62906192b52c9","tarball":"https://registry.npmjs.org/@aimanaaw/lotide/-/lotide-1.0.0.tgz","fileCount":27,"unpackedSize":18786,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdiT8lCRA9TVsSAnZWagAAvQQQAIxHjbdocJAA006J8eNa\nRkCRVsULoTmqns4KZEk6cVSTQyRIQqDQQdMn7WwpNkf+lgZHETjoxZqKU+AU\nsio617JmgbtuO5jr3dmYrbHFitBfIuYsO6OhS5LH4sEDfGGjlf2acek8yxpI\nWc+jQSuLjR9obHUt/Cwj0LJNVOOiz78SErCGgTvXbUPrbJsaChSoLpaW8ryX\nVK5absfoqlEvzggGtkdvPDBueiBSN4Wq0U91Z2N0U4jFzXSgadMvqVzVWTa6\n8jgGwbJU02r8TmAPUyTkntEbefQRlTqEJZfQ4G2fwLJZ9YNIBP6dqT7x88Ay\np9Wd3VQFyJE27MO2QOlwlLwY0wowVOrh0IQtLriJcEnU2jaQGZ8sX0+Ge/r5\nDYkn9D18/CMieJns+hkGgYERHHXgvMj4YIlrCuT0ngqbXKqHFdvoKKFjP9nh\nrPXEh3yvB23JOY7r/rXllWg1hVLETvRh6BBkJ6qxvZ9R02zeovNvZ3ko8bXx\njBFEF9z2yw50dbr1/f5/BY1jlI51TJOngRABbb9soNTT9w39TD1x1WDv2BQg\nU3xH9R1tsBt2F8WlynxFOWBdiFbylfpi2fbAzak+73Nf0vkE1yNrS0fSBAwN\nKlqLMUg50Nh79Xi++6QbxuqesXwiE7YpGfqSMXcRh6xAXtcO/y6WvGWerP2p\nNTFI\r\n=jkid\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgQp0A7dWLgil7wgQLz+WS9rKfIOtQ8o7xq9uk3uxlowIgJesOOtp6qAcO4OIwdDinvtHt2Q/nnSU3a4ssE+GSGtU="}]},"maintainers":[{"name":"aimanaaw","email":"aimanaaw@gmail.com"}],"_npmUser":{"name":"aimanaaw","email":"aimanaaw@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1569275685259_0.6669407384671564"},"_hasShrinkwrap":false}},"time":{"created":"2019-09-23T21:54:44.977Z","1.0.0":"2019-09-23T21:54:45.433Z","modified":"2022-04-04T12:19:06.707Z"},"maintainers":[{"name":"aimanaaw","email":"aimanaaw@gmail.com"}],"description":"The functions in lotide","homepage":"https://github.com/aimanaaw/Lotide#readme","repository":{"type":"git","url":"git+https://github.com/aimanaaw/Lotide.git"},"author":{"name":"Aiman"},"bugs":{"url":"https://github.com/aimanaaw/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 @aimanaaw/lotide`\n\n**Require it:**\n\n`const _ = require('@aimanaaw/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 an array\n* `tail`: Returns the tail end of an array (Tail end of array can be modified)\n* `middle`: The middle value of an array if the array has an odd number of elements. This function shall return the middle 2 values of an array if the array has an even number of elements.\n","readmeFilename":"readMe.md"}