{"_id":"@01sal/lotide","_rev":"1-2c77998101a7829f8a8718d42a4b4bf9","name":"@01sal/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@01sal/lotide","version":"1.0.0","description":"A mini clone of the [Lodash](https://lodash.com) library.","main":"index.js","directories":{"test":"test"},"devDependencies":{"chai":"^4.3.4","mocha":"^9.1.3"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/01saleban/lotide.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/01saleban/lotide/issues"},"homepage":"https://github.com/01saleban/lotide#readme","gitHead":"c554bc3465de8e7d432e886eb5c8b93426daa693","_id":"@01sal/lotide@1.0.0","_nodeVersion":"12.22.7","_npmVersion":"8.2.0","dist":{"integrity":"sha512-3HvG4/vcL6ysV/6q1QZE0i+diG/RQT/dmb+VAK/nlclfqisM+RaXMj5QEYsXNruuau9cF03q5jDOyEAzCMkSIg==","shasum":"fd35ae8056b8ba62791a596896f36dead92e765f","tarball":"https://registry.npmjs.org/@01sal/lotide/-/lotide-1.0.0.tgz","fileCount":24,"unpackedSize":17359,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhrQASCRA9TVsSAnZWagAANisP/RH64YaeZuQ/Pq4+Wxgu\nHhmy5voqPfSQQ/SVGlcMOdDT+ux/M7ilPpXPHY9ulnp+Tqt/lhwY7x+8f5rc\nevBFdNp6G3iUb5idkAIcebkz0WoImYTp+addkBTk5MOz+dAdqu0TwZAPjUlG\nf6BKbGrVkRHPy0fMHrRAnG5w1Tkf+/15lluMgEpdWMzPB7DzFcUgujqOALyP\nygbLQHki0K1cFKy4IWiv85HDCZ+jGRPaKcw8gBYMvTtkKa2u+ZxET8tzPbWT\nM30v/LwNobNLkxAy06XiHsRzXWfuButtX+ZAfGRqrTbiUuAyRVo435cNTgor\nSzqm3jOL5RgUi6ddIhYFJD+36nB0iuR/igyRtxsm3LXkXwyHuBjNWkFOnuM/\ntLVAf6LPOrvKebSNwVJ289VqbND+2sEnpJTufyKq+v7+gBNQtwwNr1BRpC5P\nCOUhNZABjcAB/mySa2vUZ/g2s7u+xHXr1krt9O37ARUkl5cQD52e/30MlbM0\nD5E/vzK3qPtSjrn1I6OP6NLvMnRVbdpu5jEt9SpFyiw74SaGBbeXtYGEDsWj\n4DioNLshkzVh94gpVPubTXGnomnut+xCZlKJTZm7FDnRZhPYEg8XgYp4ceuA\nh1o6uA2NpegqT7C6Ru1Qe2z9+8Vhx28STpI3oCPakYvxE9vbHmBUa3HZj6UB\nZpEU\r\n=1cku\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGnlQwezYfUWJGFfkix54MZ6RTOBCMDm4qJo/OapOoUzAiEA03xfSb7EXv4KlO/YiC+mK5ZvUD0KEkYRYNa1E2RnLLM="}]},"_npmUser":{"name":"01sal","email":"saleban.abdillahi1@gmail.com"},"maintainers":[{"name":"01sal","email":"saleban.abdillahi1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1638727698342_0.02735283139331135"},"_hasShrinkwrap":false}},"time":{"created":"2021-12-05T18:08:18.289Z","1.0.0":"2021-12-05T18:08:18.505Z","modified":"2022-04-04T10:25:54.314Z"},"maintainers":[{"name":"01sal","email":"saleban.abdillahi1@gmail.com"}],"description":"A mini clone of the [Lodash](https://lodash.com) library.","homepage":"https://github.com/01saleban/lotide#readme","repository":{"type":"git","url":"git+https://github.com/01saleban/lotide.git"},"bugs":{"url":"https://github.com/01saleban/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 @01saleban/lotide`\n\n**Require it:**\n\n`const _ = require('@01saleban/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(arr,arr)`: Test if two arrays are equal\n* `assertEqual(Str)`:  Test if two arrays are equal Str .\n* `assertObjectsEqual(obj, obj)`:   Test if two arrays are equal Obj\n* `countLetters(str)`: Count the letters from string.\n* `countOnly(arr, obj)`: Returns object from key/value iterative pairs.\n* `eqArrays(arr, arr)`: Equality-check through arrays.\n* `eqObjects(obj, obj)`: Equality-check through objects.\n* `findKey(obj, callback)`: Key search on object.\n* `findKeyByValue(key, str)`: Key search on object where the value matches is provide value.\n* `head(arr)`: Return the first element of array.\n* `letterPositions(str)`: Return  the position of a character.\n* `map(arr, callback)`: Return new array on results of callback function.\n* `middle(arr)`: Get the middle element of array.\n* `tail(arr)`:  Gets the last element of array.\n* `takeUntil(arr)`: Return apart of array until a desired index.\n* `without(arr)`: return array without indicated elements.","readmeFilename":"README.md"}