{"_id":"@edwardkinglee/lotide","_rev":"2-6413252e33849c61b2dc4879969fa1a6","name":"@edwardkinglee/lotide","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@edwardkinglee/lotide","version":"1.0.0","description":"Lighthouse Labs Lotide project","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/edwardkinglee/lotide.git"},"author":{"name":"Edward Lee"},"license":"ISC","bugs":{"url":"https://github.com/edwardkinglee/lotide/issues"},"homepage":"https://github.com/edwardkinglee/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"4c807e636d8601b4dcedaf9b38e0291d5879653a","_id":"@edwardkinglee/lotide@1.0.0","_nodeVersion":"12.18.4","_npmVersion":"8.19.3","dist":{"integrity":"sha512-gbXyfEt/Wl80Tr+PV3vPb5Rp9no+7AfD1MOsyyuDsVARGyBQ5zBF6sUMHpktDkaPZTZlqrdbLywXpgCaDMKpCg==","shasum":"2eb5d6da8f0e5300fcf383d644411b1df5c24324","tarball":"https://registry.npmjs.org/@edwardkinglee/lotide/-/lotide-1.0.0.tgz","fileCount":37,"unpackedSize":18078,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA5AoOvYX40l2v4X7dhG4rceieAF3AfmhITFFuD3rctdAiA+4XOIpVi7qEgrDU2ckGTZ8J9RQanWuKsq4POYCt+eLA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfBC1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrwxQ/+N9XI1mdQWI4gCHacjWHcb88CaXHuj7TNGKLBtI22admocC+t\r\n5eBfTGLzdGnsfDGNdt53n0mFxe9jAgejrD29g0fedYfLPNZnNpcPqFmfcT4K\r\ntx8Ohyw2A8QFpqqfYRCeEDv0+La8HN/NabQct5K7EfwA4nXnqJt1Hi12qfmY\r\neViQrvcJo/vRvNNBZCW0TIz8fwYUw+4krIgfTTsFwmWcsTwFEMFeG8ZiFASc\r\nIejO1tmueBci4jKfRJJ4d/stZ7Y5EeZcXD0ZniVhFVXXWibo2XytqbpSeb5k\r\nlcEATcuGGIVwtwRWrw/uUnX3RBu3BPM7IYwuLAePqWGgzipPGgTvLcKSd93/\r\nHqrtgK0XNXwYQIgSV2aj2Tu9ScBgg5qccJhp/Wqg+hZyS4eOIBtRAHu/V5l0\r\nK+7lNHrUTEkmm1OF5LiyBgMq6l3MYAUQiJxgHfTFnRlmpnG6C/+6ld8BRGFu\r\nlcBTggt1NGftYijFme1Rjo0OfDSLOQ2pEVCHHAXTiCUX1TvcoP8whIIf+8WC\r\nJe9gpjkE83u0EQ+x+FHWZSNy5zL9CUChH3l8qDHRaNAWBMGnYw2ggHIIJear\r\n4aEiEoGg0BW0Vt9mR8SzGEzuyS0QgdzbCbe9vSPNjE/91aANwCAoZp1BO+Pd\r\nnljNAKSNWCiMCE99Uhxal/4TtrBWbEJhb0c=\r\n=bA0y\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"edwardkinglee","email":"edward.lee3@telus.com"},"maintainers":[{"name":"edwardkinglee","email":"edward.lee3@telus.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1669075125081_0.485332885147181"},"_hasShrinkwrap":false},"1.0.1":{"name":"@edwardkinglee/lotide","version":"1.0.1","description":"Lighthouse Labs Lotide project","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/edwardkinglee/lotide.git"},"author":{"name":"Edward Lee"},"license":"ISC","bugs":{"url":"https://github.com/edwardkinglee/lotide/issues"},"homepage":"https://github.com/edwardkinglee/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"8fdea06d153957bdace076b751d219d2d5dccb66","_id":"@edwardkinglee/lotide@1.0.1","_nodeVersion":"12.18.4","_npmVersion":"8.19.3","dist":{"integrity":"sha512-7FlGi+23tpwMAyAH+3/9HAKOMt2DMhjTieSLgImNqo9Ax37fQW2HIqcoQ2fndGScvsPl6lFG9dPuI46SyQLZDw==","shasum":"ef0ce49a2ca98f9965e6892b4d04b0895b987929","tarball":"https://registry.npmjs.org/@edwardkinglee/lotide/-/lotide-1.0.1.tgz","fileCount":34,"unpackedSize":23734,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGy3phnzjxMrUqkcJnuZYNksw01FxQJY93MCaGLewmFQIhAMBjUBtOMf6PT4uAPEoeFJrZ3wQdhNs69OeXcTgpZBSk"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfFN1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqa4g/9EKMIly/FdfmfgkXlx3GeYQwkyBNihjTXKmA+G6N7umDYdPpL\r\nDTETryJxvPnb22fMPdgAq9zKivLq0SXMd51B0NlW73QMX0rY1Ls+uJu05qrX\r\napw/7QoC579OhjGrdG1ZSubfnfm04WrsPbjGA4JCBfUB/9wX7/aThfwuBLXL\r\nKqE/JenHMoVrgG6b1EEFn/fQOgRZTpmfqk134WMMoZMuMtSkQNhUEyLFj4Hh\r\nRs9R+c2yR/3+x19Br0cRY3JkC00OOn6RhYEjk4QCP/QeRQq6MsCFQ9KxUH6X\r\neZlR+SB+5dd0hg0twBc3EojNIbk90yCjdbxpsCBRpyRiSgvQUgcnIF6doLdh\r\nqnHOvNPX7ohfmeM40ZP4JzdD6cwQ7yJPl3VHLFd9qQHzvTlN81B9Vu0JiexV\r\nICAfAI1mf9udxSy6BHIlIOqyf5PrSGMEjHPQ4VJnTOzOFiJnxKis/o9W/uFs\r\nhmPtEiUY948IoOcuov2l6wwAeoRthO/rB5TLRNF4m9P+0gI9DBvuabIt0E7R\r\nNL0mK1fHhnCjRWavdEckQVHgZX0Ke41FVzl7HMuU59qrfpZV8/wX6dUyEF3w\r\nvPH1NUcOiBtdbXQRB4WsOuK48tEyEJwRP2B48Ey6T/dkTuEsOAYd93YbVnkb\r\nJtyrYyPw6myXRdLiEYWY0AgSxt8IM4GhNaA=\r\n=siYh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"edwardkinglee","email":"edward.lee3@telus.com"},"maintainers":[{"name":"edwardkinglee","email":"edward.lee3@telus.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1669092212950_0.7300273140606444"},"_hasShrinkwrap":false},"1.0.2":{"name":"@edwardkinglee/lotide","version":"1.0.2","description":"Lighthouse Labs Lotide project","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/edwardkinglee/lotide.git"},"author":{"name":"Edward Lee"},"license":"ISC","bugs":{"url":"https://github.com/edwardkinglee/lotide/issues"},"homepage":"https://github.com/edwardkinglee/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"50f7c865ff96515f1916ecf3e5b8430fad496acb","_id":"@edwardkinglee/lotide@1.0.2","_nodeVersion":"12.18.4","_npmVersion":"8.19.3","dist":{"integrity":"sha512-f8dKhxiRVbgZ2J1+bwPMLlWv5ry/NRbJ79GgnmZdVAzIOs56boOyH7o6gXTPCwE8P3PKMAEkiddCfkszFq4fhw==","shasum":"de09f0eaa405df8bfdfa0124dd428f975a263883","tarball":"https://registry.npmjs.org/@edwardkinglee/lotide/-/lotide-1.0.2.tgz","fileCount":34,"unpackedSize":24808,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDR6EYTIc0qK6/eia2FeV/eQvqDudn1JEGsWt8NYmQSLQIgSYWuRzN7ofB6shzyPczbIf3MCdsOeW7BHiD1n2JbQJM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfF6mACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoimQ/+PfDwZwmGHd5xYRevevuW7tJICzEeOK/ibpuXebOFRewN+r+s\r\n10XDnwyrEFM3LwL+lHPnVa7B8nJ+dSPzzurQZMJlg4xlWgJWehedTNzuoLZ/\r\nIrxi1wN0fNlnWXQ1/Tvb8Nc+BhkDVkpC/BOoGM7Eft1z6mk9TXXovd4//One\r\n+jAHd1DoF0kXrH/NGroWTa7AARx+kHt1OapfhA+YPIak+9uuJswfwmGVteT1\r\nBbf4Phc7VsUX+rSZHVsYxa7draPBNyZMupJurakeUilZeHopRzMztbZi4xth\r\n++oFTr75h7D503TXjdjacz4jxXoiYYCWRgNiX/prqqWo0tEq7Nz8NeQH/bgQ\r\nLcYVE2BHNe00Nl+4QZ5Xjm2HzVASSqFpi34KzPIjqYV5qxlo6T6yVZwcE/3+\r\nOli23+IQHMCHzZzZZ0rFObFJUGuAGI3nTj6xXewnWMe87rxxEUZtt7B0KuED\r\nK5hp3g3lrMOyFGz3/tB5ppbLCjpPrz80CYcDi16XdRSjn9KlPlNCjat97kuW\r\nbBx8fITUIdMKLkEL+rHEniuMGoZQEr95t7FeKUaMgUIpj5jNblNjQAgsY9Bh\r\nb4uFsUsaSC6YqnjYM4BdW5e2TN4KWfC1ndGWi99wc7DwFlQERHZHXmIbLi/H\r\nsoRBvm/qApgIo2bt29SpIlVFvoFoBSeqh/8=\r\n=G9Zb\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"edwardkinglee","email":"edward.lee3@telus.com"},"maintainers":[{"name":"edwardkinglee","email":"edward.lee3@telus.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.2_1669095077862_0.16928301569046367"},"_hasShrinkwrap":false}},"time":{"created":"2022-11-21T23:58:44.965Z","1.0.0":"2022-11-21T23:58:45.261Z","modified":"2022-11-22T05:31:18.080Z","1.0.1":"2022-11-22T04:43:33.071Z","1.0.2":"2022-11-22T05:31:18.005Z"},"maintainers":[{"name":"edwardkinglee","email":"edward.lee3@telus.com"}],"description":"Lighthouse Labs Lotide project","homepage":"https://github.com/edwardkinglee/lotide#readme","repository":{"type":"git","url":"git+https://github.com/edwardkinglee/lotide.git"},"author":{"name":"Edward Lee"},"bugs":{"url":"https://github.com/edwardkinglee/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 @edwardkinglee/lotide`\n\n**Require it:**\n\n`const _ = require('@edwardkinglee/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* `assertArraysEqual(array1, array2)`: Will console.log out if Arrays are === or !==\n* `assertEqual(actual, expected)`: Compares two values to see if they are strictly equal === or !==\n* `assertObjectsEqual(actual, expected`: Compares two objects to see if they are strictly equal === or !==\n* `countLetters(sentence)`: Counts letters in a sentence and returns a object with letter count\n* `countOnly(allItems, itemsToCount)`: allItems: an array of strings that we need to look through. itemsToCount: an object specifying what to count\n* `eqArrays(array1, array2)`: Compares if two arrays are === or !==\n* `findKey(object, callback)`: Uses a callback function to find specified key in a object, returns found key or undefined if not found\n* `findKeyByValue(object, value)`:Finds specified value in a object, returns found key or undefined if not found\n* `flatten(array)`: Flattens nested array and returns new flattened array\n* `head(array)`: Returns value of element at index 0 of array or 'undefined' if array length is 0.\n* `letterPositions(sentence)`: Returns object with the index of letter positions from a sentence\n* `map(array, callback)`: Takes in a array and returns a new altered array based on callback function\n* `middle(array)`:Returns the middle array element if array has a odd number of elements, if even will return middle 2 elements\n* `tail(array)`: Returns new array with all array elements starting at index 1, if array lenght is 1 will return []\n* `takeUntil(array, callback)`: Returns new array until element provided in callback function states when to stop\n* `without(sourceArray, itemsToRemove)`: Returns new array without the elements included in the itemsToRemove array","readmeFilename":"README.md"}