{"_id":"@denn15_law/lotide","_rev":"2-db70d0a59b834b08e2ef98f85456bd89","name":"@denn15_law/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@denn15_law/lotide","version":"1.0.0","description":"a mini-clone of Lodash library","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/denn15law/lotide.git"},"author":{"name":"dennis law"},"license":"ISC","bugs":{"url":"https://github.com/denn15law/lotide/issues"},"homepage":"https://github.com/denn15law/lotide#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.1.3"},"gitHead":"8129bb862c7200305b50f8ab9ee0b12042b8f987","_id":"@denn15_law/lotide@1.0.0","_nodeVersion":"12.22.7","_npmVersion":"8.1.1","dist":{"integrity":"sha512-2wbK4WSyIEfJp6blLWLr+W0+tTToW1pGiHQJnE6Z9y6syLsuxtTLKYpvQtOXD8ryr0nxHCJwU7+Dugx1zG05eQ==","shasum":"21da463a84060157e80e185e79c6a8fc7da09f3e","tarball":"https://registry.npmjs.org/@denn15_law/lotide/-/lotide-1.0.0.tgz","fileCount":37,"unpackedSize":16444,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzsygCRA9TVsSAnZWagAAF78P/0Tw9nx8JXu+hG79+F3k\nyhFTwpvj9Y1HXCHzfy8FPcJ+5tvMAR3Grjqd9ZV7YWz9lO/pBmxEVReFgUaW\nASG755RD05vHoLWVBharJYl+RYCK3L2NtJ3DisMh1xhSIBZLf5pISO29Xcdw\nY163+Jau3o2e1MgiuJYk5axPdiDucbf4NhlGOsPeB5OqiOWLAgy8YMVIfYt3\nQ0Orux6DKoy5sTyb1KxGDd1ZbcMzP7eK8PkUKb7tlipEKyfMsoAncaxX1Il1\nq6VLvuJWX+eKJb1BBvsVrA59IABr4jcjDCXXJngvmcprilTADQjzULby5cCf\nQCH9V4mYaKVBMVqb/H3+qz/lFlHre6Lh7Wur8YJbLan0Q8HKA4SWuVPBNv82\nnnloAh3UApT3pDI9vUsvbvlJ4YzNoQxYZn/YNnSa38jY4rTT1UQcVC8d4aCI\nFs5R+UkEWnZyzWuDZI0zhAfEfQLQhIyVzusDs3t1JbokW/vmBp0d/v1MGF/S\nNhCovNgvmff7Rc6NwEYi/XO7nH9eA0u4/RjNSxlPuC/jh2q6LeRiz5UA+jQT\n0sUxSnbHsTAlkEKAvCDrI1e5MWgyVVpxT6isiRXR6QtYb8xLltVD2g/JjDA6\nRYpAsSQpobF6iXQc4wtcts4ll/iDGwMX9JK5Af+vXcIJvz78l0963AGvS/6K\nx46t\r\n=PL7w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDLXxRSPSNYpA0forOwQ2vrUKGlrDeFqpp/T9n+XLvsJAiBucjS2uZWzyvSDdFdEK0WzfhoozVUAKt2f4Faq7noqKQ=="}]},"_npmUser":{"name":"denn15_law","email":"denn15_law@live.ca"},"maintainers":[{"name":"denn15_law","email":"denn15_law@live.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1635820077190_0.47506852842208325"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-02T02:27:57.139Z","1.0.0":"2021-11-02T02:27:57.370Z","modified":"2022-04-05T03:45:14.979Z"},"maintainers":[{"name":"denn15_law","email":"denn15_law@live.ca"}],"description":"a mini-clone of Lodash library","homepage":"https://github.com/denn15law/lotide#readme","repository":{"type":"git","url":"git+https://github.com/denn15law/lotide.git"},"author":{"name":"dennis law"},"bugs":{"url":"https://github.com/denn15law/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 @denn15_law/lotide`\n\n**Require it:**\n\n`const _ = require('@denn15_law/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* `head`: returns first index of array\n* `tail`: returns everything BUT the first index of any given array\n* `middle`: returns the middle indexes of an array (middle 2 indexes for even numbered arrays)\n* `countOnly`: returns the number of times each item appears in a given array\n* `countLetters`: returns number of times each letter appears in a given string\n* `findKey`: returns corrosponding key given an object and callback function \n* `findKeyByValue`: returns the key for an object when passed in a value\n* `flatten`: removes nested arrays and returns a single array \n* `letterPositions`: returns an object with the letter postions when given a string\n* `map`: returns an array with the letter positions when given an array and a callback function determining which position you want\n* `takeUntil`: returns a slice of the array taken from the beginning and given a stopping point\n* `without`: return a subset of an array, removing unwanted elements","readmeFilename":"README.md"}