{"_id":"@ahmedwaleed03/lotide","_rev":"1-1b1f875c5da7202c6f729ac5f6590e35","name":"@ahmedwaleed03/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@ahmedwaleed03/lotide","version":"1.0.0","description":"A mini clone of the Lodash library.","main":"","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ahmedwaleed03/lotide.git"},"author":{"name":"ahmedwaleed03"},"license":"ISC","bugs":{"url":"https://github.com/ahmedwaleed03/lotide/issues"},"homepage":"https://github.com/ahmedwaleed03/lotide#readme","devDependencies":{"chai":"^4.3.8","mocha":"^9.2.2"},"gitHead":"3282eb37d877c97468a64a9311b8dcb5feacc965","_id":"@ahmedwaleed03/lotide@1.0.0","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-XiEM7qLPyzn/j7wK0Ec2R+H+eUn4hOiQslaWYPu1DMEp5TLsPTQkyr568ua8fR9IA0IzB9+HDuH/QlKq5CScug==","shasum":"889a219b942f08f8d1394b49efe9f3455a3be381","tarball":"https://registry.npmjs.org/@ahmedwaleed03/lotide/-/lotide-1.0.0.tgz","fileCount":24,"unpackedSize":20587,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEXFLi0JWsrM43kJUyy2ipYyszI7wdwsWj1pvc09Ifr1AiA6CSMRHDabUoL06ZNp8u5CJgadHBsk0h/qB1yG4cTBJA=="}]},"_npmUser":{"name":"ahmedwaleed03","email":"baloch.waleedahmed@gmail.com"},"maintainers":[{"name":"ahmedwaleed03","email":"baloch.waleedahmed@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1693257986390_0.016117906450628938"},"_hasShrinkwrap":false},"1.0.1":{"name":"@ahmedwaleed03/lotide","version":"1.0.1","description":"A mini clone of the Lodash library.","main":"","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ahmedwaleed03/lotide.git"},"author":{"name":"ahmedwaleed03"},"license":"ISC","bugs":{"url":"https://github.com/ahmedwaleed03/lotide/issues"},"homepage":"https://github.com/ahmedwaleed03/lotide#readme","devDependencies":{"chai":"^4.3.8","mocha":"^9.2.2"},"gitHead":"98e1ceddd87cc028bb1fe6cace6abf3b5ebd7ca6","_id":"@ahmedwaleed03/lotide@1.0.1","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-MF0bobmZikUPvEI593d9e0cyskQGsmzse8YKSdWSloONStmKvyh9L/1thoS0nxdjkzrGTwsCh1lJ1AdenQJuHA==","shasum":"b4a37661fb8511164e95a6b5c9c89a81b6e6a7ed","tarball":"https://registry.npmjs.org/@ahmedwaleed03/lotide/-/lotide-1.0.1.tgz","fileCount":30,"unpackedSize":20546,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFiZRnv7FzKO1qc4phV83Xk2Z+2+K8mDaHdceFYGQM/JAiEAk20Vn2PuTiifWh8TkOrSbUk76ZNXF+JqzVokrkgJnc4="}]},"_npmUser":{"name":"ahmedwaleed03","email":"baloch.waleedahmed@gmail.com"},"maintainers":[{"name":"ahmedwaleed03","email":"baloch.waleedahmed@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1693264206560_0.16646336895960734"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-28T21:26:26.321Z","1.0.0":"2023-08-28T21:26:26.581Z","modified":"2023-08-28T23:10:06.888Z","1.0.1":"2023-08-28T23:10:06.710Z"},"maintainers":[{"name":"ahmedwaleed03","email":"baloch.waleedahmed@gmail.com"}],"description":"A mini clone of the Lodash library.","homepage":"https://github.com/ahmedwaleed03/lotide#readme","repository":{"type":"git","url":"git+https://github.com/ahmedwaleed03/lotide.git"},"author":{"name":"ahmedwaleed03"},"bugs":{"url":"https://github.com/ahmedwaleed03/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 @ahmedwaleed03/lotide`\n\n**Require it:**\n\n`const _ = require('@ahmedwaleed03/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:\nassertEqual(actual, expected)     : prints whether the two variables are the same\nassertArraysEqual(array1, array2) : prints whether the two arrays are the same\nassertObjectsEqual (obj1, obj2)   : prints whether the two objects are the same\neqArrays(array1, array2)          : returns whether the two arrays are the same\neqObjects                         : returns whether the two objects are the same\nhead(array)                       : returns the head of the array\ntail(array)                       : returns the tail of the array\nmiddle(array)                     : returns the middle of the array\ncountLetters(sentence)            : returns the number of times each letter appears in the sentence\ncountOnly(allItems, itemsToCount) : returns how many times the specfic keys appear in an array \nfindKeyByValue(obj, val)          : returns first key in object where the value is found\nletterPositions(sentence)         : returns an object which contains arrays of positions for each letter\nwithout(source, itemsToRemove)    : returns the array without the specified items","readmeFilename":"README.md"}