{"_id":"@ahabes/lotide","_rev":"3-4451d03e595d1fd431e4b44643509839","name":"@ahabes/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@ahabes/lotide","version":"1.0.0","description":"lodash version for educational purposes","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/AHabes/lotide.git"},"keywords":[],"author":{"name":"ahabes"},"license":"ISC","bugs":{"url":"https://github.com/AHabes/lotide/issues"},"homepage":"https://github.com/AHabes/lotide#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.1.3"},"gitHead":"2a16f02d926256f3b9d1909f5602a202e7f0a238","_id":"@ahabes/lotide@1.0.0","_nodeVersion":"12.22.7","_npmVersion":"6.14.15","dist":{"integrity":"sha512-0NoF5BVfjxZePI2EBJ70o+L4mCfYaaHBRWFfRukyiOnQOJ9R18jonbnfu1I2EEtGc5j6n1rLMbNw9ZSG1vqsTg==","shasum":"f5e4819f354f8820c48b39333fb3e6ccdecefd77","tarball":"https://registry.npmjs.org/@ahabes/lotide/-/lotide-1.0.0.tgz","fileCount":32,"unpackedSize":19505,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA3y2MZJMPmipQih8BNeQFCiW0MCp7GpkRGPW+Fmn5g8AiAjYm9kSyKTwtujVXpgAktb1Dj3qkG2nDeMD1fkP4zRdg=="}]},"_npmUser":{"name":"ahabes","email":"abdulla096@hotmail.com"},"maintainers":[{"name":"ahabes","email":"abdulla096@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1635906316491_0.6675401312644544"},"_hasShrinkwrap":false},"1.0.1":{"name":"@ahabes/lotide","version":"1.0.1","description":"lodash version for educational purposes","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/AHabes/lotide.git"},"keywords":[],"author":{"name":"ahabes"},"license":"ISC","bugs":{"url":"https://github.com/AHabes/lotide/issues"},"homepage":"https://github.com/AHabes/lotide#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.1.3"},"gitHead":"b92c4845a3ea68d14b7168588e5d93092f0f63f1","_id":"@ahabes/lotide@1.0.1","_nodeVersion":"12.22.7","_npmVersion":"6.14.15","dist":{"integrity":"sha512-41h4ocdUyMAFYLHGtePCYYJP6Dv/6cqVm49PMHFFeEZEHy5Q8VGLG6qIJWIV10wfobxBSq1JOoAntgJXYQInhQ==","shasum":"1d693d21647723177a3da362d135f90e14936f8c","tarball":"https://registry.npmjs.org/@ahabes/lotide/-/lotide-1.0.1.tgz","fileCount":32,"unpackedSize":19998,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwwJ1CRA9TVsSAnZWagAAp2MP/1thMtTng5sjOnHjd3xa\nKveUp+hUAKKod/5t3L+qw8G1dH5dVYX8DlO30JwPS36/x5Ge0aZiqDM1XCYt\n0JXAotwOGXDkx8WC+5dYlIO0I9kBq2RwSuC79/QEViSsO3TZBhMO8y8iQajb\nZy7MWBOCWAJ7CG/xOVVHzsYG/f3WAVW6hwyCGzNcO7nd+uUV3AjV+XONIPhh\ni3OzhcW6v5rM42BBPFMFX8za8dBrU55iqc1UAkpuPcrq0r/2ZtOx9OYuXFcO\nLFWLRQwgu1k6/pazM44Yx1SnFVj0p2VD9R0FdqFHKjUsmw5/qxFzKV2Eh66t\ntoK4VJD3FPG5DsxuOOARhwp+J0oJVGaWcBaYL74s3+8PJjBcLEUBT9qGlChW\nvP7IOuihiuxkBNQ5Xsmj7V6vq119PMSuE2QN4WPbkHgDGDEmRXDED5HbWczi\nZTDuRaPoQOFV9ECer458x6GNXDyQGs39RQFbrSyg6GCIMmcgXVXtNA5BOQYn\nrg3hBRFqKF+xA4NcceBrG6Rj0LYZ+UGWrhQHmDXJ7/Euciu+ezEV2WbQzIdf\nN6E803gUNa8z1DIWM89YF9Ty8jja9xmXrOuPCVKEy/8RqcvrpaWwjrCH/ETj\naHZs0hdjYb1+NRa6qmG61qJ3cwjltkY41PE80GNWSFl9vtW5UgjxW728JfZa\nErY3\r\n=qqKp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQpYtuL39uVC3dpiG7bQnaycCTKpsYU+nwk2j61o6KngIgBJv05SN81PVuEu3EZapcD3oQMJwJC6t8BqBQ4Hv3LOw="}]},"_npmUser":{"name":"ahabes","email":"abdulla096@hotmail.com"},"maintainers":[{"name":"ahabes","email":"abdulla096@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1635907239269_0.6006758112448445"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-03T02:25:16.447Z","1.0.0":"2021-11-03T02:25:16.688Z","modified":"2022-04-04T12:11:49.334Z","1.0.1":"2021-11-03T02:40:39.424Z"},"maintainers":[{"name":"ahabes","email":"abdulla096@hotmail.com"}],"description":"lodash version for educational purposes","homepage":"https://github.com/AHabes/lotide#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/AHabes/lotide.git"},"author":{"name":"ahabes"},"bugs":{"url":"https://github.com/AHabes/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\nsoftware.**\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 @ahabes/lotide`\n\n**Require it:**\n\n`const _ = require('@ahabes/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* `assertEqual(actual, expected)`: Compares the two values and checks if they match or not.\n* `assertArraysEqual(arr1, arr2)`: Given two arrays, the function asserts if they are equal.\n* `assertObjectsEqual(obj1, obj2)`: Compares the two objects and checks if they match or not.\n* `countOnly(allItems, itemsToCount)`: Given an array and an object. It will return an object containing counts of\n  everything that the input object listed.\n* `countLetters(sentence)`: Takes in a sentence (as a string) and then return a count of each of the letters in that\n  sentence\n* `findKeyByValue(obj, key)`: Takes in an object and a value. It should scan the object and return the first key which\n  contains the given value.\n* `flatten(array)`: Takes a nested array and flattens it into one-level array.\n* `head(array)`: Returns the first element of the array.\n* `letterPositions(sentence)`: Takes a sentence and return an object containing the location of each letter.\n* `middle(array)`: Returns the middle element of the array.","readmeFilename":"README.md"}