{"_id":"@cgravel/lotide","name":"@cgravel/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@cgravel/lotide","version":"1.0.0","description":"array utility library","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/jeevesj/lotide.git"},"author":{"name":"@cgravel"},"license":"ISC","bugs":{"url":"https://github.com/jeevesj/lotide/issues"},"homepage":"https://github.com/jeevesj/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"61bd6ac27cfaf3403c5ccf786ec30700b8fc6981","_id":"@cgravel/lotide@1.0.0","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-a8nDCfjr2LtBw2LKZnw0urpyXI5nnrKCwq5OAfzIn++rWdH7KFTYdealFbREMKgZhyGtEFG/8C+FFdIj3znjhw==","shasum":"04457971c814d57782b46ae0f5787c1ce604778f","tarball":"https://registry.npmjs.org/@cgravel/lotide/-/lotide-1.0.0.tgz","fileCount":28,"unpackedSize":17024,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpcrwMVs+UWmVjjn2wCEH25kpETlMANngZVgAuw91iRgIgS2g7/c/I7o1+2s7VhcxX6Z9kbVtZeE42iMdKT4G4jMg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEEPqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqaVg/+KZmLWMuV/9GtgK09mmBU4R/He0Nnn2xD4X+YuQ0cpdue/5v8\r\nk4qP8W9HKXwE2NtKXcEm/Qi4D/jvJDlgB4I6IB7xn5wNY7429fZvlKEbEsxr\r\n5LWUr760bRDnekkwvZO4RzlC/hXTRtyJM10qd4IVU3FE7+rnykblllgvEJhu\r\n1RnEku5HUzX55epvDKZPGnhuTqxtahIpgZz/rqmPQwWRJh2CmckPgbCWpRjF\r\n1W2G3ry8ij7dQWQZ7kxeP+DzvzQlDlJ2rAO9fQP5aMbbmF4YRQMZarYF/ghg\r\nd0M8dkUyQJvqXC4RBwQA6Hi45gZROr0wD6Mp6oQ8DT/xCFChb7y8AJ7pRBtb\r\nwnlRJqzGSM+Zf0xqg8kTq/PbhvT7gleYGimsGm33S0RpZ0CQTMlXkXL0Zt/I\r\n5zhdxsHYjgjk5UmjBSgF4QQPwmfLzgDmXHX913oAIbes0GKLif5hE0qLKhT6\r\nOmz7ba4pmzjBEKSoIfBDsT3/xmi17/QEl0dKCzIp40Md/OL+bbeabX6PApG4\r\nN/AQB7T+JmpLgRTOMmTuJIRq1OFzqEfz4UplliVo83irOBpFzOzYWYcPWHTm\r\nPnfQUC1svk+exq/SVtYWYYHrUTC4XCEOYF7fFCX4fLlsGgsSAjhWqSvMJ64d\r\n1+Np5qGUDuJ6eCQiSwve1Cc4bkzwEAmwzJs=\r\n=bvQO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cgravel","email":"cjgravel@gmail.com"},"maintainers":[{"name":"cgravel","email":"cjgravel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1678787562394_0.7342658939541566"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-14T09:52:42.277Z","1.0.0":"2023-03-14T09:52:42.543Z","modified":"2023-03-14T09:52:42.744Z"},"maintainers":[{"name":"cgravel","email":"cjgravel@gmail.com"}],"description":"array utility library","homepage":"https://github.com/jeevesj/lotide#readme","repository":{"type":"git","url":"git+https://github.com/jeevesj/lotide.git"},"author":{"name":"@cgravel"},"bugs":{"url":"https://github.com/jeevesj/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 @cgravel/lotide`\n\n**Require it:**\n\n`const _ = require('@cgravel/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\n* `head` : get the first element of an array\n* `tail` : get the last element of an array\n* `middle` : get the middle element(s) of an array\n* `assertArraysEqual`: check if two arrays are equal\n* `assertEqual`: check if two values are equal\n* `assertObjectsEqual`: check if two objects are equal\n* `countLetters`: count letters in a string\n* `countOnly`: count items in an array\n* `eqArrays`: check if two arrays have equal length\n* `eqObjects`: check if two objects have equal length\n* `findKey`: find key inside an object\n* `findKeyByValue` : find key inside an object using its value\n* `letterPositions` : find the positions of a letter in a string\n* `map` : map through an array\n* `takeUntil`: using a callback to loop an array\n* `without`: remove items from an array","readmeFilename":"README.md"}