{"_id":"@braverdan/lotide","_rev":"3-c80559e0f9870fd4e027f37b97927806","name":"@braverdan/lotide","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@braverdan/lotide","version":"1.0.0","description":"mini lodash clone","main":"assertArraysEqual.js","directories":{"test":"test"},"dependencies":{"chai":"^4.2.0"},"devDependencies":{"mocha":"^6.2.2"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/hexular/lotide.git"},"author":{"name":"Daniel Braverman"},"license":"ISC","bugs":{"url":"https://github.com/hexular/lotide/issues"},"homepage":"https://github.com/hexular/lotide#readme","gitHead":"7d310781cb80528b78f12b9072194afc4b96e80f","_id":"@braverdan/lotide@1.0.0","_nodeVersion":"8.9.4","_npmVersion":"6.12.0","dist":{"integrity":"sha512-VfWcK3UfbgzChDkZ/iN6PCLGi3ae2EZb6t7DgUt8caIWglboTGYukkaaEWPxt/MqrKBH5BfYjyEVLYtBsQ/x4w==","shasum":"0a559eeea2bf7df7234ee5c5fced4aea3e1d0b8e","tarball":"https://registry.npmjs.org/@braverdan/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":22598,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdrdu9CRA9TVsSAnZWagAAbkwQAKUq33wRV5BNn3F4m0e/\nlgWVqzJSpR54ZrpSyXhH21MF7hxv1SjDPUa2jLVIM5eM8fObz/Gjrt97obdy\nwEvR72wiHPM9V7llnZDgTpbjD5Q1TJ0IR8R6YB1kmMD7nmN4EUMpI3iLTeKZ\nKn+qNh+HS3QsC0yaOBm6AXL190PZ/HEw59EYTR6YRxLqBTmW9DB1P6fRFC6B\n6Tu7rqu1sCBuvF0HJbfenqq0tRWQm7/fx89DGDq+affj8LLkmL8risxHfidG\n8iL6Q+98RepWIym1rCPxwm73+66ptd3T/TDC3feEBEO8Oc7XzvROgeWQN2ok\nTarr+X+jGiYQr2xobdkIia+ljG+weWwvcQueXjVjRzPTD7VHPFrZ/O4HHbHU\nTlMh1+lDdrvsZa/QTumHN369WaWYsf6hjbijE7zPzG009WufvJnKJT0/06i0\nmfvS4puCb5yMLLPkkPx9N7b9/jvDHm6CoEtybiFIeyVCtwbVBTgpNAudiagN\nFwWDn6NDVzFTNwIcOvI2IYBaVF8zDXanpIbjaz7AQldYr43HW65zmKqdw+/T\n0Evid7hr810bvrl7hQ1RrtYCLpuRihBpjk4SN8HZ+9KLU/PitlL0971HUFBm\nLWqdQQ132euRE8cTh3MvpcKIb9rPrLY0ZkimOxkK20toK4EICtPKlCSi6xcC\nCX8j\r\n=J482\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBTD65oBDPN0U5PV2H2YH6PVQbzZW60J496h0307XGLaAiBebiOW9Vf2fqThIgD65iRmexs83RK7F5dRQ2iJp72mKA=="}]},"maintainers":[{"name":"braverdan","email":"hexular@gmail.com"}],"_npmUser":{"name":"braverdan","email":"hexular@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1571675068398_0.11564219215385108"},"_hasShrinkwrap":false},"1.0.1":{"name":"@braverdan/lotide","version":"1.0.1","description":"mini lodash clone","main":"assertArraysEqual.js","directories":{"test":"test"},"dependencies":{"chai":"^4.2.0"},"devDependencies":{"mocha":"^6.2.2"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/hexular/lotide.git"},"author":{"name":"Daniel Braverman"},"license":"ISC","bugs":{"url":"https://github.com/hexular/lotide/issues"},"homepage":"https://github.com/hexular/lotide#readme","gitHead":"7d310781cb80528b78f12b9072194afc4b96e80f","_id":"@braverdan/lotide@1.0.1","_nodeVersion":"8.9.4","_npmVersion":"6.12.0","dist":{"integrity":"sha512-6zWui9a06Xhm1HDhCU7SDAOmuwK+KFKTuVSjNttwl9nnST9HICPB+s5MM0JsLwuCO1Mi5isn/8L8EhiT0t2pLA==","shasum":"af54d0f38f1244fbc71736bfb59ff13c8eb0455f","tarball":"https://registry.npmjs.org/@braverdan/lotide/-/lotide-1.0.1.tgz","fileCount":25,"unpackedSize":23824,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdrd6zCRA9TVsSAnZWagAAe5QP/R8NAPQ4jU8kupkctEwL\nhJHs67R80dfiv8iGdRzt8sp4W5he2ZjoQsV5vnro62iIGjdHr1tnEfDV7fZl\ngKIMhJjniMYN+BrdjESpKiV786t/vgx4gvXAn9EPS8fv57LvJ/MzC7lUqLfx\n0Re6tYj91pAtUjnRphjcklLeC4bf0s33sKx+vNOwRdSCDRiudEB1SL5kNHBy\nAnYN88isXq791dfyo809UDE7+MWdnZ1b3coxkxkZ9pae2PsrAk5z1f4SgHZD\nMgMwVL+gYXhbY7SP3O8wpGAewICmQL0sIwO5M2PTFHNi94vYjf1An3DvS6GE\nwO5r22PfxUUizzDsEqG/AwMpO1zyNi5vGAOUxqgOKp+LiStaUqbSCAsGGJqh\nDoz+nICv3wXFZsvg2wvQNK1z7G+Dwlsm1QqhpZx9xSiU6MKohbC76+XAh8Ip\n85tISPbzSsRNuFVk9jvr54EIvatSDJhbcPO+ybUoZr+t/7+yuTZ2QKKVdm8Q\nt6hCK7Hg3gplnyRtMHWUbs26somsjDelfmiECMVYOI/DMoe6dGP8TRlJVCuE\nPvGOugWoQFAU0GV0DHWOnR12zPvM9NahsrWM+/4+N1RWFCnF9jb57kgrWJue\nU1Gk6uDvHUwVxsUOa1mlXyq4F+aZSnEEwhrNyS5Q+58MPrsJTzlxcnOEYiox\n+F07\r\n=n8xP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAUY27r4NDbscJhMAOSI5RDOxG9b0lgaLun1U6aMHxDQIhALLzDEap650UZYr3juM1LxAAz5nljC7G2gkwX9VYIxBp"}]},"maintainers":[{"name":"braverdan","email":"hexular@gmail.com"}],"_npmUser":{"name":"braverdan","email":"hexular@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1571675826549_0.4119763993033936"},"_hasShrinkwrap":false},"1.0.2":{"name":"@braverdan/lotide","version":"1.0.2","description":"mini lodash clone","main":"assertArraysEqual.js","directories":{"test":"test"},"dependencies":{"chai":"^4.2.0"},"devDependencies":{"mocha":"^6.2.2"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/hexular/lotide.git"},"author":{"name":"Daniel Braverman"},"license":"ISC","bugs":{"url":"https://github.com/hexular/lotide/issues"},"homepage":"https://github.com/hexular/lotide#readme","gitHead":"7d310781cb80528b78f12b9072194afc4b96e80f","_id":"@braverdan/lotide@1.0.2","_nodeVersion":"8.9.4","_npmVersion":"6.12.0","dist":{"integrity":"sha512-5ARRX4aGE5uNkZxdvIwhNfRtkYNKp0J+tBaxzXvdLzp/zSStDnez4z4Cwy95ySRqkQb8F1IJhZBUhhaIDDtPfw==","shasum":"5c7562aaf1898b0685618dbe030f56d2dc039f4f","tarball":"https://registry.npmjs.org/@braverdan/lotide/-/lotide-1.0.2.tgz","fileCount":30,"unpackedSize":26773,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdrexICRA9TVsSAnZWagAA5b4P/1h4i1l+7z7kgWLQmMxm\ndaHfdw544msGMPmjaGm6MIw8pP7iVDv6e7BqEfXKf2+QAck1q5bbC++BOL75\nFbsm/cET1uf+PYd8v1V/xjoXC0PCsm9j0Ry1r5/6Q5E3IDNolYSIEvyAIKH4\nLbeFz9lFRIP5cOzN4n5HHjaccUYupAIsrbl5CnaGaoZF2D9IbRfJmEylyUJz\n8S0jNit6+ZWO3Eo02S39WZn7XcTFGEOQaTuQiolIn10HRIvDmcn8hjvAW5pm\nXJVWHdWZM8eeK86/hsGRPn/A2yHM4im7YB9i+IHX4RwCV8OhLMa0yH8PJUUa\nUbuaq5an7VLOgQq/Y1b8WALRktijAWsCaspTXRYyD+KFOnWQSsPApnd7AHCq\niDQKqRirMHDb1d+edws+QNcFXwcdnmMrAiLmKoTL6AqbXogRamXF/v5O8UQJ\nJYazFAGXRW+ph5NUzn52TG85nykNEqsjDLkRVucM239nv4gYUKN9hlK5q8s0\nYizoARPSeLNF/d64mGF7QHzbHdyHabQgOdDzcTyW9YyCqKz2r9FkV1tE9zG3\nZs6R7/DwjUbJjoXfL1QGWBgrrWvR3/KGnv44VIPett1v6pREMgGB7U/grllU\noDImYkqiAu3SJ1QogE+Vu6AD/jJpSHVvoe0l7F2hmHQFdeaagt3vxSxUbZr9\nQb7J\r\n=m6og\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDXAAVkU0ViBXK4LJz5oLaREggImIrRkl90MsQEs+gnPAiEAkRi3gsj3wvZxBXyVipbMYDVbBE4PzfwU+aKC1+Rx5vI="}]},"maintainers":[{"name":"braverdan","email":"hexular@gmail.com"}],"_npmUser":{"name":"braverdan","email":"hexular@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.2_1571679303842_0.25983784695683165"},"_hasShrinkwrap":false}},"time":{"created":"2019-10-21T16:24:28.135Z","1.0.0":"2019-10-21T16:24:28.535Z","modified":"2022-04-04T20:27:12.554Z","1.0.1":"2019-10-21T16:37:06.638Z","1.0.2":"2019-10-21T17:35:04.076Z"},"maintainers":[{"name":"braverdan","email":"hexular@gmail.com"}],"description":"mini lodash clone","homepage":"https://github.com/hexular/lotide#readme","repository":{"type":"git","url":"git+https://github.com/hexular/lotide.git"},"author":{"name":"Daniel Braverman"},"bugs":{"url":"https://github.com/hexular/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 @braverdan/lotide`\n\n**Require it:**\n\n`const _ = require('@username/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* `function1(assertArraysEqual)`: Checks two arrays to ensure each item is equivilant. Even if the items are arrays themselves.\n* `function2(assertEqual)`: Gives out a true of false value for two inputs (expected and actual) to make sure they are equal. Does not work for objects.\n* `function3(assertObjectsEqual)`: Compares two objects and all their keys regardless of type to ensure they are equal. Also works on arrays.\n* `function4(countLetters)`: Counts the characters of a string and provides an object with the count of every character.\n* `function5(countOnly)`: Counts a given selection of items out of an array, outputs an object with each item and the count of said item.\n* `function6(eqArrays)`: Takes two arrays and ensures that they are equal, indluing nested arrays. assertArraysEqual is based on this function.\n* `function7(eqObjects)`: Takes two objects and check that they and their keys are equal. assertObjectsEqual is based on this function.\n* `function8(findKey)`: Find an object's first matching key based on the value.\n* `function9(findKeyByValue)`: Find an object's key given a value.\n* `function10(flatten)`: Takes a single layer nested array and flattens all items into a non nested array.\n* `function11(head)`: Outputs the first item of an array.\n* `function12(letterPositions)`: Given a string, produces an object with the index positions of each character.\n* `function13(map)`: Takes an array and allows for a callback function to act on each of the items.\n* `function14(middle)`: Finds the middle item or middle two items of a given array.\n* `function15(tail)`: Produces an array without the first element of the given array.\n* `function16(takeUntil)`: Produces an array of items up until a given input out of a given array.\n* `function17(without)`: Given an array to manipulate and a list of items to remove from said array, produces an array without the items given to remove.","readmeFilename":"README.md"}