{"_id":"@davidramalho/lotide","_rev":"1-bbc6b16727c29ede2b8a1b39baf06c39","name":"@davidramalho/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@davidramalho/lotide","version":"1.0.0","description":"Lotide LHL Project","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/davidRamalho/lotide.git"},"author":{"name":"David Ramalho"},"license":"ISC","bugs":{"url":"https://github.com/davidRamalho/lotide/issues"},"homepage":"https://github.com/davidRamalho/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^8.1.1"},"gitHead":"6a515525c153a39f4f257e0ac3255dcd121682a1","_id":"@davidramalho/lotide@1.0.0","_nodeVersion":"10.16.3","_npmVersion":"6.14.8","dist":{"integrity":"sha512-opmJEBNT77nnQbf9ouq9F7I08ygfMNFA8nkC4JrSYjJi814Zi/FupwZ5p8zEcMDeJjNdHW/E84ZL0yFTQShbdg==","shasum":"da079e794c51ff634e33149a68c9182e1c414e36","tarball":"https://registry.npmjs.org/@davidramalho/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":18526,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRFyhCRA9TVsSAnZWagAAZysQAIiPVy6NWCJwKH2+vvGU\nBM+BykeetXKxkV2e+ZzMpZ9mkX314LYYMktKqbTzsExEPkbexXfSqXRC3X99\nrCM0iB8Jc4DS3X2x18o59axGFN58UahG7IbzapU2/mZO2N/gHHPknrE9UmDT\nW11MWLDFOxhF4O6pwzVVGV+l5jFTltaBeeazYdrUvnp/fUJcvdAyS7uGAVXU\nisOcbyKXy6v7lCea+MnbUejtHw70v1rv++RzY6eRzUSkiOXjUpKHlyLF+fdU\n+PHkaIESUbYi1iIAo7RqiCerrEnXtcEheoBzVeSBWl+yWecZsBSCVLbqv9DW\nvcMG0VPG8RMUbKRO8AbXYcoELrIFtaOZrDsjkkSECcOpVXwG2vY/S9X9/y8J\nmY1xkckDcBzxS//hcaFytJVmECvDW5pxrYNI1ayBXY5SXm44o/DynVtRR3R9\nKfBVWtl3leSwl/gKACoOvV3bJlMxcZF2EOwKwfUFKHEVm2gYckWA0UB4GlJ6\nisMNHpKsk4xLW4mOWmXJNAfnmYhKIBgFK5FDipdiP4N2wTClRV4ndO5qhCd6\nLkJla0OB2e93KSc2lOfwaZzGyg4sATFZfd/pylE5lwAa6exQta44Q1UYz20K\nGtSiEKOoUlM4IEP3e9NjfmfpA+En9L1ShLgSwVSgo4RjuFofNRPNvfJfwkwa\nbnFR\r\n=nV0F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFc9tf9Q+YJUkv7unb5QI++z7E9cFh0q0VGSMNyAFt1bAiEAnG778ZH0wAIERb2z2Fhhe3eBfvVSzfoA9I6wtRuju9U="}]},"maintainers":[{"name":"davidramalho","email":"david.m.ramalho@gmail.com"}],"_npmUser":{"name":"davidramalho","email":"david.m.ramalho@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1598315681540_0.4816696832775029"},"_hasShrinkwrap":false}},"time":{"created":"2020-08-25T00:34:41.495Z","1.0.0":"2020-08-25T00:34:41.649Z","modified":"2022-04-05T03:06:13.560Z"},"maintainers":[{"name":"davidramalho","email":"david.m.ramalho@gmail.com"}],"description":"Lotide LHL Project","homepage":"https://github.com/davidRamalho/lotide#readme","repository":{"type":"git","url":"git+https://github.com/davidRamalho/lotide.git"},"author":{"name":"David Ramalho"},"bugs":{"url":"https://github.com/davidRamalho/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 @davidramalho/lotide`\n\n**Require it:**\n\n`const _ = require('@davidramalho/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 the head element of an array;\n* `tail(...)`: returns the tail elements of an array;\n* `middle(...)`: returns the middle elements of an array;\n* `eqArrays(...)`: returns a boolean value when comparing two arrays;\n* `countLetters(...)`: returns the total # of times a character is found in a string;\n* `countOnly(...)`: returns a count for #of times a string is found in an array. Only counts if that string is set to be counted;\n* `eqObjects(...)`: returns a boolean value when comparing two objects;\n* `findKey(...)`: returns a key by iterating over an object and checking it against a callback;\n* `findKeyByValue(...)`: returns key that matches value;\n* `flatten(...)`: returns a flattened array when an array with nested arrays is inputed;\n* `letterPositions(...)`: returns the index of a character in a string;\n* `map(...)`: returns a new array based on properties set by the callback function;\n* `takeUntil(...)`: takes elements from an array until a conditional is met;\n* `without(...)`: returns a new array without undesirable elements from the input array;","readmeFilename":"README.md"}