{"_id":"@avivitw/lotide","_rev":"1-542453716322e630fc3ced8b5ffe73de","name":"@avivitw/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@avivitw/lotide","version":"1.0.0","description":"A mini clone of the [Lodash](https://lodash.com) library. it's a part of my learning at Lighthouse Labs.","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Avivitw/lotide.git"},"author":{"name":"Avivit Weissman"},"license":"ISC","bugs":{"url":"https://github.com/Avivitw/lotide/issues"},"homepage":"https://github.com/Avivitw/lotide#readme","devDependencies":{"chai":"^4.3.4","mocha":"^8.3.2"},"gitHead":"69c5f9f4f8ac896aa185c75b73c5e7e3cef1f871","_id":"@avivitw/lotide@1.0.0","_nodeVersion":"12.22.0","_npmVersion":"7.8.0","dist":{"integrity":"sha512-Q3t/JZLx85ZvKL8nqnY07S0iuO/mccxBc3jwRZ+pZthi597NQhrA8HxW3Ip6vxxK7QUfoCyNK1nRUdocyO14PQ==","shasum":"8d1c6e592f487841e8f81a884fe1c8d9320ba3da","tarball":"https://registry.npmjs.org/@avivitw/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":20876,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkKZSCRA9TVsSAnZWagAATKkP/3h9eh366tT/Ci8Y+PNO\nK6K0r3gdZO6UFYff6VhJlJqT3A9eaGQLsDVuLD9AWDq9FVwDNHKr6jsM0WA2\nu//jKkA59VPIV9vPVrkeNoU0805wbimAekjCuDd6F2jnLtc1gs2CLgV7CEh6\n89c/sCutD1Os9+KJ49SKvL9FtgYqZuu+kOn74baq5bAScrXDR+ek+g8rId/6\nYcW/t1YqSSrHjeIe+x3T6E0drjwMx2HayMqdaIcD3QQXNHC2zGJt41NMVp4J\naJCig9UDNvZjezEik0zl9mmLLX6KHZe5rlxycBSxIs56hUvKNHOZ+aIBfKMa\nMnDY2qomWfcCygXpOIyScQ77BXcuExwbgl/JZDTa+W9ZLstoufm/xYjpQcHo\nim6r0j7tHOy0FGX2Laa5FRXWUEw7H7ZVw3EjpuPGpGHlVDTU753B4X4E7b4n\nd/YZNz53jXzSWpw9/IgJZ/hq9B0gG0P7Mvd8FNUqYVv558aNmKdvv/g30dIA\nVCtbOPn6aU/Tcks6Mp/GkoTv6VK7tcsOW2ziJ6sQNiNC02lylhd5pTCSd6/Z\nh9ms0JgVFshZmGQjCIt3IDWgyuZOJu+xv6FjIzucY0hAFlMd7AO56j4Jr0Lk\nZqAiywHcg0ZCnS7xckO/cp60KnWce3ArWsH3lM2mYUkITTvr//RJzX77e7j1\nlttJ\r\n=b0ww\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0D2JWmrQpmBpzjpZWZh+wrgXyFaReyHArndmbijJCOAIgK+e1M3j16Q87VLqEpW4AykxJZ8fZzR3DI6b7sEVVa1I="}]},"_npmUser":{"name":"avivitw","email":"wavivit@gmail.com"},"maintainers":[{"name":"avivitw","email":"wavivit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1620092498126_0.8878820550662361"},"_hasShrinkwrap":false}},"time":{"created":"2021-05-04T01:41:38.066Z","1.0.0":"2021-05-04T01:41:38.290Z","modified":"2022-04-04T16:47:51.772Z"},"maintainers":[{"name":"avivitw","email":"wavivit@gmail.com"}],"description":"A mini clone of the [Lodash](https://lodash.com) library. it's a part of my learning at Lighthouse Labs.","homepage":"https://github.com/Avivitw/lotide#readme","repository":{"type":"git","url":"git+https://github.com/Avivitw/lotide.git"},"author":{"name":"Avivit Weissman"},"bugs":{"url":"https://github.com/Avivitw/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 @avivitw/lotide`\n\n**Require it:**\n\n`const _ = require('@avivitw/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* `function1(head)`: A function that take an array and retrieve the first element from the array\n* `function2(tail)`: A function that take an array and retrieve  every element except the head (first element) of the array.\n* `function3(middle)`:  A function that take in an array and return the middle-most element(s) of the given array\n* `function4(countLetters)`:  A function that take in a sentence (as a string) and then return a count of each of the letters in that sentence\n* `function5(countOnly)`:  A function that take in a collection of items and return counts for a specific subset of those items.\n* `function6(letterPositions)`:  A function that will return all the indices (zero-based positions) in the string where each character is found.\n* `function7(map)`:  A function that will take in two arguments: An array to map and a callback function. The map function will return a new array based on the results of the callback function\n* `function8(takeUntil)`:  A function that take in two parameters as well: The array to work with and the callback and will keep collecting items from a provided array until the callback provided returns a truthy value.\n* `function9(without)`: A function that take in a source array and a itemsToRemove array. It return a new array with only those elements from source that are not present in the itemsToRemove array.\n\n\n\n","readmeFilename":"README.md"}