{"_id":"@angelky/lotide","_rev":"2-62b4d3b556806e7132d21b188abf23f6","name":"@angelky/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@angelky/lotide","version":"1.0.0","description":"A mini clone of the [Lodash](https://lodash.com) library. ","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/angel-sinn/lotide.git"},"author":{"name":"angelky"},"license":"ISC","bugs":{"url":"https://github.com/angel-sinn/lotide/issues"},"homepage":"https://github.com/angel-sinn/lotide#readme","devDependencies":{"chai":"^4.3.0","mocha":"^8.2.1"},"gitHead":"6730d503bedfa9a0c0756b14dc17014e5ff35195","_id":"@angelky/lotide@1.0.0","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-BorHB2rr/9xYxBI/PkpbgyYJj/HGSxwW8xt47fo14h2n9eyiyPDND+D2EO4uB+5XsBqr88ND2gwAc6aymWmBUA==","shasum":"cb0ac3f6f4af043c089287e106823ee2700a9a35","tarball":"https://registry.npmjs.org/@angelky/lotide/-/lotide-1.0.0.tgz","fileCount":38,"unpackedSize":17678,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIfdYCRA9TVsSAnZWagAARg0P/192OU7num9ws/w0cKMq\ntATWNrVAAd5SZp3Hi6fgwuF5s2k8LQ6I3HX1rPy2+xrFGEUohvvUHNO4+Bdh\nhRM1mVtLX52KX3e5W8VC8o8UvnhsVybsevnRU5I/Da8OI6BNFgHA9UY+8snT\ngoAHoXwNnJas6yL/nldywDXDgO1N/AmZK1asX8eznDysTZxNwgctnAGv3VEK\nRgXmbROZmW/ukEbxhp7GfhRaDPxrsf2yqBUFu+IahjZjNz54KpO0zPY1twFe\nxIVj5BWREKoRjA0ebBhz7SU8AdGce8egdUVZeyajirL97BzskJB48j2Qhhlz\ne4Gy7xG6Nk3qbmvreXq//wFjaK4+IWOxRZwuL82QTIoA8ttCKQ1lnSGJfZqZ\nWHagG5YJ6fPrlbyYdF1nsm+opCXhjJRmGK+RjA/6h54EJuuBINxzBlsAPx5O\nMYcWdoUARPNWLk9OiX5kljcKu8p1exFpl4huLpI/vHRGzyMXdx/rCH++vts4\nXZ2P0xX9F++PdRBFJ44Sj7iY6DPFywX+ej5WU6h1rJwMILE//NW7mp1d5AcE\n0fxBZeWL0Q3kkfSo6UcMwYw0e5zXPCO89200eX+nOp7PXw4mLj+U6pC9ZuDn\nfqUkmB564jrzbV5e8XUKquAH2TpZV9yegK7aRKx27cB3KMXnb5mSzVTVLZ7f\naDHz\r\n=cKVI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBm1cCfsO68+QHNCe5RQpEnE5xG/yUj/BG14NncHBIVzAiEAwj961SF+uSKmisOUDTgfrE2KUCxRljpoQHxwhdKMs9c="}]},"_npmUser":{"name":"angelky","email":"angelkysinn@gmail.com"},"maintainers":[{"name":"angelky","email":"angelkysinn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1612838743577_0.7425562382593622"},"_hasShrinkwrap":false},"1.0.1":{"name":"@angelky/lotide","version":"1.0.1","description":"A mini clone of the [Lodash](https://lodash.com) library. ","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/angel-sinn/lotide.git"},"author":{"name":"angelky"},"license":"ISC","bugs":{"url":"https://github.com/angel-sinn/lotide/issues"},"homepage":"https://github.com/angel-sinn/lotide#readme","devDependencies":{"chai":"^4.3.0","mocha":"^8.2.1"},"gitHead":"d906505d21bbf50befecc8aa136fcd45e32a3613","_id":"@angelky/lotide@1.0.1","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-9i8pmIRop2SuBUYMcbuvc4L7AlZuQGJKyfs9fXL9PtoAeaPihDX09rzaNf5FoCmnnne9UnBRNNJDIfocvWcHhg==","shasum":"dc1d300942cceb7326eeca4d503bf515d29bbe39","tarball":"https://registry.npmjs.org/@angelky/lotide/-/lotide-1.0.1.tgz","fileCount":37,"unpackedSize":17666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIhMzCRA9TVsSAnZWagAAnvMP/0Dr4K46iDmhIRsfrNzD\nk11MbSBcrY8c8vJeZKOlWGL3Y04y1kkw3Va2ImAzzDEWsQEjmPqYgdqGeScr\nzGG9A0ZP/TmR18f1mD77tff3wpVW3TfWzxgZ31XszTBLVU8vUBlrjr6ksFPD\nrb0rfDa8JESkEkYJnmjRrFUb3dimIyZU+tGIgj/4K6yxObpk7Nsixc3Eebi6\nuFmguWlxNrxsMydzHe0SABV5Ro9M3H4Khm31xGWBPBpwqILJkjJHRfHPUiCG\nAm/x9HfUw/HFuX9bzXLBQbKjNS9FqFOyeJxFKjQHeZeLytjE0wbWwNBvlxMG\nSGUg6X5ckIZ7d/2NRvQ8xsd01lqnVBWSFZ707305/OS4WdTiMr4lIqC+x+sl\ndpHixAysFeIA2f/OzOhdfeyfrLyJh26Jghsbseu58vGUi3aNCbihgK0uL2zt\n+umdwoRjnQ/1Sm1zDK5OoV7dh5+SSuUJKXnQ2sAPUS6dVAXrNLGZIImk4BEB\nPGVZ2jGfHptGxyArE3RPOGbJcuiQMzI3FBBKcYGr1gQdIGdCcGjjYCkZCfmX\nphe1LmCe5RDFrY7/bALCwXXJTTcM0n2r+zyADvmT6jCaxidRcxuZzZrp0Zhs\nmywUXeV3jtdGzNXTeMN6Tz7JmQxchmXHSSY2Fh1FbjhUw60Z7ZfJ4Yt96hkO\n0Xk+\r\n=iM/y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGIyHEVFjdNxDn4stKUAR3kqFSXLtwvK+9N/bBRtS6xLAiB+IHf7T7uxBmgEyiWGK6vlisA4QUMmqRmZrgiCV/7XyA=="}]},"_npmUser":{"name":"angelky","email":"angelkysinn@gmail.com"},"maintainers":[{"name":"angelky","email":"angelkysinn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1612845874664_0.12836781921413842"},"_hasShrinkwrap":false}},"time":{"created":"2021-02-09T02:45:43.521Z","1.0.0":"2021-02-09T02:45:43.722Z","modified":"2022-04-04T14:05:45.744Z","1.0.1":"2021-02-09T04:44:35.059Z"},"maintainers":[{"name":"angelky","email":"angelkysinn@gmail.com"}],"description":"A mini clone of the [Lodash](https://lodash.com) library. ","homepage":"https://github.com/angel-sinn/lotide#readme","repository":{"type":"git","url":"git+https://github.com/angel-sinn/lotide.git"},"author":{"name":"angelky"},"bugs":{"url":"https://github.com/angel-sinn/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 @username/lotide`\n\n**Require it:**\n\n`const _ = require('@angelky/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- `countLetters`: accepts a string and returns an object with key value pairs to denote each characterin the string, and the number of times it occurred in the string\n- `countOnly`: accepts an array of strings and return counts for a specific subset of those strings (the subset is identified by an object)\n- `eqArrays`: accepts two arrays and returns true or false based on if they are equal\n- `eqObjects`: accepts two objects and returns true or false based on if they are equal\n- `findKey`: accepts an object and a callback function: scans the object and returns the first key for which the callback function returns a truthy value\n- `findKeyByValue`: accepts an object and a value: scans the object and returns the first key which contains the given value\n- `flatten`: accepts an array where some elements may also be arrays and returns a single array with no inner arrays (a \"flattened\" version of the input array)\n- `head`: accepts an array and returns the first element\n- `map`: accepts an array and a function, and creates a new array with the results of calling the provided function on each element in the input array\n- `middle`: accepts an array and returns the middle element or elements as an array\n- `tail`: accepts an array and returns the same array, but with the first element removed\n- `takeUntil`: accepts an array and a callback function and runs each array element through the function, returning an array with all the items from the original array until the callback provided returns a truthy value\n- `without`: accepts a source array and an array of items to remove, and returns a subject of the source array, removing any elements that were included in the inputted array of items to remove\n","readmeFilename":"README.md"}