{"_id":"@anjali8993/lotide","_rev":"2-c4065cc1bdcfa3252bafec18052a2750","name":"@anjali8993/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@anjali8993/lotide","version":"1.0.0","description":"Lotide : Collection of various functions that can be used in many diffrent projects.","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Anjalisoni93/lotide-.git"},"author":{"name":"Anjali Soni"},"license":"ISC","bugs":{"url":"https://github.com/Anjalisoni93/lotide-/issues"},"homepage":"https://github.com/Anjalisoni93/lotide-#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.1.3"},"gitHead":"c13c7120f837ca13e6de05dca845e844313db47e","_id":"@anjali8993/lotide@1.0.0","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-5/bcrG7K7CFXkDbyNIlwiwQLw/093Iktj55aDhFOEUs4xfwb+4t9lI+ULXnTUM3IASslh6GkIE2MJGUdzLdRWg==","shasum":"078f512668cd7492076f596e8f6e56b2827517d7","tarball":"https://registry.npmjs.org/@anjali8993/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":18417,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh11laCRA9TVsSAnZWagAAkxoQAI7Z3ctaa5VWSaHP5eSG\nVLbvecLAO25OHXWd85YYRi44D6tmiyUPXjdL6GYpn2EOntSmBY+FYkqE/vsg\nSWm3YHGZn8KkZo+lFnV71QPR0VkUP4iHB1Wl6vdCc/Q2JizWkhYyLDqi+9Kn\nt7U2jv3oGNG9gZ2DhuSJ0Up6uJmlNf5zGihg9n4xRoqd6JtXvpcY+HTWFpii\nqwhKizG2VuHjSX5dttKTQYu0k7HNaEOjHu3b3AkjXeTXvkoPBtgbcfIEI1Du\nRVp8wjppoYeZ7WK67KmxE3oDwV8kravryAxB9h4ch5frrcbnC/bdwbZuzmH5\nT/55L9p0Pe8pM3e6Itid3uma/AbW3av473Spmlh+hJfrFmz5MKMlPiFlPPwX\nfJqxXc1aIq9Euz1OS/zblygwTn2wQixeMqC8hXG3arv7PK7wGpOz9hntG2f5\nkbPa/EWY+t7jwhL5PdgXYPypRd3lV9VrodXmggciRmdI1zoge7fLrHNOKN+B\nQEvLTMSeWPZxHA7b6nQROzya1y+1Sjc8ip2d7QcbHqQ2gc45/OLrJq2lPYv7\nrMXM//xJAwpEEqU0XuiBgRkwLWzS6w8kxvCSCOUeCfoRUQ36oqm9HIE1bKNS\nPA9m+jFtomV1ZXtcMCg5cXR/eZMXX39mRNl4QMe3lX10F73clkZFiHVq2dxD\n0+Mh\r\n=i/u1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAPIatyK4Lujn2eu0BVohYZ5Wf6YZA6VM+1xS3dOfsssAiAx3yFtYb+Bw9ijSSOalVIvAPc1HaXuwWdOylmTjRLk/A=="}]},"_npmUser":{"name":"anjali8993","email":"anjalipatadiya@gmail.com"},"maintainers":[{"name":"anjali8993","email":"anjalipatadiya@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1636588550467_0.10551663813033962"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-10T23:55:50.413Z","1.0.0":"2021-11-10T23:55:50.803Z","modified":"2022-04-04T14:12:51.517Z"},"maintainers":[{"name":"anjali8993","email":"anjalipatadiya@gmail.com"}],"description":"Lotide : Collection of various functions that can be used in many diffrent projects.","homepage":"https://github.com/Anjalisoni93/lotide-#readme","repository":{"type":"git","url":"git+https://github.com/Anjalisoni93/lotide-.git"},"author":{"name":"Anjali Soni"},"bugs":{"url":"https://github.com/Anjalisoni93/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 @anjali8993/lotide`\n\n**Require it:**\n\n`const _ = require('@anjali8993/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`: Compares two arrays actual and expected to see if they are equal or not.\n* `assertEqual`: Compares two parameters and see if they are equal or not.\n* `assertObjectsEqual`: Compares two objects and see if they are equal or not.\n* `countLetters`: Counts number of letter occured in a string.\n* `countOnly`: Counts number of items/names occured in an array.\n* `eqArrays`: Compares two arrays and returns true or false.\n* `eqObjects`: Compares two objects and returns true or false.\n* `findKey`: Returns first key to a truthy value.\n* `findKeyByValue`: Returns first key to a given value.\n* `flatten`: Takes two arrays and flatten them into a new array.\n* `head`: Returns the first element of an array.\n* `letterPositions`: Returns a number based on the position of that letter in an array.\n* `map`: Returns first letter from a given array.\n* `middle`: Returns a middle value from a given array.\n* `tail`: Returns remaining elements to a new array.\n* `takeUntil`: Returns a new array until a given condition is satisfied.\n* `without`: Returns a new array without removed items.","readmeFilename":"README.md"}