{"_id":"@charles.thompson/lotide","_rev":"1-cfd2bbcd3bcb3fa07f0c0efbc069fb04","name":"@charles.thompson/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@charles.thompson/lotide","version":"1.0.0","description":"Lodash clone","main":"assertArrayEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/lovely-cups/lotide.git"},"author":{"name":"Charles Thompson"},"license":"ISC","bugs":{"url":"https://github.com/lovely-cups/lotide/issues"},"homepage":"https://github.com/lovely-cups/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^8.1.3"},"gitHead":"9d645bcb0cb338a6c7822a819280dc3a8062ba94","_id":"@charles.thompson/lotide@1.0.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-HvOqibkimzieSqr37zq1CIoIfyzAPptAZMciv5LjF7Lz0SuigODE9jJXmUb61VGSdoIqEZSJarix0jMR8KG8Fw==","shasum":"0b8e18dd33d3e4cdf9466152d9c7676d508fa956","tarball":"https://registry.npmjs.org/@charles.thompson/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":15122,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfaUzACRA9TVsSAnZWagAASeAP+wUy9JCrTuT/llOSm7o9\n0AgrJydLsyIz9MRHu9k6ko4cnaP6VpSzJW0tNwenlAF76wNh04TadQwc9ltx\nydCbIiPe7YFjq3LV7mUgOldm5PLiyySfBaJQuGglaoabNLMopJHTEuuyfnP1\ngvXZM3u4TYQErJcwgMAcwYNy3s8N5WFCUPUCJycaIrYoKoQG1yPu4LQESr8K\n6BSA7UDA/6jorN99FH5Pel69jxS+f9lmc2VGWziLdVEcJwWqLkJfcDUhSBOh\n1bMltCl++dEE1TPjGT5302eBh4VpLU4Ktf2g71amkeA/athgJRduRCenQgQ6\n2bEc9PB8+qyjEOYIfyjgijhrQnn7F1fPcKP+nveyA/pHzxd1QO9c3TM1vHoW\n6GgqTVoxvIfdzP6RAg+0mJTucGQDd5zPta9up8vEGpe5sGor+0TStrEhkAur\nf63zOlpAlSyCXg0nq4xBn9ceRvn8QIPWs9Y/tn6CFzCQdTAq2jsha/XblBH9\nG4wviRdXy7wh8p+JT9GQyKSEcF39d4eWVi5PeRfx5xlrf/+tfMv3co/Xa4nd\nF/oHQ1tRxYZZswz6MoKGqKiGwFgcLQZjyQjS+Z0JMcaBy4bcn/cb8ctvIoNq\nibfq8Eb/ZLY6diMo4tUm8RrFPzAQrwY4k5EyyhYfXAkfBc/6YfsYNmUwD1+G\nZYxn\r\n=jKnB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEGowZblezdibMmCA0subl6yrclsIQ2P68gIoQeDIMPiAiAG4bFE6MAD005tngbp5tnRTpbvMjz+caksX2EF4Fnk5w=="}]},"maintainers":[{"name":"charles.thompson","email":"charlesthompson.2693@gmail.com"}],"_npmUser":{"name":"charles.thompson","email":"charlesthompson.2693@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1600736448212_0.5589977254797154"},"_hasShrinkwrap":false}},"time":{"created":"2020-09-22T01:00:48.136Z","1.0.0":"2020-09-22T01:00:48.317Z","modified":"2022-04-04T22:32:15.337Z"},"maintainers":[{"name":"charles.thompson","email":"charlesthompson.2693@gmail.com"}],"description":"Lodash clone","homepage":"https://github.com/lovely-cups/lotide#readme","repository":{"type":"git","url":"git+https://github.com/lovely-cups/lotide.git"},"author":{"name":"Charles Thompson"},"bugs":{"url":"https://github.com/lovely-cups/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 charles.thompson/lotide`\n\n**Require it:**\n\n`const _ = require('charles.thompson/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* `assertArrayEquals(arr1, arr2)`: the first three functions are for testing assertions if the actual is equal to the expected\n* `assertEqual(arr1, arr2`): \n* `assertObjectsEqual(arr1, arr2)`:\n* `countLetters(str)`: takes in a string and counts each of the letters\n* `countOnly(allItems,itemsToCount)`: return a proper report on all the strings found in the input array, and their respective counts\n* `eqArrays(arr1, arr2)` : runs two arrays to see if they match\n* `eqObjects(obj1,obj2)`:runs two objects to check for match\n* `findKey(obj, callback) `: checks value of keys in object\n* `findKeyByValue(obj, val)`: checks value and reports back key of obj\n* `head(array)`: takes first index of array\n* `letterPositions(sentence)`: finds placement of letters and sums together\n* `map(arr, callback)`: takes first value from each part of string\n* `middle(array)`: returns middle of array, sums together even array\n* `tail(arr)`: returns all but 0 index of array\n* `takeUntil(str, callback)`: reports back string upon unser input\n* `without(source, ItemToRemove)`: removes from array with user input","readmeFilename":"README.md"}