{"_id":"@charlesp8412/lotide","_rev":"2-63c9bc27a4b693cb7897209ef5a58900","name":"@charlesp8412/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@charlesp8412/lotide","version":"1.0.0","description":"A mini clone of the [Lodash](https://lodash.com) library.","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/CharlesP8412/lotide.git"},"author":{"name":"@charlesp8412"},"license":"ISC","bugs":{"url":"https://github.com/CharlesP8412/lotide/issues"},"homepage":"https://github.com/CharlesP8412/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^8.2.0"},"gitHead":"0b5a82f882001337151cc8db967552a165f08d6f","_id":"@charlesp8412/lotide@1.0.0","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-fITZIBWZdYyBz1OwpCMy7WFCxwaCd7pGF9XdbRRPmW0ClhRbzL4MOIHg46XqSAgMYaHODcg/irWqWBgaI5o5dg==","shasum":"3ff87ff27dae9b8354e9209921a89405a62c2539","tarball":"https://registry.npmjs.org/@charlesp8412/lotide/-/lotide-1.0.0.tgz","fileCount":27,"unpackedSize":25829,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfoIoQCRA9TVsSAnZWagAAD94P/0zcv4MexndWF8UpQXQA\nyVZBEYy1wpmpZiUPalFFQ74z8r5QrqWNFkQ7I2F5kvs5qEu4+N6yj5zVN7Cy\ntPS99oGwMi0Fh9CuAwbci1li/JgoZVIQwmCKCe/BoRrvcCtZCoofUwbgItoV\n9EPeGQ/Hsa3fyGCjWs7cFUjkiRM31XV0DegeqD2Y+9+XgLCAjV1qGnnIbqXl\na3r20yAtIw8AuViv89gfBRuHX0nE66zSdVvjJ0zEq+a070OoL32kpwUxFaig\nHIg588vls9pvVHI/huUtRsDh9uHXF4X2Bet1vqfoL/C2t/PiRl9eUSX6Z+Yk\nncD87xaduADC6CdAjCQD8KBGf92/8RNdkadtQOqQiiBzCsR4+X6KpUS3iLg/\nSagJYCDir5ZIoQYEd4SZZQgRCQZ8wOqxANOb3snZLoWd6eyqAghmKLUsYuTx\ni17Xgwey/O/kYWeT2KN+7NTKko0M6zXINJtEPbX/+yBcTwnKafJYjDycbS3Y\nBPofX8IWPBXJc9uZzbpZGYdf3Jb0Vc95Lmixo5jhYPCNZDlTxFHeGwyaypFc\nQ52B5d4lVG36cSIb0dBmkRtQzZ3kjgllAqGI7RST3pjBoOG+ZEu3LRVwcN5b\nlqF/VBaWBnJGg4ConRTiw/dfyCeqsHfbmvFCk5H1BbDYXMdNBXR6iSN0Luaa\nDdSD\r\n=YVHm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMo5lbdifwtvwAywcGxj+CNIYdmEUfnBY2h2ZbEbht1AIgHjPWY+cXlwUqiYtmASkaxZqqw/uHL6JBJI6KS+0K5/4="}]},"maintainers":[{"name":"charlesp8412","email":"Charles.Prystupa@gmail.com"}],"_npmUser":{"name":"charlesp8412","email":"Charles.Prystupa@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1604356623590_0.0025632003924409563"},"_hasShrinkwrap":false},"1.0.1":{"name":"@charlesp8412/lotide","version":"1.0.1","description":"A mini clone of the [Lodash](https://lodash.com) library.","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/CharlesP8412/lotide.git"},"author":{"name":"@charlesp8412"},"license":"ISC","bugs":{"url":"https://github.com/CharlesP8412/lotide/issues"},"homepage":"https://github.com/CharlesP8412/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^8.2.0"},"gitHead":"1e62b25cbf370156f399533c441dc9d9680990c3","_id":"@charlesp8412/lotide@1.0.1","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-+il/NKGGDUxmVrlOBCaPfi8ebxoSAZAH39kcdqIjXPOMgeY3PeBD/fNmxE2bFCnpPE/aNNLyQCILalmkCyggnQ==","shasum":"ef4aadb496565788cfec4269270c2174fa2ea7ba","tarball":"https://registry.npmjs.org/@charlesp8412/lotide/-/lotide-1.0.1.tgz","fileCount":27,"unpackedSize":20278,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfoLyECRA9TVsSAnZWagAAwRcP/RVIZDhqTckVex5gMlxE\nRSQZH+IpyrfYPn3X22vmmtOF9xjKYyw9LCqffD951ZQyKGjqG9cfa9syGRBS\nFExqmQFbTf4F6zwrn4CkAX0s7tX+9LXOgLlcjE+ALGP6YyVLsRaGmPHXiTZh\nIXF+5jUwDs6HMmp/E4MuIwGca6Cd51Imbz+VY1338XPkNd/twuozKLlIpVwa\nljNATCwijnL6ezT9J3N6emxJqkBSI94p8l5hLmEjv/JxDvBQpUfZ22Uh70hx\n+Ka7yU7SnHxBxw0ltvNwfvDzfWgm50gdX66HfS3S4ZRtn1ZecQRRbpqsg9Td\nW7piDHSvom675esb7aAJ8YnjXSpRkZb1W91FXDyErCdP74TeS33FZe38WjoF\nD1m8P+xAcqP7yL4WoJ6tfYM4rEZCzeCXFHxxgFx8k4A/WPEOw+N3bzHuwVCX\nv7T/KY6XWVPaej3GJM6FjWkRPYrc+ULu8RH5orEHu6ppd+RR9WqOcmvRLBlW\nD7n4AoITj7TlVdjA3oG7jme7OUO/1e4dt4jIm504TD7O9a7C5kaeZpUB/38Z\ndKaGy7gs982IwusLgohhD7noFQsW9F80uYvXD8NWz91nOU54+nbWO8xZkrpD\n0a78FC3nN0CIvZu3HN3l678KOuiuHZG1L06poyaAHWtOlt01eLp6PeKieAIs\n8Fqq\r\n=ppDj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEQfz+HpAmd9K9f0R+d0018RBHSdRJwVJZJ2J/XKdDYVAiEAtvEuMPW69+mmVeX0tRBSRq3EWjy9ZvFtq6g/IQpb6lo="}]},"maintainers":[{"name":"charlesp8412","email":"Charles.Prystupa@gmail.com"}],"_npmUser":{"name":"charlesp8412","email":"Charles.Prystupa@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1604369540044_0.8078812378367366"},"_hasShrinkwrap":false}},"time":{"created":"2020-11-02T22:37:03.550Z","1.0.0":"2020-11-02T22:37:03.720Z","modified":"2022-04-04T22:32:18.032Z","1.0.1":"2020-11-03T02:12:20.194Z"},"maintainers":[{"name":"charlesp8412","email":"Charles.Prystupa@gmail.com"}],"description":"A mini clone of the [Lodash](https://lodash.com) library.","homepage":"https://github.com/CharlesP8412/lotide#readme","repository":{"type":"git","url":"git+https://github.com/CharlesP8412/lotide.git"},"author":{"name":"@charlesp8412"},"bugs":{"url":"https://github.com/CharlesP8412/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 @charlesp8412/lotide`\n\n**Require it:**\n\n`const _ = require('@charlesp8412/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* `assertArraysEqual(actualArray, expectedArray)`:\tEvaluates two arrays against each other (Used eqArrays)\n* `assertEqual(actualValue, expectedValue)`:\tEvaluates two values against each other\n* `countLetters(string)`:\tCounts letters in a given string\n* `countOnly(allItems, itemsToCount)`:\tGiven an array and an object. It will return an object containing counts of everything that the input object listed.\n* `eqArrays(array1, array2)`:\tCompares two given arrays and their contents\n* `eqObjects(object1, object2)`:\tCompares two given objects and their contents\n* `findKey(object, callback)`:\tFinds a key in a given object, using a value (Return first found)\n* `findKeyByValue(key, value)`:\tFinds a key in a given object, using a value (Return first found)\n* `head(array)`:\tReturns the head of an array [index 0]\n* `letterPositions(string)`:\tCompares two given arrays and their contents\n* `map(array, callback)`:\t\n* `middle(array)`:\tReturns an array containing the middle value(s) of a given array\n* `tail(array)`:\tReturns the tail of an array (all except index 0)\n* `takeUntil(array, callback (or val))`:\tCreates a new array by going through an existing array until it reaches a specified value\n* `without(source, itemToRemove)`:\this function should take in a source array and a itemsToRemove array.","readmeFilename":"readme.md"}