{"_id":"@ascotlan/lotide","_rev":"4-b46114335ccff80300c4b2cd2f60c804","name":"@ascotlan/lotide","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"@ascotlan/lotide","version":"1.0.0","description":"A mini clone of the Lodash library","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ascotlan/lotide.git"},"author":{"name":"Antonio Scotland"},"license":"ISC","bugs":{"url":"https://github.com/ascotlan/lotide/issues"},"homepage":"https://github.com/ascotlan/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"0f0b34da4e5183ba9c8027244cb5c88936b3c901","_id":"@ascotlan/lotide@1.0.0","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-Xr1erzbrFm7lCAZsLI5+BjOUpQ8iZn1YpBdimIhFusEl5+k3sPjydKeQeYASrpfHk6AUPHuCYtddzI7uDMSk3w==","shasum":"5bfb38181e24ac379a65a1682094045e2f421bb9","tarball":"https://registry.npmjs.org/@ascotlan/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":22620,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDoSUfgnZnbRumBQ+4xhq8MASAhlGAT1wMfmpXmvXC3RQIhANoEhWzx+mFxE0YQDHmtWkxnB1bib90Ptej3y03NIQEl"}]},"_npmUser":{"name":"ascotlan","email":"antonio.k.scotland@gmail.com"},"maintainers":[{"name":"ascotlan","email":"antonio.k.scotland@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1686272380732_0.47513157972586617"},"_hasShrinkwrap":false},"1.0.1":{"name":"@ascotlan/lotide","version":"1.0.1","description":"A mini clone of the Lodash library","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ascotlan/lotide.git"},"author":{"name":"Antonio Scotland"},"license":"ISC","bugs":{"url":"https://github.com/ascotlan/lotide/issues"},"homepage":"https://github.com/ascotlan/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"6c1c9bc40bfce36cc8f7ad3b413001bb284cff39","_id":"@ascotlan/lotide@1.0.1","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-tz3uLRjtECJXimgQoQl1VDllrETiCBZU62S/n3US5Va/YgR7IQCix55ge6BhfHpChMz85zJF2aSXSV5G8LNX5g==","shasum":"72f64677cc3c64f4cc3f1c134f26f6ec6d8768d9","tarball":"https://registry.npmjs.org/@ascotlan/lotide/-/lotide-1.0.1.tgz","fileCount":34,"unpackedSize":23963,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICAHkED5ULNEo9E2Y72lwtsfhH5iiFALNUpBi3xwmQkaAiEA9vkaSHw9CtaFCrncY582dpZWKHehuedAUOQEo33Y3cA="}]},"_npmUser":{"name":"ascotlan","email":"antonio.k.scotland@gmail.com"},"maintainers":[{"name":"ascotlan","email":"antonio.k.scotland@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1686336821402_0.439417608308873"},"_hasShrinkwrap":false},"1.0.2":{"name":"@ascotlan/lotide","version":"1.0.2","description":"A mini clone of the Lodash library","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ascotlan/lotide.git"},"author":{"name":"Antonio Scotland"},"license":"ISC","bugs":{"url":"https://github.com/ascotlan/lotide/issues"},"homepage":"https://github.com/ascotlan/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"8d03b8c8e7c95d15f999b1002e5b7f38c6f0f5aa","_id":"@ascotlan/lotide@1.0.2","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-cKHQlVKvNymp9JHortCqu8EyfsV8aCxke6JpEkZJ4pqz3bbOAMqjHK03qOCpg9NJT+0Lc5tIBRQLnTQWOFdW5Q==","shasum":"63060ce730fecaeebbf950fcdc2896611c584815","tarball":"https://registry.npmjs.org/@ascotlan/lotide/-/lotide-1.0.2.tgz","fileCount":34,"unpackedSize":22720,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGCMRoKjSE5daegFuIIDoB57Psc28UalFThS7fpTaedgIhALEYJWGlRQcCA45a9Dzb7XxjMA9x4soOk1ojCPyBB4YH"}]},"_npmUser":{"name":"ascotlan","email":"antonio.k.scotland@gmail.com"},"maintainers":[{"name":"ascotlan","email":"antonio.k.scotland@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.2_1686337842599_0.5621443207398902"},"_hasShrinkwrap":false},"1.0.3":{"name":"@ascotlan/lotide","version":"1.0.3","description":"A mini clone of the Lodash library","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ascotlan/lotide.git"},"author":{"name":"Antonio Scotland"},"license":"ISC","bugs":{"url":"https://github.com/ascotlan/lotide/issues"},"homepage":"https://github.com/ascotlan/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"ac645a6ff9f57f82c5cb7e5057d6f5e414d9c11b","_id":"@ascotlan/lotide@1.0.3","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-PMcYRa14m2Zd7TnHLSDfmsIjBKUhfx+xOf+MG53aNzq2S5wvUeu7BuW2q1/qzqtm+fjDeo4lLpTlS+GWFm8lgw==","shasum":"16d7f7433b17634b8872759f04c806704e6b34ec","tarball":"https://registry.npmjs.org/@ascotlan/lotide/-/lotide-1.0.3.tgz","fileCount":34,"unpackedSize":22860,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGDauxGTfynaxfeMi54+6Id3oGd/HmCg/W5VTmaQMitoAiBdkl5Ue8R9Pfo/UVGrTf/6YCcpWg184GwAl4mFO3/HHw=="}]},"_npmUser":{"name":"ascotlan","email":"antonio.k.scotland@gmail.com"},"maintainers":[{"name":"ascotlan","email":"antonio.k.scotland@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.3_1686338926196_0.3715605712688479"},"_hasShrinkwrap":false},"1.0.4":{"name":"@ascotlan/lotide","version":"1.0.4","description":"A mini clone of the Lodash library","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ascotlan/lotide.git"},"author":{"name":"Antonio Scotland"},"license":"ISC","bugs":{"url":"https://github.com/ascotlan/lotide/issues"},"homepage":"https://github.com/ascotlan/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"1c1ab9953a06de571ed9713ab75bfb3c2e93c920","_id":"@ascotlan/lotide@1.0.4","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-rgBaZ0m+4zu6bme6tsa8NVcoNZnfwaPp0R7TI+jiD/IRERTWx/JVr+5xhxkAd5A9j7Kco+bMfPNNTiiyLOEh5Q==","shasum":"1cc2560136cc9a85945f704c48c8b84598566b3d","tarball":"https://registry.npmjs.org/@ascotlan/lotide/-/lotide-1.0.4.tgz","fileCount":34,"unpackedSize":22946,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3e1HgH7I16RqhnlbIPVpKO5iMGd5by4IFnHLprw/QTQIgNzU7gKbVU6YBYrEtYPPwTJcUhWTbsOSa+N8qJHOQ0LE="}]},"_npmUser":{"name":"ascotlan","email":"antonio.k.scotland@gmail.com"},"maintainers":[{"name":"ascotlan","email":"antonio.k.scotland@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.4_1686340716607_0.5391356003759546"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-09T00:59:40.674Z","1.0.0":"2023-06-09T00:59:40.903Z","modified":"2023-06-09T19:58:36.882Z","1.0.1":"2023-06-09T18:53:41.609Z","1.0.2":"2023-06-09T19:10:42.803Z","1.0.3":"2023-06-09T19:28:46.416Z","1.0.4":"2023-06-09T19:58:36.789Z"},"maintainers":[{"name":"ascotlan","email":"antonio.k.scotland@gmail.com"}],"description":"A mini clone of the Lodash library","homepage":"https://github.com/ascotlan/lotide#readme","repository":{"type":"git","url":"git+https://github.com/ascotlan/lotide.git"},"author":{"name":"Antonio Scotland"},"bugs":{"url":"https://github.com/ascotlan/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 @ascotlan/lotide`\n\n**Require it:**\n\n`const _ = require('@ascotlan/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- `assertEqual(...)`: a function that takes in 2 values and returns true if they are equal and false otherwise\n- `head(...)`: a function that takes in an array and returns the first element in the array.\n- `tail(...)`: a function that takes in an array and returns everything except the first element of the array.\n- `eqArrays(...)`: a function that takes in 2 arrays and returns true if the arrays are equal and false otherwise\n- `assertArraysEqual(...)`: a function that prints an appropriate message after comparing the two arrays.\n- `without(...)`: a function that takes in a source array and an itemsToRemove arrays and returns only the items from the source array that are not in the itemsToRemove array.\n- `flatten(...)`: a function that takes in an array that contains elements including nested array of elements, then it returns a flattened version of the array.\n- `middle(...)`: a function that takes in an array and returns middle most element of the array.\n- `countOnly(...)`: a function that takes in a collection of items and returns the count of a specific subset of those items\n- `countLetters(...)`: a function that takes in a sentence and returns a count of each of the letters in the sentence.\n- `letterPositions(...)`: a function that takes in a string and returns all indices of letter positions in the string.\n- `findKeyByValue(...)`: a function that takes in an object and a value and returns the first key that corresponds to that value.\n- `eqObjects(...)`: a function that takes in 2 objects and return true if they are equal and false otherwise.\n- `assertObjectsEqual(...)`: a function that takes in 2 objects and returns true if they are equal and false otherwise.\n- `map(...)`: a function that takes in an array and a callback and returns a new array based on the results of the callback on each item in the array.\n- `takeUntil(...)`: a function that takes in an array and callback and returns a slice of the array based on the criteria specified in the callback.\n- `findKey(...)`: a function that takes in an object and callback and returns the first key that meets the criteria specified in callback.\n","readmeFilename":"README.md"}