{"_id":"@brady-blanchard/lotide","_rev":"3-0f6f53c9ebbe2e36911f580ffa62132e","name":"@brady-blanchard/lotide","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@brady-blanchard/lotide","version":"1.0.0","description":"mini lodash package","main":"README.md","directories":{"test":"test"},"scripts":{"test":"./node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"git+https://github.com/Brady-Blanchard/lotide.git"},"author":{"name":"Brady Blanchard","email":"bradyjames97@hotmail.com","url":"https://github.com/Brady-Blanchard"},"license":"ISC","bugs":{"url":"https://github.com/Brady-Blanchard/lotide/issues"},"homepage":"https://github.com/Brady-Blanchard/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"dependencies":{"eslint":"^8.40.0"},"gitHead":"53c6cf8e28e4061b1924e514d5107992c1e1dd78","_id":"@brady-blanchard/lotide@1.0.0","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-/+wcmzOef1b/aednWZAcEmQ648APxT1kKZERPL48lxHRhIve/jiLisDCR8xS8xT2CnoCX1Jb5yvmUNgBJXieyQ==","shasum":"fabe657c3639d7ac0730b1c9e0665131289c69a5","tarball":"https://registry.npmjs.org/@brady-blanchard/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":23344,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNx1oGvhiZeJJJZjZ0PXx26a3Xang7P/ffyHrcV+eWogIhAMDgSysxfScBQ7GGP5M3jxti0MLYyNeuXZ8mV7v+XS5e"}]},"_npmUser":{"name":"brady-blanchard","email":"bradyjames97@hotmail.com"},"maintainers":[{"name":"brady-blanchard","email":"bradyjames97@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1684753343397_0.08491228023009212"},"_hasShrinkwrap":false},"1.0.1":{"name":"@brady-blanchard/lotide","version":"1.0.1","description":"mini lodash package","main":"README.md","directories":{"test":"test"},"scripts":{"test":"./node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"git+https://github.com/Brady-Blanchard/lotide.git"},"author":{"name":"Brady Blanchard","email":"bradyjames97@hotmail.com","url":"https://github.com/Brady-Blanchard"},"license":"ISC","bugs":{"url":"https://github.com/Brady-Blanchard/lotide/issues"},"homepage":"https://github.com/Brady-Blanchard/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"dependencies":{"eslint":"^8.40.0"},"gitHead":"ed9fbd5d61253adfbd54c800a430d418c390eb5c","_id":"@brady-blanchard/lotide@1.0.1","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-6dmbn4BvWgYXF4isFqN0lekZhuLBnFASNYal4rO92Ge15N8rJIHEmKfCatv+HvtJ4isgUCzxyC3QKeaxgiWTUQ==","shasum":"344b22d4951ec02b3a1c4f1fe1b0eb60bad7a1ec","tarball":"https://registry.npmjs.org/@brady-blanchard/lotide/-/lotide-1.0.1.tgz","fileCount":31,"unpackedSize":25878,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUHlio2Nfc9kKMGMs9RVsF7gkr0qusI6VBsa0ylIcxTQIhALmRGA+1uf5pusbrl1zC3PZd35nArkBWpRjlE2gs8uNm"}]},"_npmUser":{"name":"brady-blanchard","email":"bradyjames97@hotmail.com"},"maintainers":[{"name":"brady-blanchard","email":"bradyjames97@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1684772194744_0.5616551786929285"},"_hasShrinkwrap":false},"1.0.2":{"name":"@brady-blanchard/lotide","version":"1.0.2","description":"mini lodash package","main":"index.js","directories":{"test":"test"},"scripts":{"test":"./node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"git+https://github.com/Brady-Blanchard/lotide.git"},"author":{"name":"Brady Blanchard","email":"bradyjames97@hotmail.com","url":"https://github.com/Brady-Blanchard"},"license":"ISC","bugs":{"url":"https://github.com/Brady-Blanchard/lotide/issues"},"homepage":"https://github.com/Brady-Blanchard/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"dependencies":{"eslint":"^8.40.0"},"gitHead":"0441053dfab1d8c8f6da13bb2f913f448c06e91e","_id":"@brady-blanchard/lotide@1.0.2","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-nWNuNSLzTyY2O6yOpawZUQfbRJPcPIjCdNIKu3twyxD/EJWYjHh/vvqWG+esRpkS82kavdhAjls+uuHQWD1Xbg==","shasum":"92c13810281aead2852d73e560a000374d68f14d","tarball":"https://registry.npmjs.org/@brady-blanchard/lotide/-/lotide-1.0.2.tgz","fileCount":31,"unpackedSize":23712,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNny1njka7tOnjpmRQW7FuWYnMECtwis1tG8Ne8LtjqgIgXZ9BRWyTI/D42vUIet9fq9v+K7Wp2xWnFzi9Rt9AMEc="}]},"_npmUser":{"name":"brady-blanchard","email":"bradyjames97@hotmail.com"},"maintainers":[{"name":"brady-blanchard","email":"bradyjames97@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.2_1684797846741_0.27334478622301184"},"_hasShrinkwrap":false},"1.0.3":{"name":"@brady-blanchard/lotide","version":"1.0.3","description":"mini lodash package","main":"index.js","directories":{"test":"test"},"scripts":{"test":"./node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"git+https://github.com/Brady-Blanchard/lotide.git"},"author":{"name":"Brady Blanchard","email":"bradyjames97@hotmail.com","url":"https://github.com/Brady-Blanchard"},"license":"ISC","bugs":{"url":"https://github.com/Brady-Blanchard/lotide/issues"},"homepage":"https://github.com/Brady-Blanchard/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"dependencies":{"eslint":"^8.40.0"},"gitHead":"db3e4831811fef23a3de34776eea5e3beb312022","_id":"@brady-blanchard/lotide@1.0.3","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-jrbRz3ZtkcQl+3JQk9LiOcc6Pe/GtAv9GBSu5dFa2qIRt0cNegCC+Sn1ObMm/L4seUdOKSUhA7qz5d/Oa/IpEQ==","shasum":"6fd4f41f5698e7c320352b29617fe131a09f7960","tarball":"https://registry.npmjs.org/@brady-blanchard/lotide/-/lotide-1.0.3.tgz","fileCount":31,"unpackedSize":21585,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGylOtOgc4Bsbd/NY3JVsnwkgr2R7bNTdRHcUkQuZAbbAiAh+pKR49mkpidqhU7VPX6aIe8zW5ENvdkKzjLZr9gOeg=="}]},"_npmUser":{"name":"brady-blanchard","email":"bradyjames97@hotmail.com"},"maintainers":[{"name":"brady-blanchard","email":"bradyjames97@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.3_1684879910346_0.7896129189686376"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-22T11:02:23.127Z","1.0.0":"2023-05-22T11:02:23.609Z","modified":"2023-05-23T22:11:50.616Z","1.0.1":"2023-05-22T16:16:35.000Z","1.0.2":"2023-05-22T23:24:06.919Z","1.0.3":"2023-05-23T22:11:50.511Z"},"maintainers":[{"name":"brady-blanchard","email":"bradyjames97@hotmail.com"}],"description":"mini lodash package","homepage":"https://github.com/Brady-Blanchard/lotide#readme","repository":{"type":"git","url":"git+https://github.com/Brady-Blanchard/lotide.git"},"author":{"name":"Brady Blanchard","email":"bradyjames97@hotmail.com","url":"https://github.com/Brady-Blanchard"},"bugs":{"url":"https://github.com/Brady-Blanchard/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 @brady-blanchard/lotide`\n\n**Require it:**\n\n`const _ = require('@brady-blanchard/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(\"...\")`: takes a string and returns an object with all the characters as keys and the count as values\n* `countOnly([...],{...})`: takes an array and object and returns an object with the count of each element in the array that's value is true in the second parameter.\n* `eqArrays([...],[...])`: takes in two arrays as parameters and returns true or false depending on the equality of the elements.\n* `eqObjects({...},{...})`: takes in two objects as parameters and returns true or false depending on the equality of the keys and values.\n* `findKey({...},()=>{}\")`: takes an object and callback function and returns the first key that the callback function returns truthy to.\n* `findKeyByVal({...},\"...\")`: takes an object and a value and returns the first key from the object that matches the value.\n* `flatten([...[...]])`: takes an array of arrays and returns a singular array with all elements.\n* `head([...])`: returns the first element in an arrray.\n* `letterPositions(\"...\")`: takes a string and returns an object with the letters as keys and their indecies as their value.\n* `map([...],()=>{})`: takes an array and a callback function, returns a new array based on the callback function.\n* `middle([...])`: returns the middle of an array that has at least 3 elements.\n* `tail([...])`: returns the last element in an array.\n* `takeUntil([...],()=>{})`: takes an array and a callback function, returns an array that is pushed to from the original array until the callback provided is true\n* `without([...],[...]])`: takes two arrays, first is a source array and second is an array of items to remove from the source array source. returns source array with without elements in items to remove array.","readmeFilename":"README.md"}