{"_id":"@dav_he123/lotide","_rev":"1-4f2fe00de39f073cf3a211922ad48d56","name":"@dav_he123/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@dav_he123/lotide","version":"1.0.0","description":"lotide student project","main":"assertArraysEqual.js","directories":{"test":"test"},"dependencies":{},"devDependencies":{"chai":"^4.2.0","mocha":"^7.0.1"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/dav-he123/lotide.git"},"author":{"name":"David He"},"license":"ISC","bugs":{"url":"https://github.com/dav-he123/lotide/issues","email":"david.he07@yahoo.ca"},"contributors":[{"name":"dav_he123"},{"name":"asmxali"}],"homepage":"https://github.com/dav-he123/lotide#readme","gitHead":"a2c336ce12d9225dd00c7805a720f3703c86d024","_id":"@dav_he123/lotide@1.0.0","_nodeVersion":"12.14.1","_npmVersion":"6.13.6","dist":{"integrity":"sha512-sJl3f7l/jQf08I5GZvbjImEx9ggusm9zdyN7PeCx8pgyGBSB26xRjF7AQsAYjSdaHasrZOJyiLqDKF9gpes1ig==","shasum":"b68fa1382de8bfacc1bd1324ebe5dfa829d17f7a","tarball":"https://registry.npmjs.org/@dav_he123/lotide/-/lotide-1.0.0.tgz","fileCount":28,"unpackedSize":20734,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeQctdCRA9TVsSAnZWagAAFioP/1vO+m4STeCkau5bjgZ2\nlQMwuvMsz8D9QiWfe/Ujj6txO+aNX3pSholKQcQCWmEIe/drL0CzwO9K3joH\ntatZv60qgs5U0CBxPQ0iC3y844FGaC1gCh7zPDyQmbdTnbsR3NR3zg9scIXv\nPfADA+J+f4/23NYjx6fIKLWyQLXmFSwLeaSHpD3jTjWXtcokgjRSAmSkUhU9\nDxNb8sQCGzUtQLIQM+vdUHIsTLx2EWvgH0M4x9SWWydngG92e3rmZMNjT+E3\n/xluic3Bij7l1poUlD6ATqqYXSPgFbZ7lE8GZNBWwDXYvw7TiZ9CII/xjzRl\nqT42zMLISfh4qBBH10o47GSzhOAUhT1iUK3L+XQeasWcUFqwLNnVGF2aSX9j\ngh5+iyZvR/tkuHqmngqHUeloNWHbOsHvxtwMXufdAN+VSeKC5HsqKRvPU+Py\nQX/jQv7pPc9qXxw/nc36EWnoTbrYpxmP8gwKhKDWaw+88q1Fr8/wTHaJvBnu\n8KCGrceVW9uriDjWKDjMePLgU9aBfWQ0I0wc6mbwn6r5Kk8RpxOheEGGwhQC\n3NYQnphRD7bgvxbVZ3/6DMI+Ay/m41bphRK5OduZtJfAIteuC4aOEUYuaEmE\nI7dWkb6irt3Qf5E0z5ZXfRJ909ufriCEyDNXUjmLTQpOW34iXe0q800F21vs\nUC7p\r\n=fTMA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAuRr7sVCUuBB4DVThnrM5oNsvwKUiJSBEnOfa9rf3xkAiEA6refqIAAkKM/zFzt3ibOM38zzpcElaTJea/4vGsNmWA="}]},"maintainers":[{"name":"dav_he123","email":"david.he07@yahoo.ca"}],"_npmUser":{"name":"dav_he123","email":"david.he07@yahoo.ca"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1581370204468_0.8779930175093043"},"_hasShrinkwrap":false}},"time":{"created":"2020-02-10T21:30:04.439Z","1.0.0":"2020-02-10T21:30:04.695Z","modified":"2022-04-05T03:04:48.886Z"},"maintainers":[{"name":"dav_he123","email":"david.he07@yahoo.ca"}],"description":"lotide student project","homepage":"https://github.com/dav-he123/lotide#readme","repository":{"type":"git","url":"git+https://github.com/dav-he123/lotide.git"},"contributors":[{"name":"dav_he123"},{"name":"asmxali"}],"author":{"name":"David He"},"bugs":{"url":"https://github.com/dav-he123/lotide/issues","email":"david.he07@yahoo.ca"},"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 @dav_he123/lotide`\n\n**Require it:**\n\n`const _ = require('@dav_he/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- middle: obtains an array, then sorts it and returns the values located in the middle, if an even number of elements is present it will return the middle\n- head: obtains an array and returns the first value in the array\n- tail: obtains an array and returns the last value in the array\n- eqArrays: obtains two arrays are given, it compares them and returns true if both arrays are the same\n- eqObjects: obtains an array, then sorts it and returns the values in it\n- countOnly: obtains a value and an array, then returns the number of times the value occurs\n- countLetters: obtains a string and counts the number of times each letter occurs\n- assertEqual: obtains and compares two arrays and returns true if the same, it is a test case\n- assertArraysEqual: obtains and compares two arrays and returns true if the same\n- assertObjectsEqual: obtains and compares 2 objects and returns true if the same, it is a test case\n","readmeFilename":"README.md"}