{"_id":"@a25osman/lotide","_rev":"2-9156b8280309a0ba7382807f331b4b9f","name":"@a25osman/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@a25osman/lotide","version":"1.0.0","description":"various general use functions for js","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/a25osman/lotide.git"},"author":{"name":"Awab"},"license":"ISC","bugs":{"url":"https://github.com/a25osman/lotide/issues"},"homepage":"https://github.com/a25osman/lotide#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.1.3"},"gitHead":"69ca6f82fda619c222ed0d9a2c68ff5889ee6067","_id":"@a25osman/lotide@1.0.0","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-0d7BBZAFPrVXUtQol6pO/SzMGmM4MPTdycc7j5KLJ0lI8vYdK8ExF/DxBE2QYcdTMYJbuCKdzHJuI9yrjW4R2A==","shasum":"7b36a48c694bcefa83a43c17ce542309df37e092","tarball":"https://registry.npmjs.org/@a25osman/lotide/-/lotide-1.0.0.tgz","fileCount":27,"unpackedSize":30457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhuxcrCRA9TVsSAnZWagAAIO8P/3+sOXTbc+Q1islude9G\nrAjQgKLKwEFki3vGYtoVH8BlOnh2WBoST97uZJ5b2t/fYfDsJKdW7ls6YRrL\nr2go8McgQ87ljCrgHOr2YAQ3/DvslNKdEkHC/nCKiKXI64Qx/jPGNyGHQb47\n13LZzzPUtHzCuJPU2y9HoSWadkVVvZG6NzgCMMlWm2K7mCh+TpKSijxKM/Gx\nqOL1Ev+toci0XE8QH0Ab9gVX8Ysqn6X7Nz3M3Jg03JeZnjJkPr/iIEdWwX+Z\nphLxcZFyvn2CU+8+Y/cHzbMLGkFV8OvRSP9zkM34tqwLYHjEwxfchk/4Cter\nFA9qNWVCc5u+Jtv8JvPsthzW1hRjdvVjVOj+//pY9ziIakvJ/OQj4VBTAV5N\nYGD23SH4KmB+gkrgdid8hfdS+q1Srl2fS+lVqY+2n18RLetSmeAqoV8XQbWP\nIPPbwI2E/ulPNEEly2wB6FVrTOJWAXetHiFL/B2ulRdTaaOFwiO+YxKp5owY\n7TWO3VjtUStA7hMKhSbgA2MKH1q5D+htn19KOrYbqrsLK9N6aV3MjnhZJVna\nF2/QO0nqYAhpxzFR5LA9CHd+hhIB13H/snnIIi/NXvkbdE8zNxEC+Vqeh3yN\nbK4y95eFDMMq6mQdWoksyEEiACES56NwZuyXzoRrO3Bq33251Qu1pU8xMKSP\nSTEu\r\n=LmrG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFME+S8L2d0x/vjH8o6wK7LqJe6irSv0xS6MODqFghB6AiBgu6Bb8cg1GZMSj2iltg9tY+HRxvFH2tNmY9WyegRqqg=="}]},"_npmUser":{"name":"a25osman","email":"awabosman3@gmail.com"},"maintainers":[{"name":"a25osman","email":"awabosman3@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1635931874001_0.9628751154935908"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-03T09:31:13.951Z","1.0.0":"2021-11-03T09:31:14.209Z","modified":"2022-04-04T10:52:56.459Z"},"maintainers":[{"name":"a25osman","email":"awabosman3@gmail.com"}],"description":"various general use functions for js","homepage":"https://github.com/a25osman/lotide#readme","repository":{"type":"git","url":"git+https://github.com/a25osman/lotide.git"},"author":{"name":"Awab"},"bugs":{"url":"https://github.com/a25osman/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 @a25osman/lotide`\n\n**Require it:**\n\n`const _ = require('@a25osman/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)`: first element of arry\n* `tail(array)`: everything except first element of array\n* `middle(array)`: middle element* of array. *: only for arrays.length > 2. Also returns 2 elements if length is even","readmeFilename":"README.md"}