{"_id":"@alasam/lotide","_rev":"2-3aa2041ea13815fb164262b3e5be9290","name":"@alasam/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@alasam/lotide","version":"1.0.0","description":"Library clone of lodash","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/alasam/lotide.git"},"keywords":[],"author":{"name":"Anthony Lasam","email":"alasam@live.com"},"license":"ISC","bugs":{"url":"https://github.com/alasam/lotide/issues"},"homepage":"https://github.com/alasam/lotide#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.1.3"},"gitHead":"bc9a88545bf2aa900fdd45d5dcbdd404492a1e0f","_id":"@alasam/lotide@1.0.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-MmJdGZ6JoyhA/E/LrnDbDT2l6IhgvJ7u9CE0wXhIObuXzmj/4oaQuNFm4wt4cscisc9jG3PApsZDFczzf4VSrA==","shasum":"32d15b51a3c11c7ae5ca6e0aac462fd9681e4c01","tarball":"https://registry.npmjs.org/@alasam/lotide/-/lotide-1.0.0.tgz","fileCount":35,"unpackedSize":22441,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhxIz/CRA9TVsSAnZWagAAkVEQAJYtZs6fBd710UwYy9uw\nw6JLL7Cn16x+yyaaDlyH0iS1UOAwDFlip6osVyxAPmDRMEwyTGZCoyiqdw2b\n6NWx4PH8lLzVtK4j2sRzXT9pNoMtVIZBVybQlReIk1uYUUms3ChNOe+IiL+F\nzrjlcSWreiUk0Q8MtHpMoC2SruFI0hqikCpXQKocCK7iLQCHasRCQuZWMdG1\nZkaHhJuFXPC0HA0fj8lrm8wGETmbyY7tjeudp6qTXQqsBUXSPGmnKAk2uEmM\nmPbNXMWfF8BJINpixYLSH6Wec8sDFEJ/P+bWCuEjVUfljYWQLCq+uzq3t9/H\nIJUoSV85VdEuF/wB28Fq+RJ1NByGgEFsFGWVsqcAEB8AhItl5GXwSlicKLZR\nchVtYQvTdWT5c0fCJFXsvQWj2yxI7UwHz0dfCQRppP11YWmXAYUkUWuWOS17\nD4QKPa4x/jBwBfURLm/LsAeibCnFn8amTu3HHpTqXj6NklcXc1uLjX4zGiap\n/H7dwfS/HhwVzfncGoRqRPNc6zFPztpyKGcSEKLh2ISH9KgndQ89ZN8QebtH\nG0MFqqjW12XbhnH/D8mn46DS+KfpzHUnMhTZdNKLxmI0/x2rFKhLMjjTKR4O\nRlCXb8OPH/7bjXX4huMXSPxqkkGPh7fxmul60xxXyAt6ECdEQnWXiVXELASq\n2YVf\r\n=YvjU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrfADqbE942qxkOFFfwQTPW/AkarA9y420+V6IxtIFiQIhAL2e+Z7RhTm78TeDoBersmGso10jNlzpaAT+5/m3iyCX"}]},"_npmUser":{"name":"alasam","email":"alasam@live.com"},"maintainers":[{"name":"alasam","email":"alasam@live.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1636016692613_0.4316493859913677"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-04T09:04:52.566Z","1.0.0":"2021-11-04T09:04:52.743Z","modified":"2022-04-04T12:33:24.568Z"},"maintainers":[{"name":"alasam","email":"alasam@live.com"}],"description":"Library clone of lodash","homepage":"https://github.com/alasam/lotide#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/alasam/lotide.git"},"author":{"name":"Anthony Lasam","email":"alasam@live.com"},"bugs":{"url":"https://github.com/alasam/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 @alasam/lotide`\n\n**Require it:**\n\n`const _ = require('@alasam/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* `function1(...)`: description\n* `function2(...)`: description\n* `function3(...)`: description\n\n* `assertArraysEqual`: Compares 2 arrays as parameters and returns a pass if true, and a fail if fales\n* `assertEqual`: Compares 2 primitive data and returns a pass if true and false if fails\n* `assertObjectsEqual`: Compares 2 objects and returns a pass if true and false if fails\n* `countLetters`: Takes in a string as the parameter and logs and counts each character in the string and stores info in an object\n* `countOnly`: Takes in 2 objects, one with a list of items, and the second with a list of items and if they are true/false, then outputs only the items that were to be included\n* `eqArrays`: Checks and compares 2 arrays, if they are identicle it will return as true, if not false\n* `eqObjects`: Checks and compares 2 objects, if they are identicle it will return as true, if not false\n* `findKey`: Takes an object and uses a callback function to find matching values and return first key with said matchign values.\n* `findKeyByValue`: Finds a value in an object and returns the key it is in.\n* `head`: Returns head of the array\n* `letterPositions`: Looks at every letter in a string and logs its position in an object.\n* `map`: Looks at every letter in a string and logs its position in an object.\n* `middle`: Returns middle item/items in an array\n* `tail`: Returns everything in order, without the head of the array\n* `takeUntil`: Adds data from array until a certain condition is met from the callback function\n* `without`: Pulls two arrays, the array to be modified, and the array with what to remove","readmeFilename":"README.md"}