{"_id":"@ahmedabdallh/lotide","_rev":"1-a75f889d19f70b75fe68c54abdadc585","name":"@ahmedabdallh/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@ahmedabdallh/lotide","version":"1.0.0","description":"A mimic version of lodash with more visula output","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Ahmed-ao/lotide.git"},"keywords":["lodash","learning"],"author":{"name":"Ahmed Abdallh"},"license":"MIT","bugs":{"url":"https://github.com/Ahmed-ao/lotide/issues"},"publishConfig":{"access":"public"},"homepage":"https://github.com/Ahmed-ao/lotide#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.1.3"},"gitHead":"b806abd695268525c379bc6fff193c81ec80105e","_id":"@ahmedabdallh/lotide@1.0.0","_nodeVersion":"17.1.0","_npmVersion":"8.1.4","dist":{"integrity":"sha512-Ox/yQMEwBseYvfs/0v8b41H10m2M9ZixCR0SfXl07iPU7I9bonNNonwCkgc9oZYNkGoWw+oHGg96xyhfG7P33Q==","shasum":"a99c36590197ed870ac7a23be260d469fa2488d6","tarball":"https://registry.npmjs.org/@ahmedabdallh/lotide/-/lotide-1.0.0.tgz","fileCount":21,"unpackedSize":8332,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhowtMCRA9TVsSAnZWagAAgJcP/0PzmYvpernm295oYZ54\nfVVG2RcurrwzUVCgDfZcYScF8QNqfijyaiHv2GIP8dWVZPI9CD4RSTrzwJUU\n13WzCVWuKrSaNFTMPa6QZ1j/sK6PP9r/qUBFnyNSrmlft1hlH3VYxuwwiZ2b\nXX+qCE3ciAj37NzKCFEXPPduLyScRihBaoWgVIpGJXeU3CjzhQAjHfblgW2u\nkHYKbxia8vkEf4XtvXOMKhemR0uQf6FjMw+VpzbnlL/ZYoXx+wzJX5VDUPzO\nXanZPicCApxWbjKPgO2YXgiwoZI8KT+j/HC/G4R88sY4RoE4NREGkhg/z3x2\nZPgB/lJXlgkM8bl2RD4zL1F2stYhHBxGn72+XJfUaPwjZ8uArmovTAhqj2LV\ndnB6XuorCW5MzaXeeDvENtJfjT0xmM5FX2F8h6FqLIwMVxDt+bgBXTCT31df\nRTAZI5E+6QJvov50b6Tr23u8JdZqLI1GsnX+J1KCpAlSSODuJsC8NWyBFoqW\n7ByySu+aoWnPOQIYMd2GZRPz8wbXzVO3yTRjf4CljYpvkyJ2qqWfFM7ZoCsJ\nIwaEkH2r2VM98/AtXxNvg6ZfBmm2yDik31duH7gpVcvgnYLONVgQlCu+to1N\nGzbhUnkiSDXZNeb79axdaDN3ClGCsQ/QztJ9E/I0tdIAVVP9LglbPEJadZjL\nuY9J\r\n=GR3n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBxLk33eyHmO2TFqcKF18O7cEpIAa28YpoPQGfjSWYTjAiEAxxVnKu9eHAuoBz92Ui2J+jMXtg5I2HKRJ68vjZwGKlA="}]},"_npmUser":{"name":"ahmedabdallh","email":"Awes.7can@gmail.com"},"maintainers":[{"name":"ahmedabdallh","email":"Awes.7can@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1638075212236_0.9388358510444397"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-28T04:53:32.187Z","1.0.0":"2021-11-28T04:53:32.365Z","modified":"2022-04-04T12:13:26.028Z"},"maintainers":[{"name":"ahmedabdallh","email":"Awes.7can@gmail.com"}],"description":"A mimic version of lodash with more visula output","homepage":"https://github.com/Ahmed-ao/lotide#readme","keywords":["lodash","learning"],"repository":{"type":"git","url":"git+https://github.com/Ahmed-ao/lotide.git"},"author":{"name":"Ahmed Abdallh"},"bugs":{"url":"https://github.com/Ahmed-ao/lotide/issues"},"license":"MIT","readme":"# Lotide\n\nA mini clone of the [Lodash](https://lodash.com) library. Created as a part of bootcamp work.\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 @ahmedabdallh/lotide`\n\n**Require it:**\n\n`const _ = require('@ahmedabdallh/lotide');`\n\n**Call it:**\n\n`const results = _.head([1, 2, 3]) // => 1`\n\n## Documentation\n\nThe following functions are currently implemented:\n\n- `head`: retruns the first element in an array\n- `middle`: retruns the middle element in an array\n- `map`: implement a callback function provided as an argument over each element in the given array\n- `assertEqual`: fancier assert function than the builtin assert\n- `assertArraysEqual`: customize version of assertEqual function to work with arrays\n- `countOnly`: returns a count for specific item in the given input\n- `eqArrays`: checks if two arrays are equal\n- `eqObjects`: checks if two objects are equal\n- `findKey`: returns the first element it founds with the provided key\n- `findKeyByValue`: returns the first element it founds with the provided value\n- `without`: returns an array without the specific elements that has been set to be removed\n- `takeUntil`: Creates a portion of array with elements taken from the beginning.\n- this libarary has been tested with \"chai\": \"^4.3.4\", \"mocha\": \"^9.1.3\"\n","readmeFilename":"README.md"}