{"_id":"@alanmak95/lotide","_rev":"3-51dc98132c8887fa560d822af79d84b0","name":"@alanmak95/lotide","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@alanmak95/lotide","version":"1.0.0","description":"Lighthouse Lab Lotide Project","main":"assertArraysEqual.js","author":"","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/alan-mak/lotide.git"},"license":"ISC","bugs":{"url":"https://github.com/alan-mak/lotide/issues"},"homepage":"https://github.com/alan-mak/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^8.2.1"},"gitHead":"37293a8ea70dfd09dcb1ebd580a54caba2e5a305","_id":"@alanmak95/lotide@1.0.0","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-RxUM+499JhUUmIrZSZezNnTEVxJUteImIWZW9r0MVSH6O1RY4PyTEGNL0Itluw6LnQBe3ouMk5eXn3hoCbM6Pg==","shasum":"8c432c706fe96e9af6b9fb3d1e4e29a4ffb2a3bc","tarball":"https://registry.npmjs.org/@alanmak95/lotide/-/lotide-1.0.0.tgz","fileCount":28,"unpackedSize":31863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxXRUCRA9TVsSAnZWagAASd0QAJj/tEudAKOUh1tylgN7\nazdLbsD5VYRUDxxfBmAvHMQmcts/N1sEaiz1qGdY7fjFqBd2+JpF7meTka5f\nHNMM6PJYBXw3WBhrwlOYXIFoBrQpzLmIvledGqvoOpl3ojoIFaCaIVK7OoCZ\nH6+V+JW+njXfPVFAAn/EKmiQbnwMiu4TvpZTRyLaRqZBbuh9Kz6Nzm/trrEJ\nZ7uw43wMEMHvlkdlvyTYndCoVfM2B6/nNfdPsANu3dxKE2asDe09r3mn/IhI\nawjb4CLqefCOBhGC95Hrk+5Fwlj4f6g9QUQmhGwkGwAr6yLfl7uq4MVg9sz2\nqJprUKvncnCcxKr0E/vj6muC7+yaH3dDUjgQq0LThQzOELizIU768H5Yr5J8\nhx6mRh55I+Ku2B/dRgzKRJQCM55sW7rEuTc/mkaGEvO6WW0x8a0KHHJSQslK\nQnZEcKWcnfpRgXBsegFkWa+RaDR93qniCD6oY9e2s9cNSNrnzzKS042aEY0N\nCqSIjKNWdGeXviCE9ntU0VPrfbPIMR6FTnTtED7/NaF8Ya4/b/nDi+a0lbF8\nNMR6hLV9K6q1beh13guoYshi31Poy+EmyOOFi5gPXR6gYxC9WrBDgv+EBgbm\nGZCujAmicqRcGMUW0MlnOTOuQ0dj9S8pGy3th9gv9NogBWlj/7WKmW2oBjTa\n99Ce\r\n=TVfD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5+6AnSi/9vLul9MME0S1VPhfc4AAYDtltQ9i2Fg3V7AIhAI5NtQCggfvFxRlrDauiw1dobaCpVpaOOjyIjg6sqxJ/"}]},"_npmUser":{"name":"alanmak95","email":"alanmak95@gmail.com"},"maintainers":[{"name":"alanmak95","email":"alanmak95@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1606775891342_0.09170140281169425"},"_hasShrinkwrap":false},"1.0.1":{"name":"@alanmak95/lotide","version":"1.0.1","description":"Lighthouse Lab Lotide Project","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/alan-mak/lotide.git"},"author":{"name":"Alan Mak"},"license":"ISC","bugs":{"url":"https://github.com/alan-mak/lotide/issues"},"homepage":"https://github.com/alan-mak/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^8.2.1"},"gitHead":"37293a8ea70dfd09dcb1ebd580a54caba2e5a305","_id":"@alanmak95/lotide@1.0.1","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-2zq01CFCVgDYnnmcqZ7igJOrn24ABwq2SWP6BFaalnlGnNPOljCeaWkiw/OxjkVgen6slI+rTUijASG9Vw3AvA==","shasum":"75bac306c71f9ac9cb39dde31565548b35064442","tarball":"https://registry.npmjs.org/@alanmak95/lotide/-/lotide-1.0.1.tgz","fileCount":28,"unpackedSize":31847,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxXSICRA9TVsSAnZWagAAP/4P/iFOA68vFkYypghK+Stg\nEeaEkUCEBkdgH3UJdxT0rl/9jRLbIAxXMbjNBrAHVov9ur5mGiCG5GyGgNRu\n0dZiSEfnu422cEYgDuDAhT+7P5x2PXcvh50vcArLwoBpRwArBuV24NJxbwXc\nZq+YbI14w/jw5dHu/lWA8DnzF9PlMWVGSHNaOgDLEyZi3sqSkwwarBhUbuVr\nDyX7e/NDbm1Vq5DBWkadALvgfWs/NsniD/Z6UzaWBC/FbyyMSgtNzJr8uIor\nlYP98NCQmuQP0kUReLHnBVK73Z/ISwTeCVM282Go1kxfrjsendebRDXb2W0y\nx69leHlBFgyum710a/MSZUlUkuuz8cbztVMvZnONRQ3uaQoTxwIE3eGC80Nx\nCUp8/Iv4DiF4QayBFQId+pTwEEqh9Y9EZTLdLafZL5wCLtVOLOoKvZLSKSKt\nD5LFFNBRp0ymFX4Lc+QtToLQ+AL9L/UejYAbx3/St7QFOMKResqz24ryNamx\nThz2/rhrgfAsjiWW2ePxN9s1jSShHDo0jZ7VVJ8gNP6/wOlOXh3AjPfMUhbL\naMOst+AttZLUzXisEpGOwIhmIBPd/3K+K9gCcTVvHDME7Zrzn00d1otNhgEY\nHERBsNiZZv1Du32Q0Zu3FtEGeKTkznbN9z3RwBxXMDQ2bJWNhmFFIA9I+H3Z\ng0gH\r\n=rp40\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCF9hf5nJ3lw7sDGO0iX2Q2FFeGybedVSJEyAzsUz6GcwIgfTECTYI4EAq4gzgNtuG5y/VW1MKJEHOy3jty/3mNIfM="}]},"_npmUser":{"name":"alanmak95","email":"alanmak95@gmail.com"},"maintainers":[{"name":"alanmak95","email":"alanmak95@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1606775944482_0.7414714774062996"},"_hasShrinkwrap":false},"1.0.2":{"name":"@alanmak95/lotide","version":"1.0.2","description":"Lighthouse Lab Lotide Project","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/alan-mak/lotide.git"},"author":{"name":"Alan Mak"},"license":"ISC","bugs":{"url":"https://github.com/alan-mak/lotide/issues"},"homepage":"https://github.com/alan-mak/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^8.2.1"},"gitHead":"37293a8ea70dfd09dcb1ebd580a54caba2e5a305","_id":"@alanmak95/lotide@1.0.2","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-NRqnkyoQHizjHzIw08MimDrmetes8X/0dWYOKwqE6WwrfWScoZ2aU22CDv/BLjzpu7JgJNs+YAwnIInkM6xjMQ==","shasum":"624853dfb619e99eb9e20fc770a89666d83e7520","tarball":"https://registry.npmjs.org/@alanmak95/lotide/-/lotide-1.0.2.tgz","fileCount":28,"unpackedSize":31847,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxXVBCRA9TVsSAnZWagAAUnQP/0LxzHaTbSDuwucCRYMG\nnN2+Jc7jThoUdRYHQaoOnZGpcUt01WF69SkkqD/4QwcBcsmtCO/AiaFxI/C/\nr7rYPJjyhR8965x/rSi+cqa8M+fAoawkTlK3TVGYStcF54O3e2ZMTvn6Y47D\nc/262cbQfOYI2zaH9R+mAQwSOEmL6FAM7S4ExzpbYIhW3mbz9aeBsyP6b40B\n5M//yh5nceB1ySABqtXIP/q9IjE28OAa3WewBTsENtRtDZpa/oe2k8gx0RZ5\nTVbGb/BdkDsiEfKYaDUdSSASITzk6std4mBcvqK0TqsPRsURBMG4YnlM7U+q\nM9DY1YlkBtXefAJeGrXzVEJVLCcynOuB+wr5Yx2fgtmnZ9UHPUigAlFeJQOb\nwNGBC8HelBvX26fBokYq8LSgbJL1t0FrtgLYof6ydGC8JCbf+TP2Yl4Ahs6y\nFP5AzOzuI9wZEh/dsv9tHLaY+y1EsN+I3uvT1m9F7+qYySvafhvPtgZ90KTZ\nc3n1GGnSic0Ld9gzOt/c0nrE0z8bXIVOTdyYMsi1mwP5YhJxoKx86uxYXjKo\nfJLhkmAfS2UXRmLDVfogVcpe6ougxJwejMZA5vlzxLSjyjjJIdK3MahoqOUy\nbSc3Q+I25AU80NLwVv+kBkRun8C7KKKU23guf5QK2EjenE/In6E7s4Tgwmbm\nX2Ig\r\n=VMlv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXGaRi/jcQWoy/nexOtNFdbRY/aQbUYpVAJZ6yjWE8sgIhAODLUzig+AHbAg9l2FKZ30j4doSb/KgEpWO9JJ1RQM3F"}]},"_npmUser":{"name":"alanmak95","email":"alanmak95@gmail.com"},"maintainers":[{"name":"alanmak95","email":"alanmak95@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.2_1606776128623_0.6008988531502208"},"_hasShrinkwrap":false}},"time":{"created":"2020-11-30T22:38:11.305Z","1.0.0":"2020-11-30T22:38:11.667Z","modified":"2022-04-04T12:33:08.056Z","1.0.1":"2020-11-30T22:39:04.626Z","1.0.2":"2020-11-30T22:42:08.744Z"},"maintainers":[{"name":"alanmak95","email":"alanmak95@gmail.com"}],"description":"Lighthouse Lab Lotide Project","homepage":"https://github.com/alan-mak/lotide#readme","repository":{"type":"git","url":"git+https://github.com/alan-mak/lotide.git"},"bugs":{"url":"https://github.com/alan-mak/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 @alanmak95/lotide`\n\n**Require it:**\n\n`const _ = require('@alanmak95/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(...)`: returns the first element in an array\n* `tail(...)`: returns the last element in an array\n* `middle(...)`: returns the middle element in an array\n* `assertArraysEqual(...)`: compares two arrays to see if they are equal or not\n* `assertEqual(...)`: compares two items to see if they are equal or not\n* `assertObjectsEqual(...)`: compares two objects to see if they are equal or not\n* `countLetters(...)`: counts the different letters in a string\n* `countOnly(...)`: takes a collection of items and return count for a specific subset of those items\n* `eqArrays(...)`: takes in two arrays and returns true or false based on a perfect match\n* `eqObjects(...)`: return true or false based on a perfect match\n* `findKey(...)`: scan an object and returns the first key for which the callback returns a truthy value\n* `findKeyByValue(...)`: search a key on an object where its value matches a given value\n* `flatten(...)`: lowers the elements of an array by one level\n* `letterPositions(...)`: return all the indices in the string where each character is found \n* `map(...)`: return a new array based on the results of a callback function\n* `takeUntil(...)`: return a \"slice of the array with elements taken from the beginning\" until callback provides a truthy value\n* `without(...)`: return an array removing unwated elements\n\n\n","readmeFilename":"README.md","author":{"name":"Alan Mak"}}