{"_id":"@adam-brendan/lotide","_rev":"2-5455e938a74f4891a3a98a70b69d9f79","name":"@adam-brendan/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@adam-brendan/lotide","version":"1.0.0","description":"a collection of useful javascript utility and test functions","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/adam-brendan/lotide.git"},"author":{"name":"Adam Craveiro"},"license":"ISC","bugs":{"url":"https://github.com/adam-brendan/lotide/issues"},"homepage":"https://github.com/adam-brendan/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^7.2.0"},"gitHead":"8c1e636a32263f124f31afd454359b546442d615","_id":"@adam-brendan/lotide@1.0.0","_nodeVersion":"12.16.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-hKjD99iLBKPlEFbp5su/1W6Pi0rT8gC6zASYnqxm5s92K2hcn9OPx+cnrPvs0gW8m6d7KR/v9Ypat+vzcKn21A==","shasum":"cb95344960f6397a0d60c75f0237931afbfdfa30","tarball":"https://registry.npmjs.org/@adam-brendan/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":15840,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0+kjCRA9TVsSAnZWagAATn4P/1+Cnsq5CzSedkDI5mw4\n3B6+LZ3e+RSjGM92xteVL4P5W80LrGBvRz+0sVOdcQUX+YKaDjfM1VAVRT2+\nZO9TmspruGGb8L2PKsWnAL9ZAaaQBY58LO3PeQ22kSh9CW7saYV5TOIMiukD\nHBZb7bEkU97z962aI2eeHCo6+XgtaSskSO3GqqYG1XLgGQJHhRslh0p7EWuX\n3d4uMEbCvcwDhBLtPqvbieYhVpp++b0UfrLtVfWHz/rlwmM0Lm0MldPX+uAQ\nVHOQYsjwLHXGEkbET2z9Bn2Zlf2lCOSxhfJUAGcBVIhWlXNQ2DJTDyOWX4CW\nPtDbN6sbDJL1VBUw+UvPclsfjwRp1ZhneZeq8f1ZLuLQKWv0B3S5QP9a4LqE\npxP4payx9GKh7c0EQ8Hy02pzTpw0AmaHCSUwG4Ao7OHgUUnunY4TqilyLEin\n4+Lxl9mVFwMWJ04jrzFvzi7uLKZTz6ef+G9rz8IOARSIw+tSsA0jJubyw250\nUg+lihXDB+0H1xnue7LaWV1b6i8mo7Io+u5RHZzfOfx5kOEM4AnEfxftHxMy\nsOxrZuYE8ffYVZGLQ+esiXP/VSoneEJSFj0WXBqSIk4rFIbtJZHXlj2pJKmT\nxtawXrKJDg6o6R/dnQrmr1ApmPHsamwFDQerwFN+XzaoZ6QnCVVTG8N5CDpR\njXy+\r\n=onWD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJkoA58XIOAZPu62+9OZ49ccpshV493RGCpOWobmt7WwIhAJZJ7DcamogE//JQc3Pfyx4yhgG1nDngHd7OIf7zuGOK"}]},"maintainers":[{"name":"adam-brendan","email":"adamcraveiro@gmail.com"}],"_npmUser":{"name":"adam-brendan","email":"adamcraveiro@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1590946083232_0.3189981378179314"},"_hasShrinkwrap":false},"1.0.1":{"name":"@adam-brendan/lotide","version":"1.0.1","description":"a collection of useful javascript utility and test functions","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/adam-brendan/lotide.git"},"author":{"name":"Adam Craveiro"},"license":"ISC","bugs":{"url":"https://github.com/adam-brendan/lotide/issues"},"homepage":"https://github.com/adam-brendan/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^7.2.0"},"gitHead":"b576bbf3d01360305a0ca6321e5cf580b537bd10","_id":"@adam-brendan/lotide@1.0.1","_nodeVersion":"12.16.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-mhkSAtGKlYq53HigS64WAvA6Aqup3jw9rlRG+RIX+Mz9WPyMwhMRXNa9PqKIKJK82980LHGXMaHZna7V0Hm7yQ==","shasum":"df2f22524efba67c998e5014fab12143aaed5a3c","tarball":"https://registry.npmjs.org/@adam-brendan/lotide/-/lotide-1.0.1.tgz","fileCount":28,"unpackedSize":14159,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1AcFCRA9TVsSAnZWagAAjswP/1sagnBx/LeKHEgRnNjr\nPxWX7CXPvdpFECrUfOsqL2HUQALZB7dua9QtgmmTtgC3xTYxW1m4TfJDIQ7y\nnsdxF+tPMpg2L2ipA+0BzBphi0E6spai4h5JXduMOtebcS5W9mY3edLTSTwz\nBKQTmNVm+8W/KtVOppRcsdJvA7zwKmhSHsBS+KnxKuJP6qMGLcpIo6mqpv8f\nViYXatukLzJJtLtKYywciwyhUP2F7t7TNDHgfPeLsEPUiBI4+29NpnJZQHHH\nCYf4qPXh2q4IEYQ/D19s60feNKMp6i9WxuWtl2UuDjVQKltL7bNLN+FdLgaD\n23PkXWGaq7qAs3twNoWgyc3mjA4eu58qhDL0ZqIH34NgFznpMQ59JJDqw4SR\ny0SPorGu3ODhIHQbVoBYYIirDvEzohFydTnEXH/3ecS+kRr+p2/wNw8vPnpp\nDOtK3VGGFVuTFhI/Bqo2ibL+SKd4N4+cBa6mpzijX67ErhIRYAgmKCbnx6J/\nP96/Sw9OQQy4mo+YqDHwPc/z5curfgCOqqKapE2tZEHMVmFM8YwEmpKQYa/b\n83PCHMy8lNqM1td0L/xcNoKN7sPRf67uVllZr18w+HHyTr5Yprttd+GFGKVr\nSEuk45/9BHj57gLYfFhrlrEh/oGfCUr2Ag3t5QPottGPUNSDukkfJdOt55V6\nsLXG\r\n=q+AA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAIN17t118sQkHLsQpogQKFgkABsrdt8w0z/1Sh3DeE4AiEAtVW6uAvP7xs4Pw7GOE/sPW54YG1kZcsVO4X9wAALedA="}]},"maintainers":[{"name":"adam-brendan","email":"adamcraveiro@gmail.com"}],"_npmUser":{"name":"adam-brendan","email":"adamcraveiro@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1590953732392_0.3979554409502073"},"_hasShrinkwrap":false}},"time":{"created":"2020-05-31T17:28:03.191Z","1.0.0":"2020-05-31T17:28:03.348Z","modified":"2022-04-04T11:24:52.701Z","1.0.1":"2020-05-31T19:35:32.535Z"},"maintainers":[{"name":"adam-brendan","email":"adamcraveiro@gmail.com"}],"description":"a collection of useful javascript utility and test functions","homepage":"https://github.com/adam-brendan/lotide#readme","repository":{"type":"git","url":"git+https://github.com/adam-brendan/lotide.git"},"author":{"name":"Adam Craveiro"},"bugs":{"url":"https://github.com/adam-brendan/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 @adam-brendan/lotide`\n\n**Require it:**\n\n`const _ = require('@adam-brendan/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* `countLetters`: creates an object with the count of each letter in a string\n* `countOnly`: counts the instances of given values in an array\n* `eqArrays`: checks if two arrays are equal\n* `eqObjects`: checks if two objects are equal\n* `findKey`: finds the key of an object that corresponds to a callback\n* `findKeyByValue`: finds the key of an object using a given value\n* `flatten`: flattens a nested array to one level of depth\n* `head`: returns the first value of an array\n* `letterPositions`: returns the index values of all letters in a string\n* `map`: a clone of javascript's map function\n* `middle`: returns the middle value(s) of an array\n* `tail`: returns an array with the first value removed\n* `takeUntil`: prints each value of an array until a given condition is met\n* `without`: take an array and removes a specific value","readmeFilename":"README.md"}