{"_id":"@arpitadeb/lotide","_rev":"1-eae8d31bad8d341585205b1d6ad96851","name":"@arpitadeb/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@arpitadeb/lotide","version":"1.0.0","description":"lodash","main":"assertArraysEqual.js","directories":{"test":"test"},"dependencies":{"chai":"^4.2.0"},"devDependencies":{"mocha":"^7.2.0"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ArpitaDeb/lotide.git"},"keywords":[],"author":{"name":"Arpita Deb"},"license":"ISC","bugs":{"url":"https://github.com/ArpitaDeb/lotide/issues"},"homepage":"https://github.com/ArpitaDeb/lotide#readme","gitHead":"26e1a641c41985b19e698a9cce7ebb7f97147606","_id":"@arpitadeb/lotide@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"arpitadeb","email":"arpitadeb1990@gmail.com"},"dist":{"integrity":"sha512-1AHmWb0g8QcAlRdxb5VIJ5KQOAv7C0b5Opqh8tsAGn8Ax8XtMjr6jgf0JY2EwfHJOP1NtTE3gwvhsqQLNtw2Pw==","shasum":"7a72a022a9ddece3b9def7e5589465e7d41501e4","tarball":"https://registry.npmjs.org/@arpitadeb/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":21225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1VHTCRA9TVsSAnZWagAAd+YQAJmNRPn35p3ba/b9qdwz\niDjROiPmzEnsRx2PbHNlmqQSuc3X2WyVeVyMzE8wsaKnJUwYbkKrvUT4R8oz\n8elMa438bNXJueluWxIScINKcsd2hij8+l4HSMkVPPfIJ3oJK9edHXzvrD3E\n+NT3ryeNNSUm8cWn+bMHSOqNK2Y4JQ5RqyahCxm8twF5kc/+FRA8z3Iy1GG5\ntqiD9GphlQ0cuTvN9OM7YM2FJH6NT9La6tCW1bYT6aTWyP0VyNz9imEJGhBj\nOJC9k9C0NabqJpSilEmAABcOZ7Ipqa1Dbu/JuxgVLXT7BhkSFat+SCQqXz9T\n+rBdCHl3hV0sIVFxt3G6wXfkQiaQbvdcYhWyqFkS/S1cwhhjJPbkJkLdLjUp\nVrElnzGgDpqTQT+4RL4JObbBLzwKZlPUmQaVUk/y5EyKb40Z3FZGbknG0aGy\nQiW6lSKojbwNWOKq1uRWTmSHMTgXNakyeECIz55XheSTd3BriZp5mbbjt6lJ\nYsUHxCGLDNyFXEafQ0yrC0wVeQll2XCRNfXyq71T2NLIvlUM+Op16nFc64ro\nFYROBZLgs7iQMAvsgsljWyty9eC4vpFs8eyyvnGMR8ewVi/Qk/7bvZsQ1G87\nHAV3uzEOK+/NiMtqzWHIGSySEdgdDuEqPDlnp7BPmqbV7UtVn3RG025dreUb\n4M2n\r\n=K98g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDU3vzteFdoIF4WQHK7uME+IAC4Sw+53lAkK9kJhChdCwIgLR3i6Bc+C/2qTT7wRGGPtLGicxaVRrMW0WatDGJ/imQ="}]},"maintainers":[{"name":"arpitadeb","email":"arpitadeb1990@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1591038419227_0.7462971762313062"},"_hasShrinkwrap":false}},"time":{"created":"2020-06-01T19:06:59.180Z","1.0.0":"2020-06-01T19:06:59.336Z","modified":"2022-04-04T15:34:12.732Z"},"maintainers":[{"name":"arpitadeb","email":"arpitadeb1990@gmail.com"}],"description":"lodash","homepage":"https://github.com/ArpitaDeb/lotide#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/ArpitaDeb/lotide.git"},"author":{"name":"Arpita Deb"},"bugs":{"url":"https://github.com/ArpitaDeb/lotide/issues"},"license":"ISC","readme":"# lotide\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 @ArpitaDeb/lotide`\n\n**Require it:**\n\n`const _ = require('@ArpitaDeb/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* `function head(...)`: A function that returns the first element from the array.\n* `function tail(...)`: A function that returns every element except the head (first element) of the array.\n* `function middle(...)`:A function that returns an array with only the middle element(s) of the provided array.\n* `function without(...)`: A function that returns a subset of a given array, removing unwanted elements.\n* `function countOnly(...)`: A function that will be given an array and an object. It will return an object containing counts of everything that the input object listed.\n* `function countLetters(...)`: A function that takes in a sentence (as a string) and then return a count of each of the letters in that sentence.\n* `function letterPositions(...)`: A function that returns all the indices (zero-based positions) in the string where each character is found.\n* `function findKeyByValue(...)`: A function that takes in an object and a value. It should scan the object and return the first key which contains the given value. If no key with that given value is found, then it should return undefined.\n* `function eqObjects(...)`: A function that takes in two objects and returns true or false, based on a perfect match.\n* `function assertObjectsEqual(...)`: A function that takes in two objects and console.log an appropriate message to the console.\n* `function map(...)`: A function that takes in two arguments and returns a new array based on the results of the callback function.\n* `function takeUntil(...)`: A function that takes two parameters and return a slice of the array with elements taken from the beginning. It should keep going until the callback/predicate returns a truthy value.\n* `function findKey(...)`: A function that takes in an object and a callback. It should scan the object and return the first key for which the callback returns a truthy value. If no key is found, then it should return undefined.","readmeFilename":"README.md"}