{"_id":"@arvind.sharma/lotide","_rev":"3-1a94c9518fed84efdd0d0b979477a881","name":"@arvind.sharma/lotide","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.0":{"name":"@arvind.sharma/lotide","version":"1.0.0","description":"A mini clone of the [Lodash](https://lodash.com) library. As part of submission for lighthouse labs training. It was made by the support of mentors and peers at lighthouse Labs","main":"index.js","directories":{"test":"test"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://git@github.com/Arvind82chd/lotide.git#master"},"author":{"name":"Arvind Sharma"},"license":"ISC","gitHead":"a8d64c078c0488d571d1b410c08aed0b40cab8d4","bugs":{"url":"https://github.com/Arvind82chd/lotide/issues"},"homepage":"https://github.com/Arvind82chd/lotide/tree/master#readme","_id":"@arvind.sharma/lotide@1.0.0","_nodeVersion":"12.22.5","_npmVersion":"8.1.3","dist":{"integrity":"sha512-cgLnbqdC47UQiIZw5z/jnCuJJKA1iuugWy0Y95z6BuuUu/JmNFavURKJ6mi7R55vSWaXpzIqML0XzJE8VeGwpQ==","shasum":"c527e7bad38922eec7e9ac6977db5813e7659748","tarball":"https://registry.npmjs.org/@arvind.sharma/lotide/-/lotide-1.0.0.tgz","fileCount":33,"unpackedSize":16410,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIALzu/OwgV1YVwAjdHRyQAind9lCXo+oUwsWZCx0QJuSAiAb5iPLr8RtJ5UfTOGuScf/PzjGfQooQ+UFYOIDLUDWSw=="}]},"_npmUser":{"name":"arvind.sharma","email":"mail.arvind.s@gmail.com"},"maintainers":[{"name":"arvind.sharma","email":"mail.arvind.s@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1636319231884_0.5335446902781611"},"_hasShrinkwrap":false},"1.0.1":{"name":"@arvind.sharma/lotide","version":"1.0.1","description":"A mini clone of the [Lodash](https://lodash.com) library.","main":"assertArrayEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Arvind82chd/lotideNew.git"},"author":{"name":"Arvind Sharma"},"license":"ISC","bugs":{"url":"https://github.com/Arvind82chd/lotideNew/issues"},"homepage":"https://github.com/Arvind82chd/lotideNew#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.1.3"},"dependencies":{"my-package":"^0.0.0"},"gitHead":"7e45c15a09fbec77c28b5be84750e903245e3eb7","_id":"@arvind.sharma/lotide@1.0.1","_nodeVersion":"12.22.5","_npmVersion":"8.1.3","dist":{"integrity":"sha512-hWR26skbehn4fTsKW3kiHFEIarpyuDfD5KQEEAevrWu28vVQWR3mnIhcAshJY2YP87ATQzVNDDejp7730ZA+iQ==","shasum":"0ba6ae97c6fefda436d82313923c4c184ae1fd96","tarball":"https://registry.npmjs.org/@arvind.sharma/lotide/-/lotide-1.0.1.tgz","fileCount":26,"unpackedSize":21404,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpVZNCRA9TVsSAnZWagAAOb4P/0HoJNke0RK03g2oCQx5\n4tR34CbIuQ9O+SyleR+DfeMVnC5PT3/SzlHlfGisdCIwIthoCeWZS8nBqZS0\nO0ZtMkIYBOF/X8NJ7iHfbEEFUJNsZqOYRbtiJU56LdTHo7yzeVXaQyROvVr+\nA3DXu6Iy4tVu1kytTCQNW2QDEBmcbkTTdyqJ2Bqrz2i4+FwrKZxCH7YeWOM3\nengvwlO+Lv/wJbO9UOV5eFqFPSQdDaU+ggMY1ZwN9juwaA25RTvHoDP0pNT9\nKbWyOqUQmuHQGTQXHYTr9ws+yFsYtf9Z4Yeh05lItlNpzNLL5R86jFfZaHrU\njd+IV2QcZVvyreV8fPj4aIpa8QCPgoTd/LhIxfThKVzoLS5bDVQNiqYlChtF\np0zA2bjAPVrmcyfQHpNkY1Tt0iwdnRO0CorP8fH36gM3Difz8iqsHtyDqJCD\n+RISuGIhJ45w2OIkS4zD3S/P4LO1ZSRIHaBgLOZjV2SbXhKSU5Fh/70AmS0D\n6djNFAanYIWX5vaC21k72IExcc3lHkgK2wfOFvkAeBWV0nHiFrwpUGXCkgcj\nHGx6uazSPSUe0Y53skW3CQ4fBs9hdsOSFpqw0Prfu93RwWGJqEVmuy/+4BTW\nBbAd8YiMXsB5W2DhV/JAWK/CKK6n2nRJxgZqc3E3jV8rYyCUQeHR2yucphHe\nOERF\r\n=q2gB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqzLilUCbbxrgb3oYZzIePIL1g2sOY8igNa/PRvRG/vQIhAJXjiJv84m4DmRm4l8Gf/BLJLH+A+fPKmttG+jUwJ6pE"}]},"_npmUser":{"name":"arvind.sharma","email":"mail.arvind.s@gmail.com"},"maintainers":[{"name":"arvind.sharma","email":"mail.arvind.s@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1638225485804_0.12964466319196077"},"_hasShrinkwrap":false},"1.1.1":{"name":"@arvind.sharma/lotide","version":"1.1.1","description":"Updated more tests using mocha and chai","main":"assertArrayEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Arvind82chd/lotideNew.git"},"author":{"name":"Arvind Sharma"},"license":"ISC","bugs":{"url":"https://github.com/Arvind82chd/lotideNew/issues"},"homepage":"https://github.com/Arvind82chd/lotideNew#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.1.3"},"dependencies":{"my-package":"^0.0.0"},"gitHead":"f36a5b764229381dd53ae26511115d7199b85b59","_id":"@arvind.sharma/lotide@1.1.1","_nodeVersion":"12.22.5","_npmVersion":"8.1.3","dist":{"integrity":"sha512-5I8uGaeJhDKxnDlrfGJi5XXzRKhjLV0cmsuoRrtuDAFHxNyNueiT9Dz/C9XsPZCJeyBClgtlR3EF7A05wAOzEg==","shasum":"603b0a2c14daa7e1b3a341aac025bc23560b60c6","tarball":"https://registry.npmjs.org/@arvind.sharma/lotide/-/lotide-1.1.1.tgz","fileCount":36,"unpackedSize":20338,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpaBmCRA9TVsSAnZWagAA8JgP/16gLzcyvXEE8o/P30dW\nz9U0ZlEIx6udlIl0+bBBmPOhH3skfI21Cy1bRE7lE7y0JcsDjLIZ9HsNK1HO\n1v0UptLrn20jiO1NyWsdA7wQci1HdVSn0FWgupwapznF8Xa0r23tI10XbtpD\nRhFF5rLnXETjUWJ0Zcua3hB4RyaxyYLCyxLNcghrrc22gLH6Dji+pJJLUv2c\nkrOwpWvsmD9FxcjmzbfjK9zU2SKerUsxOcdFvMQu/nj3jcAtIKMzyebhHC2Y\nINY5BstuwTj/xqpi5Umj0j3lo5pWji4dlaSyXcbiawtuCwLxzSxIP4KZXPGv\nhkGIuxIlfh90sXYvpo1Wo5X+gn377VI5TIIMQZH0uT7Fs5hVfx60Q0B5P9jn\nj671kUJVUdVTPPKku0rvOJGSZMDCllFWaBtUNrrebOIy7UfCLrGgBqt7avYC\n4la+t+tcc6PFQOeB/m3/z+H05xO14vV5PqWBuco3Ds3k7f7dsq5iptYyfw68\n0fGb+XbYd8Whap/HKAFWa/7wgjxA2lsaifS3RIiSyf5Ibj49/3tWt40Z5yAA\nnxwVkMwMeIcLUquD/cWo00SpLlhoP36FqIaDqWKBMI0PY7bNeJrPS71Zf65v\nqZqZbf09M96CBROOw6Y1D3u12h71Oe/IJP8tTduCNt0DL3FfnBoKWI9nuXfa\nRyaT\r\n=eKCQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHuItA/IMCcK1TuiXf3v7iRF9gEHDYnHlLE4edY86GPjAiAYDOZILtyl7tz8MjQuyzMoPTFr8Sqbx7ta0h2yWIty4w=="}]},"_npmUser":{"name":"arvind.sharma","email":"mail.arvind.s@gmail.com"},"maintainers":[{"name":"arvind.sharma","email":"mail.arvind.s@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.1.1_1638244454797_0.09905458611425022"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-07T21:07:11.837Z","1.0.0":"2021-11-07T21:07:12.025Z","modified":"2022-04-04T15:41:20.672Z","1.0.1":"2021-11-29T22:38:05.909Z","1.1.1":"2021-11-30T03:54:14.928Z"},"maintainers":[{"name":"arvind.sharma","email":"mail.arvind.s@gmail.com"}],"description":"Updated more tests using mocha and chai","homepage":"https://github.com/Arvind82chd/lotideNew#readme","repository":{"type":"git","url":"git+https://github.com/Arvind82chd/lotideNew.git"},"author":{"name":"Arvind Sharma"},"bugs":{"url":"https://github.com/Arvind82chd/lotideNew/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 @arvind.sharma/lotide`\n\n**Require it:**\n\n`const _ = require('@arvind.sharma/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(...)`: It takes in an array and returns its head.\n* `tail(...)`: It takes in an array and returns its tail array.\n* `middle(...)`: It takes in an array and returns its middle values.\n* `assertArrayEqual(...)`: It asserts the equality of two arrays.\n* `assertEqual(...)`: It asserts the equality of two primitive values.\n* `assertObjectsEqual(...)`: It asserts the equality of two objects.\n* `countLetters(...)`: It takes in a string and returns an object with keys as letters and values and number of times it repeated in string\n* `countOnly(...)`: It takes in an array and an object then matches both of them and returns only the matched ones as an object.\n* `eqArrays(...)`: It checks if two given arrays are equal or not.\n* `eqObjects(...)`: It checks and returns if two given objects are equal or not.\n* `findKey(...)`: It takes in an object and a callback function, returning the key from object when the callback is executed.\n* `findKeyByValue(...)`: It takes in an object and a value returning the key after scanning and matching the given value.\n* `flatten(...)`: description\n* `letterPositions(...)`: It inputs a string and returns an object with the letter in string and its position as key-value pair.\n* `map(...)`: It maps the input array and callback function returning an array as per the callback.\n* `takeUntil(...)`: It takes in an array and a callback returning an new array from previous, which stops taking any further values ones the callback is executed.\n* `without(...)`: Takes in two arrays and returns an array without the values from the reference one.\n* `Subsequent tests(...)`: It also contains six diffrent types of tests for specific functions only, including use of mocha and chai.\n","readmeFilename":"README.md"}