{"_id":"@anthonyrc/lotide","_rev":"4-6a361911087a526fea5f8826b4acb951","time":{"created":"2022-08-01T21:34:37.848Z","1.0.0":"2022-08-01T21:10:02.975Z","modified":"2022-08-01T22:42:26.195Z","1.0.1":"2022-08-01T21:34:38.118Z","1.0.2":"2022-08-01T22:42:26.115Z"},"name":"@anthonyrc/lotide","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.1":{"name":"@anthonyrc/lotide","version":"1.0.1","description":"Mini clone of lodash","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/anthonycampbell/lotide.git"},"author":{"name":"Anthony"},"license":"ISC","bugs":{"url":"https://github.com/anthonycampbell/lotide/issues"},"homepage":"https://github.com/anthonycampbell/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0"},"gitHead":"014c119d7a8b8bb6603c45c8c3e549c3fd5e125d","_id":"@anthonyrc/lotide@1.0.1","_nodeVersion":"15.4.0","_npmVersion":"7.0.15","dist":{"integrity":"sha512-RHuCRsl58I680qe4bX/Tci5ebEAEgi9n+BddnsjTeO67Kve2pLPMR7TNXI4fz2QzSbDll4BaEaSlOvk9cH73Lg==","shasum":"57c4b3a468824c3f07b275f52765587f25235bf0","tarball":"https://registry.npmjs.org/@anthonyrc/lotide/-/lotide-1.0.1.tgz","fileCount":37,"unpackedSize":18243,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAPCui9V4mfi9yItPB6otrnG1m1ly8vjXCNBXKFT9cqWAiEAph2e5WUXZWdmMUQne2Q8ICisv6IJYD6B1dMZyzIPRkc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6EbuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpeMQ//T4KwOrfveOnmw4169hzFZsOw7CJln0w34/qJ+F3YQ+cBXsTP\r\nTFVHifcpvHwCAiBSOp+Posh2UK58Lp1Vwfu7/csmNYfzq/HTsctwNFZHXvVX\r\nPlMZpGgdnTVrg+PRLFnjHYTum9WZ155b+4c3ot1hxqhMAx5VZKsMSh+pogEQ\r\nhSs0mVxv73ELRbD+uUgQRhMgxrtjcAcrLs/03ezOP9mnL4pAoLshJEVuxPI4\r\nmaXjnF+BfcfuR5rFvAxZh/axmqkG7Ubxksl03m6RZsVjlL6fHpkqDkffVjQk\r\nSvhPmtqyIPs7lSRC7+3HFZGj1swNO3LkXbZhyjcQvBuoqb9lTA9lnpRPt+eu\r\nGpIXxmIH3yN78EpmnuEy1F9dX3bE9flBXy3pkQ/smEZLok6i6o8yQWh6eNEh\r\nBH1/vU9VH//40m2rbl7VL+3yUcAXBpsZfGR1BP/yatWlBbdXBbGEpAj29B2x\r\nnKwU/KdJE4ifsqaxJBrM79gbNSro5oqGrNuUFGtwvi7xTrSG99zMfND1QfV6\r\nwqlEj6HrexKWnTaiaPS88vowd5iVLtqJXWxXX/44RBOutF9Dhm8PD6lOQ0RO\r\n/KR06CZFw9E/lhxYNbQsiVCMGsrmK7nlYrXqULLkdpE1g3DdI0sD6qwEC2bg\r\nbRoAMOrth95/RpRmGozbXDOeF62mdGYvgLo=\r\n=xN58\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"anthonyrc","email":"anthony.r.campbell94@gmail.com"},"maintainers":[{"name":"anthonyrc","email":"anthony.r.campbell94@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1659389677912_0.4130681947004491"},"_hasShrinkwrap":false},"1.0.2":{"name":"@anthonyrc/lotide","version":"1.0.2","description":"Mini clone of lodash","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/anthonycampbell/lotide.git"},"author":{"name":"Anthony"},"license":"ISC","bugs":{"url":"https://github.com/anthonycampbell/lotide/issues"},"homepage":"https://github.com/anthonycampbell/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0"},"gitHead":"21d50f1b3f06198a03b0b01fdf58a3ecce27d541","_id":"@anthonyrc/lotide@1.0.2","_nodeVersion":"15.4.0","_npmVersion":"7.0.15","dist":{"integrity":"sha512-I746OsVj1AcG8tP2l8L4W3uF+1Np1Q8N7jSzEAfIN+x9RNQoGPYDZYD0VhnSaO6KkhVW4rtxGcoRHvcrAka0uQ==","shasum":"ef172ea84ff6fdf64a98c8a64d9e24f6f1eca126","tarball":"https://registry.npmjs.org/@anthonyrc/lotide/-/lotide-1.0.2.tgz","fileCount":34,"unpackedSize":17751,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/b3ATz5tmkHCcbLTCJcyzyhsgc5sxPP13NF2OLJlmPwIhAMu5I7+zL/OQR4ZaKk0+kkyb87cB6kvuUz9vRvU1+fxt"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6FbSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpxKQ/+Oa/fXAt/uDTsyA6jG42I9D4YiQA4LvrqWRQMayITJ0GPVaS2\r\n7LWQgr9NyjE+CGvAqVQzB61Zv9iZmn7i5BBpTmOTFjR4glnpW+8lKDoaCKDI\r\ngGQYJCRfj8+7nC3XRR+iwqmkMZ/NJI01QtOWx4TH9BLQWrWFVfvgIdIj6PKE\r\nOjM+EVcErMPOGRlvLDdFM57K/pelcKxVfIe34FZAif/lXZi/jZ0htKonhd07\r\ndqEGTtsIxAiSW6qekSgiYsfzMznfDAROmq2SeaxIGJ/8uD2lDblKeEK/1J9L\r\nq0fHIR7L0E5xFh4SSzVIIHvL7NRC7J1c+t6+wvnJ/A6wuCHi9sFGT5sJZjTb\r\nLjBGPtoojJQKyMg5g0CbiTgiDDR8SVU2RgTDaiW5y9dUpIsEeRLeqLFfnO5J\r\ng9+n8qsLYopr6VPubKu/q3sAc5JQ5l2KC9NBw+AJDosuXqOUtKPr9Nht3vV+\r\n4gOWGmipKi6aZBT9dvyQIwfMj0/ONMRhoslogEoQrwn8SHmIBZNovznS5SBv\r\n5rZWiK/bQD2Z/wRlvYjkzdwuLj143w7rSL5tPY6ei9oN7RiLAMqajrV0jiJD\r\nTmJOFiUZk/PG9lVSjZXngRyDSRDbm0gWwrr9qXtqbrdlwCby6BKgQvHLgkQD\r\n6b5jmUhH7nsInh6UIJFV0p4TNqDxMF1HT9E=\r\n=HJ9T\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"anthonyrc","email":"anthony.r.campbell94@gmail.com"},"maintainers":[{"name":"anthonyrc","email":"anthony.r.campbell94@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.2_1659393745896_0.2129204873475914"},"_hasShrinkwrap":false}},"maintainers":[{"name":"anthonyrc","email":"anthony.r.campbell94@gmail.com"}],"description":"Mini clone of lodash","homepage":"https://github.com/anthonycampbell/lotide#readme","repository":{"type":"git","url":"git+https://github.com/anthonycampbell/lotide.git"},"author":{"name":"Anthony"},"bugs":{"url":"https://github.com/anthonycampbell/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 @anthonyrc/lotide`\n\n**Require it:**\n\n`const _ = require('@anthonyrc/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(array)`: Return the first value in an array.\n* `tail(array)`: Return the rest of the values after the first in an array.\n* `middle(array)`: Return the middle value(s) of an array.\n* `assertArraysEqual(array, array)`: Print green if two arrays share the same values and red otherwise.\n* `assertEqual(primitive, primitive)`: Print green if two primitive values are the same and red otherwise.\n* `assertObjectsEqual(obejct, object)`: Print green if two objects keys and values are the same, red otherwise.\n* `countLetters(string)`: Return an object with the count of each letter in a string.\n* `countOnly(array, object)`: return an object with the count of occurrences of given values that are true.\n* `eqArrays(array, array)`: Return true if two arrays share the same values and false otherwise. \n* `eqObjects(object, object)`: Return true if two objects keys and values are the same, false otherwise.\n* `findKey(object, primitive)`: Given a value find the key of an object.\n* `findKeyByValue(object, callback)`: Given a callback that returns a value to some key return the object with that key.\n* `flatten(array)`: Recursively place values of an array into an array where the values are primitives.\n* `letterPositions(string)`: Return object of all the positions of of all the letters.\n* `map(array, callback)`: Apply function to all elements of array.\n* `takeUntil(array, callback)`: Add all elements before an element that doesn't pass the test.\n* `without(array, array)`: Return an array without any of the values from the other array.","readmeFilename":"README.md"}