{"_id":"@dawn123456/lotide","_rev":"1-8dcb2afccf5a43f27507256cd7248336","name":"@dawn123456/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@dawn123456/lotide","version":"1.0.0","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Sahar11/lotide.git"},"author":{"name":"Sahar Halim","url":"@sahar11"},"license":"ISC","bugs":{"url":"https://github.com/Sahar11/lotide/issues"},"homepage":"https://github.com/Sahar11/lotide#readme","description":"A mini clone of the [Lodash](https://lodash.com) library.","devDependencies":{"chai":"^4.3.4","mocha":"^9.1.3"},"dependencies":{},"_id":"@dawn123456/lotide@1.0.0","_nodeVersion":"12.22.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-It8pVgG8T7yOB6pqupu3CUeBifX18dnu7SDO4PFb1C6qC87o3vL6JAc4CIcyJ//raoirD6ncSwEKkywR+KTr3g==","shasum":"01026e24e803d73689794cad9414d7bf32203765","tarball":"https://registry.npmjs.org/@dawn123456/lotide/-/lotide-1.0.0.tgz","fileCount":28,"unpackedSize":20313,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhqSkuCRA9TVsSAnZWagAAw/8QAIcTMbkkcBcLf2sNqlEN\nVkRE7W7FSk2qIOwakiBMg39A96o1GnxkDI33UewZ53gu7Uag/Pj1frNt5ICH\n0ShXrXhc/6d1SgvDInUHcWAg1tKwk/5Pgo7maWiiuqeqKFTGh/rZ5DQg/OeT\nSH/Mg89v6g4aWBlsemXjfsEiBYblCz5nMTv289F7tbJUNvqfKpiN61cCRiC+\n0cdR1hJfTdyjkhhL5g6eUTW0Kh0MBQ1UrYzfHIPkclpSIzEyY0EpOKzyR87f\nWj+X/J9/43R4WYCPkixxn1oTGWkpxLevxj2A0yA7spjAKSV1leCoehju1E1G\nOtI+ss5EY89klSpLkTXKP0AMO0qqnjVAx9owgi+gyKEZz/WC7GBamqIUzm6x\nd3bATIaC78e4UyLRVHekdC+HjqKtvv8wYadkjx9u7fp/wgaEtOGKoE6NQTTZ\nEWI/o2wfcaslc7+X2wcQKaK2C9K5+Xz78Kskf8eHMS338XV6Sy8CO54CoxMh\ndrmYRRkFPCY6+h68Pt8bXsVSxOSD+a0ZclsKTzRtySOWSrg3aWns/br0DZM8\nms452F+9hGiBZA0i2OSUUQNIF30PvS3yVhYWelify8HQUSXXR3upkqw5r3VA\nbllhLnjRaTyt4GE2wXspnlJaQKA6Tx8fsSBwJEHP38RJiGQ6aP2l/A5etE54\n5NtH\r\n=dI2R\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqK6WJCmfbYA21sD1WCnVfYQOOzU0LlmbFZmEz5hGmXwIhAL31DDXRjAw6rDH6ydvmzCCBya17EJ1lBA/rSBVoIaio"}]},"_npmUser":{"name":"dawn123456","email":"saharhalim151@gmail.com"},"maintainers":[{"name":"dawn123456","email":"saharhalim151@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1638476077667_0.5758813359399613"},"_hasShrinkwrap":false}},"time":{"created":"2021-12-02T20:14:37.612Z","1.0.0":"2021-12-02T20:14:38.003Z","modified":"2022-04-05T03:10:58.091Z"},"maintainers":[{"name":"dawn123456","email":"saharhalim151@gmail.com"}],"description":"A mini clone of the [Lodash](https://lodash.com) library.","homepage":"https://github.com/Sahar11/lotide#readme","repository":{"type":"git","url":"git+https://github.com/Sahar11/lotide.git"},"author":{"name":"Sahar Halim","url":"@sahar11"},"bugs":{"url":"https://github.com/Sahar11/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 @sahar11/lotide`\n\n**Require it:**\n\n`const _ = require('@sahar11/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(...)`: description\n* `function2(...)`: description\n* `function3(...)`: description\n*\n* `countLetters()`: returns an object with the amount of times each letter occurs\n\n* `countOnly()`: counts how many times 'thingToCount' appears in object/array\n\n* `eqArray()`: compares two arrays and returns true or false if theyre equal or not\n\n* `eqObjects()`: compares two objects and returns true or false if theyre equal or not\n* `findKey()`: Loops through object and returns the key if callback function returns true\n* `findKeyByValue()`: Searches an array and returns the key of a specific value\n* `head()`: returns the first value of an array\n* `letterPositions()`: returns an object with all the indexes that each letter appears in\n* `map()`: clone of array.map()\n* `middle()`: returns the middle value(s) of an array\n* `tail()`: returns an array without its head\n* `takeUntil()`: returns a \"slice of the array with elements taken from the beginning.\" It will keep going until the callback/predicate returns a truthy value\n* `without()`: returns array without valueToRemove\n","readmeFilename":"README.md"}