{"_id":"@cjhayes/lotide","_rev":"1-4af86b1ff17002199582090c33b9ccd4","name":"@cjhayes/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@cjhayes/lotide","version":"1.0.0","description":"A set of tools using mocha/chai to implement and test various oft-used functions","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/the1andonlycj/lotide.git"},"author":{"name":"Charlie Hayes"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/the1andonlycj/lotide/issues"},"homepage":"https://github.com/the1andonlycj/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^7.2.0"},"gitHead":"19dca522fa5f47a6d9a440c37b2438367ac35442","_id":"@cjhayes/lotide@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"cjhayes","email":"cjhayestutor@gmail.com"},"dist":{"integrity":"sha512-0c73ZVUp+NMvngiVKeDBw2MpCHk3enVI7yYeeqH6dOXxaPiMVhDof+gViFl3ospSlPYGr/uvZLMWcMbHjOHNIg==","shasum":"ae2b1880d769bf3481bd764012702a0661b8c66e","tarball":"https://registry.npmjs.org/@cjhayes/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":17365,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1ZKmCRA9TVsSAnZWagAAZGIP/iqaR3aEVLhBmrBpOBie\n8ytDZF6H5Zk1wDRZOXXKsjL5zzC1cXDThMgd0och0eeiizfS++vF4m4OdbuF\n8uNcvjA0+06plO0xaARSPMkL9gxRSp+E+XMcgRGed5VAXFWVknZfTJN3ndde\nRbvCG5rVAD+c0xXjFJNI0npV/auv6HSvpOlTn0ggQUw/jWYUgTYPD4wxUGlJ\nnYoJqtAyHvgFm0atpTR5T9MLqre/c0T6HFSnz5SV8AEbpMFaRVgPxPKZAerL\nCJToPpbVHNgFFVWEn4BW4f/1+7PqKzh+2Tv43lJKKFUeXDimKCD0RUfbYiZ1\nD3zhrT50ZU3TiWURrXyO7cOnJcVLPGdq/4SGLs1QUAtNjHaQTdhcrIOgSkGf\n/QIegqFPD50T0ubMT9IrvEJ5YdtSsqsbU84wPCjM33dK7GOz7dBgGXIVNClY\no6Ydq9mKth0nP6AiRlXp6zd+mXlzSosV3h7LUybtr6Qyvq20Yc1yr3x/Mp5S\nvyEWYN2TqWsHz3o5hd82sKOUfl37i9zDHJ3vV6h/uGdsmRZZvWP4wjNlDOHs\ns1dib3gV5Y8BIgRdq+sZT3lMpX/qtGjAhhQTXBu1uwIZ/f5dI2ZFy2UU/J4f\nUNwKJEEeBxeqHXALkeKwMRcBW92Vn0R63xAv0xnZV4pNAHOuz6xX4Bfs291Q\nr26v\r\n=KXpb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFptQ1+b7ruN8yf6mxmYSAZsexbwf43ul74aan/L3MaQIhAJgyYDZJFyeoRLdntnUI/ExeMqPYVkFj3UhKq/jGOEDh"}]},"maintainers":[{"name":"cjhayes","email":"cjhayestutor@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1591055014295_0.5506124837768487"},"_hasShrinkwrap":false}},"time":{"created":"2020-06-01T23:43:34.260Z","1.0.0":"2020-06-01T23:43:34.424Z","modified":"2022-04-04T23:09:32.143Z"},"maintainers":[{"name":"cjhayes","email":"cjhayestutor@gmail.com"}],"description":"A set of tools using mocha/chai to implement and test various oft-used functions","homepage":"https://github.com/the1andonlycj/lotide#readme","repository":{"type":"git","url":"git+https://github.com/the1andonlycj/lotide.git"},"author":{"name":"Charlie Hayes"},"bugs":{"url":"https://github.com/the1andonlycj/lotide/issues"},"license":"BSD-3-Clause","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\n## Usage\n\n**Install it:**\n\n'npm install @the1andonlycj/lotide'\n\n**Require it:**\n\nconst _ = require('@the1andonlycj/lotide');'\n\n**Call it:**\n\nconst results = _.tail([1, 2, 3]) // => [2, 3]`\n\n## Documentation\n\nThe following functions are currently implemented:\n\n* `head(array)`: returns the first element of the array\n* `tail(array)`: returns everything but the first element of the array (the \"tail\")\n* `middle(array)`: returns the middle number in an array with an odd number of elements or the two middle numbers in an array that has an even number of elements.","readmeFilename":"README.md"}