{"_id":"@aprilhuang825/lotide","_rev":"1-2f465b14da3cf2e28963ca7e0b1f7c52","name":"@aprilhuang825/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@aprilhuang825/lotide","version":"1.0.0","description":"A mini clone of the Lodash library","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/aprilhuang825/lotide.git"},"author":{"name":"April Huang"},"license":"ISC","bugs":{"url":"https://github.com/aprilhuang825/lotide/issues"},"homepage":"https://github.com/aprilhuang825/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^9.2.0"},"gitHead":"23f03ae33405db728416590dcc4caa428743693e","_id":"@aprilhuang825/lotide@1.0.0","_nodeVersion":"12.22.9","_npmVersion":"6.14.15","dist":{"integrity":"sha512-sETcaV5drbI9nnkdaXmSZssmI3EOO36AOe/+rWaO41qLL+4Qu4j9AYRux1dcI/N/r5nztABY7G+wSfzQtPxA4w==","shasum":"e6230aca580b5e85247fa38416403669dc4b6682","tarball":"https://registry.npmjs.org/@aprilhuang825/lotide/-/lotide-1.0.0.tgz","fileCount":32,"unpackedSize":17909,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiD8qhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqCKBAAkon8o/g/8F/msyvwJsErTngZy+KMQ8ddduBa+juvpWoGJdPk\r\n7GwVKxRGk8ymYH9M1K/VXyAQNzzNBfPok1rJ3vYOFdB8SNuNWNnHABplyry6\r\np3mUo/PD7krGxRf6o3SA43iaE265QUVyJAAXwhft2KPjUZ+Gjqq70XZpz5Zh\r\n+bExgWO1VWy5Xw+jEp2bRoPq35vE0p5g1FivApGZtOA3uLURr1Xx2OEHASNb\r\nBfUcWB6FB2wfhs5hd+86CPECyzbhjvzuxEk9oQHAQ6dGcrPpa7FHO6XJvlwK\r\nHANsS9cdT/cB9qNo+BbCM9n33Fm/xXv+nW6Gac2d4WaST0YIoTBFD35L2yhf\r\nMvgbEXPoGWM0uqf/zdUXAaZYx9rt1f3PELjW5QWTFZS5bPNxWrGjNAV5PD1O\r\nenw6w0x09/DlAlsOZXzEHCDpbADN6pWnvWeiS5kzoUm/r55UYAo3rxKl6OAm\r\nZyTET2DzQQaisjsrzhf0dW/TORnAj85c+346rRWPA3Ay+6fSMEJa98PIiiwY\r\nrfLe6oGTFaXuWPJDgDOuKyT8Mnx4tYMKjJqiOLst+hp7TXI3DRSNcuHXWVuJ\r\n6J/c6+ED+27SD1pB3pEb0NY0AlgZntcrCsXQWhHNRklzorMzZU86N49uMHAd\r\nH8GzLgJn6JRMl6+lLJkdCFC9B+U3JSHVRRI=\r\n=Zvbo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID2So7ZIyS5O9EvT6JlogbRlnhJI+oNoiltNwcedrz2/AiAq7KPhe9+S1Ttgh/Go61INqT8EAVbYZKoMkfHHBUxg9A=="}]},"_npmUser":{"name":"aprilhuang825","email":"aprilhuang825@gmail.com"},"maintainers":[{"name":"aprilhuang825","email":"aprilhuang825@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1645202081730_0.7675962899368463"},"_hasShrinkwrap":false}},"time":{"created":"2022-02-18T16:34:41.656Z","1.0.0":"2022-02-18T16:34:41.856Z","modified":"2022-04-04T15:08:21.965Z"},"maintainers":[{"name":"aprilhuang825","email":"aprilhuang825@gmail.com"}],"description":"A mini clone of the Lodash library","homepage":"https://github.com/aprilhuang825/lotide#readme","repository":{"type":"git","url":"git+https://github.com/aprilhuang825/lotide.git"},"author":{"name":"April Huang"},"bugs":{"url":"https://github.com/aprilhuang825/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 @aprilhuang825/lotide`\n\n**Require it:**\n\n`const _ = require('@aprilhuang825/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`: function that takes in 2 arrays and returns true if they are equal and false otherwise.\n* `assertObjectsEqual`: function that takes in 2 objects and returns true if they are equal and false otherwise.\n* `countLetters`: function that takes in a sentence and returns a count of each of the letters in the sentence.\n* `countOnly`: function that takes in a collection of items and returns a specific subset of those items.\n* `eqArray`: function that takes in 2 arrays and returns true if the arrays are equal and false otherwise.\n* `eqObjects`: function that takes in 2 objects and return true if they are equal and false otherwise.\n* `findKey`: function that takes in an object and callback and returns the first key that meets the criteria specified in callback.\n* `findKeyByvalue`: function that takes in an object and a value and returns the first key that corresponds to that value.\n* `flatten`: function that takes in an array that contains elements including nested array of elements and returns a flattened version of the array.\n* `head`: function that takes in an array and returns the first element in the array.\n* `index`: exports all the functions in Lotide as an object.\n* `letterPositions`: function that takes in a string and returns all indices of letter positions in the string.\n* `map`: function that takes in an array and a callback and returns a new array based on the results of the callback on each item in the array.\n* `middle`: function that takes in an array and returns middle most element of the array.\n* `tail`:  function that takes in an array and returns the first element in the array.\n* `takeUntil`: function that takes in an array and callback and returns a slice of the array based on the criteria specified in the callback.\n* `without`: function that takes in a source array and an itemsToRemove arrays and returns only the items from the source array that are not in the itemsToRemove array.","readmeFilename":"README.md"}