{"_id":"@branwwright/lotide","_rev":"1-dbd029d11f63033d611ebd930ac7610f","name":"@branwwright/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@branwwright/lotide","version":"1.0.0","description":"Library similar to lodash, made to develop JS programming","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/frameDoubt/lotide.git"},"author":{"name":"Brandon Wright"},"license":"ISC","bugs":{"url":"https://github.com/frameDoubt/lotide/issues"},"homepage":"https://github.com/frameDoubt/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^8.2.1"},"gitHead":"74323280e6a7fee01cb0f4a22f40ca7d7fd496b9","_id":"@branwwright/lotide@1.0.0","_nodeVersion":"14.15.0","_npmVersion":"6.14.10","dist":{"integrity":"sha512-VSIb3WYsT2Xlw4LDvwZhUCM2xNQELYe+86HgWdBnS9+tBwauJkZSf0sINnIP69rQ2JQ1z+vBF7jtq5zJ/fRMGw==","shasum":"7359c483cc73f3dfc2eed6809080a5df52d787fb","tarball":"https://registry.npmjs.org/@branwwright/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":14909,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/nVJCRA9TVsSAnZWagAAAYgP/RyWCrPY7dE8Cdp53CV8\nscx1kb98yrABJy/Lv3KpVeV+A61h41aTmPCMZP0QLjvGNpRPB06BM6omDSKL\nJneAiwLbnm0X174CWZou8UlhucwIpK7r4BzheKw0EWEvVR8CzxrCWAiFEHJ9\nIqVLH3NKg9EoJnGhL5dZgg4DIZ5yGdiAYK8QFKvJRXLbSVK1i9yglvI6pn0L\ngSO7r3Vaj3s6fuxgXenv3IWKF7fhgXCruCFtzz1zOjxTtYS0lT0GpWVFWkAJ\nlpJsZsKwQMFTuLYIKXSKTiXLz/Ok9SXf1xMuV3JtcZIrW5ksLC5K+YHp72Uk\nNUUYPrmDpwljhHsvHv5xlNe2fdjPiEakSxPpsL5DINgHMaXufO9B2AgfmLZt\ntOY0xrpwleKL5S243qpa9LpR4kl0Fz8BCCTDpcfXeM6cy0ohAKApISeb4fW9\n4m2JAIodqbdeYEckhSj2Sr0bAuEzxFRFD+PKjMOlmAdAkcuWl4GOOzrJbM46\nIJ0FpF5OgjjRFMahg0ecAOA0SKBHDKZ5TSmjDJwv7cdXH6LerR43XeoqVpW/\nMDM76FkL2CZ0jPI17gcKGh5URriV9tN2fx6ANA4sEmj+LtIltK9oqevEBwFZ\nmoGsGDSsjc+6BgbEtFTD/tlcaWDxhGPZOHrQp2iTXQ7fhe2D2Ebcx9GvnFJ4\n9IiZ\r\n=stgI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC2t0rj85wfaJ3gfT5g2sCY+ifM+LBXg+wVH8lEBsvC6AiEA62amIHpNSCjlv4KBwOrtoHIKoCi5lYkO1lR8PkJodjI="}]},"_npmUser":{"name":"branwwright","email":"brandon.w.wright4@gmail.com"},"maintainers":[{"name":"branwwright","email":"brandon.w.wright4@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1610511688675_0.8895140433546374"},"_hasShrinkwrap":false}},"time":{"created":"2021-01-13T04:21:28.634Z","1.0.0":"2021-01-13T04:21:28.882Z","modified":"2022-04-04T20:26:52.848Z"},"maintainers":[{"name":"branwwright","email":"brandon.w.wright4@gmail.com"}],"description":"Library similar to lodash, made to develop JS programming","homepage":"https://github.com/frameDoubt/lotide#readme","repository":{"type":"git","url":"git+https://github.com/frameDoubt/lotide.git"},"author":{"name":"Brandon Wright"},"bugs":{"url":"https://github.com/frameDoubt/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 @branwwright/lotide`\n\n**Require it:**\n\n`const _ = require('@branwwright/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 value of first index of an array\n* `tail()`: returns an array of all the values of a given index, except its first value\n* `middle()`: returns an array with middle index(es), depending on the length of the arrat\n* `assertArraysEqual()`: prints to console whether if given arrays are equal\n* `assertEqual()`: used to compare the equality of given primitive values prints result of assertion\n* `eqArrays()`: return boolean of equality of given arrays","readmeFilename":"README.md"}