{"_id":"@caboose1183/lotide","_rev":"2-28e5c4fcc30cfbb104f06cb4fd29486b","name":"@caboose1183/lotide","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@caboose1183/lotide","version":"1.0.0","description":"a mini clone of the library lodash","main":"main.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/caboose1183/lotide.git"},"author":{"name":"Sidney Pang"},"license":"ISC","bugs":{"url":"https://github.com/caboose1183/lotide/issues"},"homepage":"https://github.com/caboose1183/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0"},"gitHead":"0f01660257580f1bdf6778b1b1bcf19f68de6363","_id":"@caboose1183/lotide@1.0.0","_nodeVersion":"12.19.0","_npmVersion":"8.9.0","dist":{"integrity":"sha512-IjrxAjvwX8vB6YRQk0oazUDCglM3xX+yT7HyMpuxRadDQJwaKxo8xL10G5dU4uU4/tZyS4xC34a5EZE2sU1t1A==","shasum":"bfe03c56f485e63800a4863abb93c0ef3ef37b4b","tarball":"https://registry.npmjs.org/@caboose1183/lotide/-/lotide-1.0.0.tgz","fileCount":35,"unpackedSize":15578,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHGrc0o4SyydCUV4HfFqp/53GaWlFAz4DeuERZIIBdpbAiA8Db9h4YEI7RJ5HLoTUJeD2+uBI1Ljb+qGshqYUg4Iog=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinmR6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmouwQ/9ELDVjRmI4P9aWeNeOp97rMQTNuMLcxDjXqX7Gev+Ew0k7Upi\r\nLeWLXJK9Aibz2SIR6L+wReA5tumgpj80qP40A1gx+GM1GNH6hFZpgG82qm+T\r\n3VpO0URVoUcCbhde0Op3L+wraPOqs1uJJUVlnBneda8WcLpB98WLsNIsliSC\r\n3rATjnOEB2DTIjjSxqbOgt06wUVE/OKP8tokFHyjwSIEfaZI8nmDwG6V4uHW\r\nNwPeiXTfW2pwBV79l/xB/bfSZ0nSSMqwdbaD4TVgwnsWAnAc3GUpk7FgC/Ml\r\ngCynXSdWKShcNzIBNtGg9vqgOmj6xepsSjwabD7WKTwCBFfeA/2wRs6HEFsr\r\nLM3C6qRZY1j6OXsaW6OhAMmW1P/fm8+C5RlHXe3sPfbCqzOPyQYmzbf8ncwc\r\nfZK/j2XFMijvOpIQA3BBkLJvdnp6U3jtn0h8nwCYitBCzrzjYBwRwNxwvlh4\r\nm66PYIClLzAqxuLm30C++Xe3MPTELpy7+sEBi8FPqnrLgtm4spWO/YDITSyu\r\nCCeFfkq4544+d05jA7jHTNRE1SqgepVcDovRVaTynCNkyr524pSyHfEWgH72\r\n2Q4V9G+kAFoMVsvi+v+Z4DJCuTVs7yeglJ2OWl/BW7a/Qr9GvV05xYMo9KlZ\r\n7/HBWiShixR+O0N96N4am4vPq72AvzzurVg=\r\n=I3st\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"caboose1183","email":"sidneypang@hotmail.co.uk"},"maintainers":[{"name":"caboose1183","email":"sidneypang@hotmail.co.uk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1654547578729_0.8224443291469374"},"_hasShrinkwrap":false},"1.0.1":{"name":"@caboose1183/lotide","version":"1.0.1","description":"a mini clone of the library lodash","main":"main.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/caboose1183/lotide.git"},"author":{"name":"Sidney Pang"},"license":"ISC","bugs":{"url":"https://github.com/caboose1183/lotide/issues"},"homepage":"https://github.com/caboose1183/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0"},"gitHead":"f3a2bed668e6aa09a9cd21a387df2b4aa364d8b6","_id":"@caboose1183/lotide@1.0.1","_nodeVersion":"12.19.0","_npmVersion":"8.9.0","dist":{"integrity":"sha512-BP3SJSehRXzOCBAD6UXVtMy0TiNOz6jZ39lKNeIswCLBkWeSrLmo4M2QSKLnX3zZJgCyUfmTsSHVDdtzRVtPYw==","shasum":"f9c7d80d8006ecc49f3f37240c34abd22de049e7","tarball":"https://registry.npmjs.org/@caboose1183/lotide/-/lotide-1.0.1.tgz","fileCount":23,"unpackedSize":16021,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAxIvUl1RUfQUpRDzudiaXNwr2meGPjw8b1yXUVJY0/PAiEA4tJe7wa5kC4tSFL+b2VqQF48MqGHTCfzzD1A+931YEY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinos9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoJ4hAAoK6hLBm0n6tScQKcvYvzDiaLx5klO2dlqD/mydd6K2Kn8m+0\r\n/9sbEQ7NTHE+93Ajk/21FVx3iWRwxeoNEjxgE+85MiAPAtugT+9//4byKal2\r\n7VEUe2ypdpkNgrRS/8z2bk0V6jkoZs2F334pTHJkxVUF+FVOn7gdHtGxJR+/\r\n8Wad9A/I9/nYqiY/vfWKSEF7+FLwmymy3tydNDDKIf6Y0XFhW5hooQbTQGT1\r\n6nZs+GsxDOBH/+R2iyiP56aXpRCv122sqRXTeENTejoZ2+2dsW0BMMY/eadV\r\nREhUYnCTFNm3WrZYoHrUTwtEo/kItx2w9pw10ZepzQQfF1IL2DdfBdL4foBo\r\nYT+hNNnUYF8A8XLy+Np9KzwWdRQt1iJKVJ0yzpd5sVkSUj8KU5R/G05jTPUL\r\nrZIOiPNIdloBCuUImekmDwrAV5x+UHukRH5ixr0eMbwapV8U60NbFUR/ZA9c\r\nN/DdKC8/gsHZW13ibPoHnRQXJP7M3EUlyOy5mYu41MsSfVxVBlko3DrC84rT\r\nFEoM0T2TNGe1W7/GrQfnGmX6NUn1UD871O90iFl3mOZVHFrsLub5xxqwgAHh\r\nBhWNTqGrPkdTemgTrLtHXyFM5lsX/m5SYrD8F4m7XttlyZvBoef9wznKmbzx\r\nPftFv6ulCoGtUISbg8HMfnKHPmSS2ghSV/4=\r\n=dwKK\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"caboose1183","email":"sidneypang@hotmail.co.uk"},"maintainers":[{"name":"caboose1183","email":"sidneypang@hotmail.co.uk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1654557501391_0.832855475244634"},"_hasShrinkwrap":false},"1.0.2":{"name":"@caboose1183/lotide","version":"1.0.2","description":"a mini clone of the library lodash","main":"main.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/caboose1183/lotide.git"},"author":{"name":"Sidney Pang"},"license":"ISC","bugs":{"url":"https://github.com/caboose1183/lotide/issues"},"homepage":"https://github.com/caboose1183/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0"},"gitHead":"0e0f103b8d04f2d04446d9ba71805acab86d4996","_id":"@caboose1183/lotide@1.0.2","_nodeVersion":"12.19.0","_npmVersion":"8.9.0","dist":{"integrity":"sha512-pFBriQ5EmlNcUN7T48PRqrpi6lruEBKJY1Wll8mG/OHLf5C/3oMGk+kmPkp2x2UavesfMgHIFF7sabtoqhK2YA==","shasum":"fdb2918c83dfe3112e0e8cc0a6dcf104790307d1","tarball":"https://registry.npmjs.org/@caboose1183/lotide/-/lotide-1.0.2.tgz","fileCount":23,"unpackedSize":16133,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAC0fu/YC02jBELvNgvSunn9uwfJroko9S2T7hcGtyKgIgaNSjnyDJMjS13IkCkDYuQhXXm8uYW/KL8aF/TSIsnsk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJino38ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmopcQ//SnPax2ABI6hxJS7O9xDL6Bs+ln5OTVtAJN5NiAbHveBjqN5b\r\n35XntMZ7VGPlDbIJPD3vqtiswX63dvG4tKpzzP7GvdLjsI0JdBjy0tk3Yk9d\r\nxz23+cQ8oz3yhIBGhhUTl/AOaImpRiwpOhi69DpRRytz7sEby+P5LccD9GZE\r\npmpnzitVeVRQWg7ODVg2ahOj0rTBu+HseoELBVEkLrsrXHpxQDuI1uAi9OSa\r\n/F6C1UZ2IGimOgD6AfJtxb1LJmYW/LxoJzOCsDqaEyIRN7l2te3jJoG2vhZ3\r\nGwDoFXVpZtCoFMuZoP+zVZ692V14qfcsD6v5QWHv8RMB0Ka3KeJ4TVd4KYLE\r\njYpIgmRoHskX+EuBKA8PIrJzrSeqjloWm2k6GfhQa6j/6en/SGgcGjZPFtYn\r\noa7XYIjnAGqcDRc9eEKaMy/C0N6kJ1UEqnS/E44Ro8tFR5zF/O/+oLEuO5N+\r\nq6/Reb8e2kG3MJcSZE6u+Bq39OgW9s0kfTCmMhzGULgojD7B+03RZZmAPkfE\r\nP+5FUJOEXWaErS83TLaeihFmyRo6dZPuU5F9w9IiIW4WpVuBH2Epo+T1wO0c\r\nS0mBSPzTdmjSqPwNJGBP/AoKzfBRM8kjj1NuTY5dYkjwQ0lyCzrD3niCcG6N\r\n31nWeq5Xq2kvrNEgVXGgdakVZGcQGYyl/xE=\r\n=8pYz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"caboose1183","email":"sidneypang@hotmail.co.uk"},"maintainers":[{"name":"caboose1183","email":"sidneypang@hotmail.co.uk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.2_1654558203961_0.26107626478854895"},"_hasShrinkwrap":false}},"time":{"created":"2022-06-06T20:32:58.672Z","1.0.0":"2022-06-06T20:32:58.944Z","modified":"2022-06-06T23:30:04.225Z","1.0.1":"2022-06-06T23:18:21.586Z","1.0.2":"2022-06-06T23:30:04.154Z"},"maintainers":[{"name":"caboose1183","email":"sidneypang@hotmail.co.uk"}],"description":"a mini clone of the library lodash","homepage":"https://github.com/caboose1183/lotide#readme","repository":{"type":"git","url":"git+https://github.com/caboose1183/lotide.git"},"author":{"name":"Sidney Pang"},"bugs":{"url":"https://github.com/caboose1183/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 @caboose1183/lotide`\n\n**Require it:**\n\n`const _ = require('@caboose1183/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* `asserArraysEqual(array1, array2)`: asserts if the 2 arrays given are the equal or not\n* `asserEqual(actual, expected)`: asserts if the 2 values given are equal or not\n* `assertObjectsEqual(object1, object2)`: asserts if the 2 objects given are equal or not\n* `countLetters(string)`: counts the letters in a string and gives back an object showing the letters in the string and the number of times it shows up, accounts for upper and lower case and ignores spaces\n* `countOnly(array, item)`: given an array and item to count, will return an object with how many times the item was counted in the array\n* `eqArrays(array1, array2)`: given 2 arrays, returns true if the 2 arrays are exactly the same, accounts for nested arrays and exacted index and value\n* `eqObjects(object1, object2)`: given 2 objects, returns true if the objects keys and key-value are the same, accounts for nested objects\n* `findKey(object, callback)`: given an object and a value or function, it will return the key with that value\n* `flatten(array)`: given a nested aray, will return a new array with all values in one array\n* `head(array) `: given an array, will return the first value of the array, if empty will return undefined\n* `joinList(array)`: given an array, will return the items joined together into a string divided by a , and a space (', ')\n* `letterPositions(sentence)`: given a string, will return an object listing which letters show up and at what index position they show up, ignores space\n* `map(array, callback)`: given an array and item or function, will return a new array where the callback function affects each element in the array\n* `middle(array)`: given an array, will return the middle item of the array, if even it will return the 2 middle item\n* `min(numbers)`: given an array, it will return the lowest number within the array\n* `reverse(string)`: given a string, it will return a string with the reverse order of the original\n* `tail(array)`: given an array, will return a new array with the first item removed, if array is empty or has one item it will return an empty array\n* `takeUntil(array, callback)`: given an array and item or function, will return an arary of items until the one specified\n* `without(array, itemsToRemove)`: given an array and items you want removed, will return a new array with the items from the original array removed","readmeFilename":"README.md"}