{"_id":"@berk-ozer/lotide","_rev":"2-f944a8a0fe865dc547ba460e807e5bbb","name":"@berk-ozer/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@berk-ozer/lotide","version":"1.0.0","description":"A mini clone of the lodash library","main":"index.js","directories":{"test":"test"},"devDependencies":{"mocha":"^7.0.1","chai":"^4.2.0"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/berk-ozer/lotide.git"},"author":{"name":"berk-ozer"},"license":"ISC","bugs":{"url":"https://github.com/berk-ozer/lotide/issues"},"homepage":"https://github.com/berk-ozer/lotide#readme","gitHead":"96afed54dcfb54a2098bdd321d4e65799e1c2aca","_id":"@berk-ozer/lotide@1.0.0","_nodeVersion":"8.9.4","_npmVersion":"6.13.7","dist":{"integrity":"sha512-j+ghCSshRbYt8K2Epd2QybOTMqDiSpc2MZOJPMv2RU8cmYwh3rR63jAjRlnhUiYzsWK5xQP6SQUZsaU8jB05lw==","shasum":"9a4a7ea4de62351400a7364d689052743cd2a5a9","tarball":"https://registry.npmjs.org/@berk-ozer/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":21423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeQbf4CRA9TVsSAnZWagAAY2UP/jBMY9UCw3hrNFMfhTGe\n9dq/GaxnYv0uBkTZ0kKv5o2yv0WNAZNZ2pD1m00aqKAbAuc1uO/a5qb8Zf5c\n1tNrhJgpl3JpocH/xd/xgUsOKkQSJy4dWu/6PF2lGCUdoFElgz/ZZpOctaJ7\nqv+xnPzceTPvDJ2qMTNjwh7TT6eCv0niFKUeIgNiiqRJO4PzmwLlkCqOROhb\nHUm9hbH0VvfWzxdJ+v9oXdzwpWzUMGZZkNBEbnAkkErfNZgV8kJZRg3F1DK4\ngD/E/oG2gVfZuT1wAF4sanWRFhLFjTuRjL+dTELZc8F8kRtI0lhEccClVjrw\nB689Ry7dfbQ8MccyHNQuLw+FHURsbMcV2Add2bSKuotMMRrhKZ8EUXgTANMP\ndIuQONAKigvoVt2Bgedls5671QzNrltlyRPPupoLR8M2jJDp+KJb39Wf1nku\nLMYR32VU8nciPexEnAtyNWZAq2xt8HrSCamcI/1u8a6ec2waSebWiQtTlUum\nLO7Mr2DSzoRK1woH+KE15TZQJVAiGas1+8EgmbY9fabwSokK1PhEQ70bIlDs\nlBbDPefK8s5fSDhundJigR9K/1wJFOTDX5h1ZtNWXyU/D7O9GHCtLauDEUvQ\na6+TvWg4rtBmz/aGyEqOUvnOH6vzWd/HrjHuNV6dBuC/FpChRo1GX+lsAH4I\n9nGp\r\n=Li7M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7p6UF4MvaVPj0tNsDSq/E/ttIHPZtfq2bXdvqKR+11QIgOabSM+UYYMSD5DrfSsoM/PB2u7Xmc6QFSHsrehswd/E="}]},"maintainers":[{"name":"berk-ozer","email":"galipberkozer@gmail.com"}],"_npmUser":{"name":"berk-ozer","email":"galipberkozer@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1581365240179_0.3171487777056323"},"_hasShrinkwrap":false},"1.0.1":{"name":"@berk-ozer/lotide","version":"1.0.1","description":"A mini clone of the lodash library","main":"index.js","directories":{"test":"test"},"devDependencies":{"mocha":"^7.0.1","chai":"^4.2.0"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/berk-ozer/lotide.git"},"author":{"name":"berk-ozer"},"license":"ISC","bugs":{"url":"https://github.com/berk-ozer/lotide/issues"},"homepage":"https://github.com/berk-ozer/lotide#readme","gitHead":"43e146135c13011fdec45c66028537e4e977815c","_id":"@berk-ozer/lotide@1.0.1","_nodeVersion":"8.9.4","_npmVersion":"6.13.7","dist":{"integrity":"sha512-sRdtnaC54Vcl7aRkz9828/dLv5JJm1PFCuPfogea7vHCZLQosetrrJ4Lioy9Z6hhA9059aSyzwHnuHC6CqpPEg==","shasum":"7e4a2378a80e467bfa311ef91ca2eeec47b68a99","tarball":"https://registry.npmjs.org/@berk-ozer/lotide/-/lotide-1.0.1.tgz","fileCount":31,"unpackedSize":20549,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeQca/CRA9TVsSAnZWagAAOp4P/jZCv+wSgjNj0muH4mOA\n5/H7NPAZqrlh5yGPs2EUUFEMC568In7tjHY3teEnS9gabDz6RBnB6nUJ6pWQ\nR/dtMi7Pv/3OH88iJdRj+p0yOtRkOsKlo3sgBuWmcPDgelcXULeicsZPqef9\ng8Y1rmiegDXd53W9RFK8qR/0tFyD/z+aLkGdw8BBiaN3IoJx1iZJPSDcdUTS\nieg9kHO3EKixJGO+k3tv1ALSxhLAObxzfSuY11RdyTXXi5I64G4FRWgzYCJM\n3kSWCZCwpIUoPWesEqaCA3EPvEzK9lFMSAAnIs9/TZR+P+CwTIgZe/M8Ng0U\nUpfDnJT4ciZmgepLDWbw/jh8ZwwQ3H61dJRAImNMneJBYi85fdU+gazfgrao\nwnAR3shS/ISWqjMaqCBW/flVxkItks5uQcWEaxP9YoV32rsx/ZZIvdHkCToD\nSek6Johu75E1UKW0uUuuWERrUuELxLkrH9dbf/2qtA//ss7UbfzFW1cVQbZe\n9LNZz07BnHwk1FlPgBuamoZ4zrS++o2jCZW8iCx/b57D8INYt3+BBs0yyxG7\nd77jCO+yQkMqZ+utUXrlauERkr76Nui4W8X7Euao49eKLVnwZCSnYEO5+CKS\n3CWYrdfewzIP1P4UlX2/YQJqnLbKl4Y5l1SyPOsMcuaf+emlf37MsBxa3GqE\n8tb7\r\n=uvkw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGz9bT2sPq901DsPSuGkn5lBExf0BRsqDWzlAwxFxDdFAiB3c/3hy3KGE/zZIoOCL81TS01rjfCWjuqeLd4X5TZ/NA=="}]},"maintainers":[{"name":"berk-ozer","email":"galipberkozer@gmail.com"}],"_npmUser":{"name":"berk-ozer","email":"galipberkozer@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1581369023363_0.3479445341392302"},"_hasShrinkwrap":false}},"time":{"created":"2020-02-10T20:07:20.136Z","1.0.0":"2020-02-10T20:07:20.446Z","modified":"2022-04-04T18:29:10.825Z","1.0.1":"2020-02-10T21:10:23.551Z"},"maintainers":[{"name":"berk-ozer","email":"galipberkozer@gmail.com"}],"description":"A mini clone of the lodash library","homepage":"https://github.com/berk-ozer/lotide#readme","repository":{"type":"git","url":"git+https://github.com/berk-ozer/lotide.git"},"author":{"name":"berk-ozer"},"bugs":{"url":"https://github.com/berk-ozer/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 @berk-ozer/lotide`\n\n**Require it:**\n\n`const _ = require('@berk-ozer/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* `assertArraysEqual`: assertion function for arrays\n* `assertEqual`: assertion function for primitive values\n* `assertObjectsEqual`: assertion function for objects\n* `countLetters`: counts how many of each letter there is in a string\n* `countOnly`: counts only specific values in an array\n* `eqArrays`: comparison function for arrays\n* `eqObjects`: comparison function for objects\n* `findKey`: finds the key in an object whose value matches a certain criteria\n* `findKeyByValue`: finds the key in an object by its value\n* `flatten`: flattens a nested array (only for 2-level arrays)\n* `head`: returns the first value in an array\n* `letterPositions`: returns the positions of letters in a string\n* `map`: a clone of the Array.prototype.map method\n* `middle`: returns the middle element(s) of an array\n* `tail`: returns all the values except the first one of an array\n* `takeUntil`: takes elements of an array until a condition becomes true\n* `without`: returns a copy of an array without certain elements","readmeFilename":"README.md"}