{"_id":"@charu-jain/lotide","_rev":"2-881d6571c0defb04c3ff242fec80fa13","name":"@charu-jain/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@charu-jain/lotide","version":"1.0.0","description":" A mini clone of Lodash by Lighthouselabs","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/charuzain/lotide.git"},"author":{"name":"CharuJain"},"license":"ISC","bugs":{"url":"https://github.com/charuzain/lotide/issues"},"homepage":"https://github.com/charuzain/lotide#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.1.1"},"gitHead":"60ab2d20b67c0aa1d58f846a3f111b4d9cce3078","_id":"@charu-jain/lotide@1.0.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-ymul3oy5BwjDbrQYHdunNw/Sn1mCs4+lyDrmgeGwbgZBOA17q2QuCi79X9PmDw9K9r4/AZMWi17CU4OdwPoANQ==","shasum":"4ebaf8b16a051324028f0bf6e7d2af354fb8b5b8","tarball":"https://registry.npmjs.org/@charu-jain/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":17528,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzcafCRA9TVsSAnZWagAAA5gQAJMFcPgei1lbTsFqC5cW\nw2ORP5+7SuouRE/MaXbWvsdsgtzaWv9wG4G7HJ9/dpSri/DkPt5xr+A/cHYe\nwPEQoA0S5+3iq2XzI8lQmB/+u3HkMjZY/hv6oA7J5UjSqQXJi6v6kS7oRPac\nVLlKkshmYnlmNUOzEY3E6iftVVAgJDOoZpLSG0zkU1LHbQcghcOBWWZk0KCj\neMJufb8qJhBev0aHXaBWnCpsa8ysTcv8g3P7nB0D0pFHxsCSIMglkeuj6EmO\nP9ayUdCMqSYTpPeGfd0vhZY1FP3lJtyoJVNxdQecKvzQ/HIFK7UKgz5CwF/6\npcy37gxcv5H7E3b999TisXizTAcnwy5DQjSrl44NgkNng1KvGKw9eCuUimlD\nmSA0Hd+BVAXVaqld5iImU7BgTz1FY7t907uty6PeasK1WU6O6zuT0pGJiFKd\nE6YP2vDAhvgak0dGDXwWviNJ6oSwvKpffxCmnudpb8Vx8S50j+N5/F1GzNmo\n8FV4vGwKbfI8tm3zdQcrtfvEayjw/l6/AMrtHVX5rNDMaV4lwrRrdNDSvIns\n+AN5X67zBMpNPJvNo7FzMipFJi+Wbp0Ug0wk4Rj/5wEGKqH8qqO8gyDdAc+W\ngf6Kbn5dqqeU6P5v3PBcT3NYQsKdK//YwEgX97HFU/jC9GBSPU0wAizlMvej\nwrHl\r\n=YfMQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEnALWDj1/5VS5UcACoSctGJSwHHgh67sYLDxdInau5hAiEAgw9VSSumVci3MfeYKBt645AYylbmT88LxoR1TElrKuU="}]},"_npmUser":{"name":"charu-jain","email":"charuabhizain@gmail.com"},"maintainers":[{"name":"charu-jain","email":"charuabhizain@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1632280142155_0.7563921225777306"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-22T03:09:02.077Z","1.0.0":"2021-09-22T03:09:02.351Z","modified":"2022-04-04T22:33:01.814Z"},"maintainers":[{"name":"charu-jain","email":"charuabhizain@gmail.com"}],"description":" A mini clone of Lodash by Lighthouselabs","homepage":"https://github.com/charuzain/lotide#readme","repository":{"type":"git","url":"git+https://github.com/charuzain/lotide.git"},"author":{"name":"CharuJain"},"bugs":{"url":"https://github.com/charuzain/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 @charu-jain/lotide`\n\n**Require it:**\n\n`const _ = require('@charu-jain/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 first element in an array.\n* tail: returns all elements except the first element in an array.\n* middle: returns the middle two elements for an even length array and the middle element for an odd length array\n* eqArrays: returns true if two arrays are equal and false if not.\n* assertEqual: an assertion function for actual and expected parameters\n* assertArraysEqual: an assertion function for eqArrays\n* eqObjects: returns true for two equal object or false if they are not equal\n* assertObjectsEqual: an assertion function for eqObjects\n* countLetters: returns object that counts the number of each letter in a given string\n* countOnly: specifically counts items from an array\n* findKey: finds the key for a given value in an object, utilizing a callback function to specify what value to find\n* findKeyByValue: finds the key for a given value in an object\n* letterPositions: returns an object of all the indices in a string where each character is found\n* map: returns array based on callback function applied to a given array\n* takeUntil: function will keep collecting items from an array until the callback function provided returns a truthy value\n* without: returns a subset of an array by removing unwanted elements","readmeFilename":"README.md"}