{"_id":"@abdulmajeeds/lotide","_rev":"2-b0e169c080a67764aa16fe943e8829c0","name":"@abdulmajeeds/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@abdulmajeeds/lotide","version":"1.0.0","description":"","main":"index.js","scripts":{"test":"mocha"},"author":"","license":"ISC","_id":"@abdulmajeeds/lotide@1.0.0","_nodeVersion":"12.22.7","_npmVersion":"6.14.15","dist":{"integrity":"sha512-VF/ARS3M7pSD8/GxEfIyWn5B0M+a64CpXxUFlm/5WsIxoOQOK/jWzID5jeVrLLHPXprGDAJKJvfWsLeXsT/fBg==","shasum":"bb763953bfcc6d6937106963fd94620d5db704e9","tarball":"https://registry.npmjs.org/@abdulmajeeds/lotide/-/lotide-1.0.0.tgz","fileCount":2,"unpackedSize":179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhp+QhCRA9TVsSAnZWagAAWiMP/3ogOMVTV9O++bwHsKa9\nshpVV3WB0zhKbvRjPDHPCglmwM2R5OJQO9uSWQ+WppiONbg0C1aUrYpuY+9s\nQag8u/FsN7n8QEU7BilnsX0VcgbC5BDxt08ZQZknfp9SytS/QDfMYYrlY1Tu\nRTGy2YQScH7H34HAmuzaH6c4GXMqVvYRb7NOqvnzefGWUw6wW0M3+8dvxYr5\neogDoqggxEGJti1KBtoCX0R6XtQT4GMmsuXwWFodIY7md8u2XSgmeWpbkAZ9\nuGHU1qQ/U89aU1fZVZALk47yrnSuYWyYtFKfkfzkkqWgj7JdPOxVsYOn4DrY\n3m2Yrvcoqm+LDeFBTnsqH7H4BOO0bz+F9ni4kN8LDMNgHYAbCUa6O/TkFGT3\njuSDOeJMYvxaPQ364H/dgiKszU84IhyfSj18h5WI1BQmCskbvLR8F3/RSYNr\nYS+3bgidmgsKFeD90zgZTezY56eKuhkViRau8exPY+Xq4Z4feWIW7QvuBMYX\nUflfH5SaVh7KVkltz3SUHc+lfHf+54OH52f8uNhXU4xYxaOSXvsDqV9mOqFC\nuGLA9SVB6xmhkH1e+u8mhJnVwBNChzkzRK+AhEPx7xCkBN5TE5QSscxkziSl\n2QB+tWojuvGQiQAVolXwUPPRxqgRui1E54RWewH/BOAKOM5KKFc6dNNApuZ3\nXDhB\r\n=lcaF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAE143UaYHL57M+yk/nGbszwvOgspN9tZSPbC/uXL2OGAiAWRGd8nXloC6c08EM9DhoRPaAmwEJueFUFVlPlSqGlWw=="}]},"_npmUser":{"name":"abdulmajeeds","email":"abdulmajeed.sabriye777@gmail.com"},"directories":{},"maintainers":[{"name":"abdulmajeeds","email":"abdulmajeed.sabriye777@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1638392865275_0.3693148519387055"},"_hasShrinkwrap":false},"1.0.1":{"name":"@abdulmajeeds/lotide","version":"1.0.1","description":"A mini clone of the [Lodash](https://lodash.com) library.","main":"index.js","scripts":{"test":"mocha"},"author":"","license":"ISC","_id":"@abdulmajeeds/lotide@1.0.1","_nodeVersion":"12.22.7","_npmVersion":"6.14.15","dist":{"integrity":"sha512-iUSWe3EpM1eDJWTI1wR0bxIT4VRiukDLU3is2nsuVfTEM5kSLVx0mwJ+wCo52SGXb2W/lVVXMc0BiluQ/dXXAA==","shasum":"9a67a81c5fc7e9f91795bf1d8e1b480b6dd6b7ee","tarball":"https://registry.npmjs.org/@abdulmajeeds/lotide/-/lotide-1.0.1.tgz","fileCount":3,"unpackedSize":2453,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhp+VwCRA9TVsSAnZWagAAZE0P/iiOg1+aMG+R5sNENFEY\ny97Cx3iRFaNBC7454dPwJT1ZF94sb2vgwaW9fM/7VRi4yTqbc1Q/LLAP5W+q\njIpvTQxK2moM2kZ0CrjvHQlAMfhNztn1+Te1SoUOcOmKrnKy6lbi5BwvUZfE\n2VCG+k/3peLkTCHFOU/DfyNRq8/8dEtlxtd+gXc3t2wgmqN7j3PoW94wJt08\nmQD6yxqu3Def6aT8PNR7EXxOnYl9YovbZcZvAh+TM/u63zQsxxg16HOFMGUl\nLb/AFwxwmGcBJ03XlDDPBbVZTtaVI+rz9lxF+qx8O0IQnicZslqt1tkyWXXX\nI9MnTqqyGguuxFOTnAxtycsWsLi+rQp7N4oQztjK/wHv2EiolKgN5zIao9qd\nqVPEuFqZokAJg3Nv7p/La6bqO4iQvRwFnQBMQp0z3PG9DFCZAY61DQwJ6p/c\nUdZTM4iRG4ny5P0DYaakg5Bk+wu0jp2jQ4Z8aTeNwM/dRMReqORzGVPmSUdc\ncji6oBKNC1LENtMlV+DLQbwQF3t3y8r0G/1FMFG7iyrNw8FwGNymMzTesbjF\nbsEz5CD35x5S7lpj6S5XMO2UD58l6wPxXRbhdhkd7BWJIpgC31Y08MWiFzjo\nuLVmUdaFoCVFmnhEwoDYFpBugBmAcy8jNUkRRG16yqQ7fptU5+TcjTIkcAQg\nhuPX\r\n=BVsO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBIhnkYyrPvjH5SUgWm9QEgJyb2vsbLADf52s9AQf3gYAiBfJxFIml1IuI65ArHP6g/o1uQ2FJlBqPH1WaA1edGJjw=="}]},"_npmUser":{"name":"abdulmajeeds","email":"abdulmajeed.sabriye777@gmail.com"},"directories":{},"maintainers":[{"name":"abdulmajeeds","email":"abdulmajeed.sabriye777@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1638393200534_0.7893488374637183"},"_hasShrinkwrap":false}},"time":{"created":"2021-12-01T21:07:45.224Z","1.0.0":"2021-12-01T21:07:45.393Z","modified":"2022-04-04T10:58:41.066Z","1.0.1":"2021-12-01T21:13:20.694Z"},"maintainers":[{"name":"abdulmajeeds","email":"abdulmajeed.sabriye777@gmail.com"}],"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 `\n\n**Require it:**\n\n`const _ = require('@abdulmajeeds/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* `assertArrayEqual(...)`: eqArrays are used in this function to check for a match between two arrays.\n* `assertEqual(...)`: Checks if 2 values are equal.\n* `assertObjectsEqual(...)`: Checks if 2 objects are equal.\n* `countLetters(...)`: A fucntions that returns the count of letters in a string.\n* `countOnly(...)`: A function that takes an array of names and an object of names to count. Returns a new object with the specified number of names.\n* `eqArrays(...)`: A function that compares two arrays and returns true or false depending on whether they are identical.\n* `eqObjects(...)`: A comparison function that compares two objects to check if they have the same keys and values.\n* `findKey(...)`: A function that takes an object and a callback as arguments and returns the first key for which the callback delivers a truthy value. It returns undefined if no key is discovered.\n* `findKeyByValue(...)`: It accepts an object and a value, and then returns the key for that value.\n* `head(...)`: The entry in the 0th index of the provided array is returned.  \n* `lettersPosition(...)`: A function that takes a character string as input. After that, it returns an object containing an array for each character found. \n* `maps(...)`: iterates through an array and returns an array of callback values.\n* `middle(...)`: This function returns the array's middle element. Returns the two middle elements if the array length is even.\n* `tail(...)`: A function that returns an array without the first index item\n* `takeUntil(...)`: This function will continue to collect items from an array until the specified callback produces a true value.\n* `without(...)`: This function removes unnecessary elements from an array and returns a subset of it.","readmeFilename":"README.md","description":"A mini clone of the [Lodash](https://lodash.com) library."}