{"_id":"@arjunkumar97/lotide","name":"@arjunkumar97/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@arjunkumar97/lotide","version":"1.0.0","description":"A clone of Lodash consisting of small functions to exercise  programming skills.","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/arjunkumar97/lotide.git"},"author":{"name":"Arjun Kumar"},"license":"ISC","bugs":{"url":"https://github.com/arjunkumar97/lotide/issues"},"homepage":"https://github.com/arjunkumar97/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^9.2.2"},"gitHead":"ff1d304c1463ec128d1c045d99e2583da427c726","_id":"@arjunkumar97/lotide@1.0.0","_nodeVersion":"15.14.0","_npmVersion":"8.15.1","dist":{"integrity":"sha512-RwCVfHC8wiKHofghQyDNyjRhZ35K37sZxtPclTL8+9bK9hYmw+ZCkBOr/8yCYoTlSpVw4pISQ0g0K4Rr2nL+0g==","shasum":"4a54b0bf21f311348d7f1d1a69e52a685a673e9e","tarball":"https://registry.npmjs.org/@arjunkumar97/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":9801,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBI3HI/VgVHAVLm4b/9Wscp7xO7cTC0kzLFXiprjnhZ7AiAvG5CBIHqetxzSGjCpbu0U84umGOj76+8HJIpVifJMqA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6ZcwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp6EQ//XljSu0KtVCa7eo1o4lmA8dRWolpcdXqETuFYDKHssP/x/wPk\r\nGuCEStL3xTrzPXkrIVXY8mwTY5VEmRKvFTiLNTvkbry64ubjaTbp6tHAnLl2\r\nBOJfKo9s/AVgc6RUQ0TERLATyd7XZVzsaVOXkhlbhnTBnK9pzTDQflvJ/2Q9\r\nTKinyHfOSWqaj5JJSippXGbYNq/a7hxQ5On/u5W/EWlX+lUkaz9LfzejGrIT\r\nIEpsIVbDUDw98j9jOpbV+5TBWvuOYFUIjJbjEwErSsZKr2CNzPHDlapF2uEe\r\nO3Ex3zaoFbppxLQfMr+zFU2jeUxfBxdm8lE6++iVdiPXdp8NW5HAp/zYVCcJ\r\nqJfyRYV9hwp8yufJ7A8Mu+QGqVmsLk3lgu9nq6OP6hT1H6l+vVW7YNBiIXoj\r\nikoaQctUo87hyD7o0GWCV6GmHNe73oNZF5ARRaqC1Jj3ueMiHlAHvfVH6WCm\r\n/x/Ek5rgWXEf7lEVAs01iOn43eGwcJwgst5L9pr91WXfZU7Z8TYqvtNVmirJ\r\n/bKLC46yNV9MtAfJGWCOngAkvCIH0nR/9X5QX+G6i/oppoc73mwB9DCFz9QZ\r\nEkovwxEedx1/nmoZkAxysUmIVaPrc+F9GIvguIGixOf9Ga0OPpZJVwvQRXwI\r\nRNev2I1Iz5J0uNBtf0hwg0u96iZubrC+U4I=\r\n=Y+31\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arjunkumar97","email":"arjunsanilkumar@gmail.com"},"maintainers":[{"name":"arjunkumar97","email":"arjunsanilkumar@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1659475760790_0.07132389164062158"},"_hasShrinkwrap":false}},"time":{"created":"2022-08-02T21:29:20.737Z","1.0.0":"2022-08-02T21:29:20.951Z","modified":"2022-08-02T21:29:21.126Z"},"maintainers":[{"name":"arjunkumar97","email":"arjunsanilkumar@gmail.com"}],"description":"A clone of Lodash consisting of small functions to exercise  programming skills.","homepage":"https://github.com/arjunkumar97/lotide#readme","repository":{"type":"git","url":"git+https://github.com/arjunkumar97/lotide.git"},"author":{"name":"Arjun Kumar"},"bugs":{"url":"https://github.com/arjunkumar97/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 @arjunkumar97/lotide`\n\n**Require it:**\n\n`const _ = require('@arjunkumar97/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(...)`: checks if two arrays are equal\n\n* `assertEqual(...)`: checks if two primitive data types are equal\n\n* `assertObjectEqual(...)`: checks if two objects are equal\n\n* `countLetters(...)`: counts the number of times each alphabet is present within in a string\n\n* `countOnly(...)`: takes in a set of items and returns the count of a specific item within the set\n\n* `eqArrays(...)`: compares two arrays and returns true or false based on a perfect match\n\n* `eqObjects(...)`: compares two objects and returns true or false based on a perfect match\n\n* `findKey(...)`: scans an object and return the first key for which the callback returns a truthy value\n\n* `findKeyByValue(...)`: scan the object and return the first key which contains the given value\n\n* `flatten(...)`:  unifies arrays within an array into a single array\n\n* `head(...)`: returns the first element of the given array\n\n* `letterPositions(...)`: returns the indexes of where each character in the string are present\n\n* `map(...)`: takes in an array and a callback function and returns a new array based on the results of the callback\n\n* `middle(...)`: returns the middle element of an array\n\n* `tail(...)`: returns an array without the first element\n\n* `takeUntil(...)`: returns a slice of the array with elements taken from the beginning\n\n* `without(...)`: * removes specific elements from an array\n","readmeFilename":"README.md"}