{"_id":"@emilyemcmahon/lotide","_rev":"1-3d7b7405e4aee4a69b8294ce17f3f584","name":"@emilyemcmahon/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@emilyemcmahon/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/emilyem1/lotide-.git"},"author":{"name":"Emily McMahon"},"license":"ISC","bugs":{"url":"https://github.com/emilyem1/lotide-/issues"},"homepage":"https://github.com/emilyem1/lotide-#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"3bb9c4416d13d6ed17d8c5c100dc5ea49ae3993d","_id":"@emilyemcmahon/lotide@1.0.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-MAve6ihBCJkyNlWdAjwZPk75ehkF3n3o3eh10yBO3ft4hUDYHBD2gwdMWz0apuzI2ht4Ph+Gz4VTAPhpxIiPyA==","shasum":"5f04fe8956e6551d787c71f9daac47abfc0937da","tarball":"https://registry.npmjs.org/@emilyemcmahon/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":39499,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID+kNpLnuKEXYF8Yadu1Zh2xWovY6svfFOnNfFKGIupgAiAA8DlLE7uYgkrE9+HxhyAyuE2y/AqP2/GSApw6KzQUfQ=="}]},"_npmUser":{"name":"emilyemcmahon","email":"emilyemcmahonn@gmail.com"},"maintainers":[{"name":"emilyemcmahon","email":"emilyemcmahonn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1691217380399_0.7879182406832645"},"_hasShrinkwrap":false},"1.0.1":{"name":"@emilyemcmahon/lotide","version":"1.0.1","description":"a mini clone of the lodash library","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/emilyem1/lotide-.git"},"author":{"name":"Emily McMahon"},"license":"ISC","bugs":{"url":"https://github.com/emilyem1/lotide-/issues"},"homepage":"https://github.com/emilyem1/lotide-#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"d2608eec579921340e2a17f3e587cde03ad26f84","_id":"@emilyemcmahon/lotide@1.0.1","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-Apv8eC9SmHCaj8e6L40D0ld0OuZG4oKSP963Ki20mJrkz68g33X2L8+tm2x7bAQFAGzqyut0SgEhxN1bjFkWxg==","shasum":"ca074fc55924f5a0f59b0ceb6d221072f22f7bc6","tarball":"https://registry.npmjs.org/@emilyemcmahon/lotide/-/lotide-1.0.1.tgz","fileCount":37,"unpackedSize":31723,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgVU+hnfkwUzeXMPnmjnUW8f4NNq/eH5TuuEBjKTHd+QIhAMneAhw5IisU6EH2/LqHxk2fh0mr6oYG8jmBSSqfrdXR"}]},"_npmUser":{"name":"emilyemcmahon","email":"emilyemcmahonn@gmail.com"},"maintainers":[{"name":"emilyemcmahon","email":"emilyemcmahonn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1694572637942_0.2354896341263144"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-05T06:36:20.338Z","1.0.0":"2023-08-05T06:36:20.622Z","modified":"2023-09-13T02:37:18.319Z","1.0.1":"2023-09-13T02:37:18.117Z"},"maintainers":[{"name":"emilyemcmahon","email":"emilyemcmahonn@gmail.com"}],"description":"a mini clone of the lodash library","homepage":"https://github.com/emilyem1/lotide-#readme","repository":{"type":"git","url":"git+https://github.com/emilyem1/lotide-.git"},"author":{"name":"Emily McMahon"},"bugs":{"url":"https://github.com/emilyem1/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 @emilyemcmahon/lotide`\n\n**Require it:**\n\n`const _ = require('@emilyemcmahon/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(...)`: a function that combines the functions eqArrays and assertEqual\n* `assertEqual(...)`: a function that takes in two values and assert if they are true equals\n* `assertObjectsEqual(...)`: a function that takes in two obejcts and returns if they are true equals\n* `countLetters(...)`: a function that takes in a string and returns the count of each letter contained \n* `countOnly(...)`: a funcyion that counts how many matches there are between an object and an array \n* `eqArrays(...)`: a function that takes in two arrays and asserts if they are true equals\n* `eqObjects(...)`: a function that takes in two objects and asserts if they are true equals\n* `findKey(...)`: a function which takes in an objects and a callback, and returns first key with truthy value \n* `findKeyByValue(...)`: a function that takes in an object and value, scans through the object and returns key with given value\n* `flatten(...)`: a function that flattens arrays with nested elements into one array\n* `head(...)`: a function that returns the first element in an array \n* `letterPositions(...)`: a function that will return all positions in of each letter in a string\n* `map(...)`: a function that pushes variables into a new array \n* `middle(...)`: a function that finds the middle in an array and returns just the middle \n* `tail(...)`: a function that returns everything but [0] in an array \n* `takeUntil(...)`: a function that will keep collecting from given array until callback returns truthy value \n* `without(...)`: returns a subset of a given array, removing unwanted elements ","readmeFilename":"README.md"}