{"_id":"@andriis_stefankiv/lotide","_rev":"2-98337f8c464731e507e5b60df9a8b89d","name":"@andriis_stefankiv/lotide","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@andriis_stefankiv/lotide","version":"1.0.0","description":"My own implementation of Lodash library","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/AStefankiv/lotide.git"},"keywords":["lighthouse","labs","lotide","assertArraysEqual","assertEqual","assertObjectsEqual","countLetters","countOnly","eqArrays","eqObjects","findKey","findKeyByValue","flatten","head","letterPositions","map","middle","tail","takeUntil","without"],"author":{"name":"Andrii Stefankiv"},"license":"ISC","bugs":{"url":"https://github.com/AStefankiv/lotide/issues","email":"stefankif35@gmail.com"},"homepage":"https://github.com/AStefankiv/lotide#readme","devDependencies":{"chai":"^4.3.10","mocha":"^9.2.2"},"gitHead":"8cb5e3076731b6dc93bedaf9c54c02e8097d064d","_id":"@andriis_stefankiv/lotide@1.0.0","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-K6cx9QIzfctl0wyDhnErlpvigXr2EN63mKdoJqtIWATXPK3aUwNpOPXeVbq2JMi7TSXJjoys2rNEYMedmu5Jqg==","shasum":"aa60d0d8f7b52346c76b5b9010a274c7dc85b548","tarball":"https://registry.npmjs.org/@andriis_stefankiv/lotide/-/lotide-1.0.0.tgz","fileCount":35,"unpackedSize":38135,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAeYWPf0Dq9/pHkHvj1oCTIIxr8ASTU5H6mNre502H+lAiEA8Guh6hxBSKEyUCd0iveRYxgLPhGCO2ke7w/oGFV7g0U="}]},"_npmUser":{"name":"andriis_stefankiv","email":"stefankif35@gmail.com"},"maintainers":[{"name":"andriis_stefankiv","email":"stefankif35@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1699650082873_0.3245195103381715"},"_hasShrinkwrap":false},"1.0.1":{"name":"@andriis_stefankiv/lotide","version":"1.0.1","description":"My own implementation of Lodash library","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/AStefankiv/lotide.git"},"keywords":["lighthouse","labs","lotide","assertArraysEqual","assertEqual","assertObjectsEqual","countLetters","countOnly","eqArrays","eqObjects","findKey","findKeyByValue","flatten","head","letterPositions","map","middle","tail","takeUntil","without"],"author":{"name":"Andrii Stefankiv"},"license":"ISC","bugs":{"url":"https://github.com/AStefankiv/lotide/issues","email":"stefankif35@gmail.com"},"homepage":"https://github.com/AStefankiv/lotide#readme","devDependencies":{"chai":"^4.3.10","mocha":"^9.2.2"},"gitHead":"8cb5e3076731b6dc93bedaf9c54c02e8097d064d","_id":"@andriis_stefankiv/lotide@1.0.1","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-VuDWHehUn/JGSSuUiQbSbRzQ29G27oPN+2y3Jlrq4iwmwt3ByzhNnIAh6YM5jCoBmdJbw6y70VEpg/GzFX1PCA==","shasum":"75417b4ebc218650c1a226f91f734062e9f921f2","tarball":"https://registry.npmjs.org/@andriis_stefankiv/lotide/-/lotide-1.0.1.tgz","fileCount":35,"unpackedSize":36323,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeN+vl9O3ZzAfA8D8vRRTmtv8/J5jEJc/4PBDohjJ7FAIhAJ2b0reNvKoWt625NmLoqRpYdVMzlYVlDlol8eioGK9t"}]},"_npmUser":{"name":"andriis_stefankiv","email":"stefankif35@gmail.com"},"maintainers":[{"name":"andriis_stefankiv","email":"stefankif35@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1699657466162_0.008828687380074252"},"_hasShrinkwrap":false},"1.0.2":{"name":"@andriis_stefankiv/lotide","version":"1.0.2","description":"My own implementation of Lodash library","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/AStefankiv/lotide.git"},"keywords":["lighthouse","labs","lotide","assertArraysEqual","assertEqual","assertObjectsEqual","countLetters","countOnly","eqArrays","eqObjects","findKey","findKeyByValue","flatten","head","letterPositions","map","middle","tail","takeUntil","without"],"author":{"name":"Andrii Stefankiv"},"license":"ISC","bugs":{"url":"https://github.com/AStefankiv/lotide/issues","email":"stefankif35@gmail.com"},"homepage":"https://github.com/AStefankiv/lotide#readme","devDependencies":{"chai":"^4.3.10","mocha":"^9.2.2"},"gitHead":"edb81d3349a4c7dea3620c50598852b5e9037f40","_id":"@andriis_stefankiv/lotide@1.0.2","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-5bITNV0jEabIsVfrFt+EtYGItdPl0YFpP5lQn9y28Lw3FI9BoovPXiR+cRQvOiYo8nc+d+B3rhBGS2PoALO4Hw==","shasum":"fc5875ef6ba78a5daf40a1fbc17eec4c4a5f6cdc","tarball":"https://registry.npmjs.org/@andriis_stefankiv/lotide/-/lotide-1.0.2.tgz","fileCount":26,"unpackedSize":16973,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC/0vhS6Lq80Y97jHddIfRpayxEWC8j3H0G1YmuSBUAoAiEAhUzn14tB12qEDkhSd6Tzck47JLPAn+/unrW6GHFWbSU="}]},"_npmUser":{"name":"andriis_stefankiv","email":"stefankif35@gmail.com"},"maintainers":[{"name":"andriis_stefankiv","email":"stefankif35@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.2_1699747208301_0.1994630810424023"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-10T21:01:22.795Z","1.0.0":"2023-11-10T21:01:23.049Z","modified":"2023-11-12T00:00:08.715Z","1.0.1":"2023-11-10T23:04:26.390Z","1.0.2":"2023-11-12T00:00:08.521Z"},"maintainers":[{"name":"andriis_stefankiv","email":"stefankif35@gmail.com"}],"description":"My own implementation of Lodash library","homepage":"https://github.com/AStefankiv/lotide#readme","keywords":["lighthouse","labs","lotide","assertArraysEqual","assertEqual","assertObjectsEqual","countLetters","countOnly","eqArrays","eqObjects","findKey","findKeyByValue","flatten","head","letterPositions","map","middle","tail","takeUntil","without"],"repository":{"type":"git","url":"git+https://github.com/AStefankiv/lotide.git"},"author":{"name":"Andrii Stefankiv"},"bugs":{"url":"https://github.com/AStefankiv/lotide/issues","email":"stefankif35@gmail.com"},"license":"ISC","readme":"# lotide\n\nA mini clone of the [Lodash](https://lodash.com) library.\n\n## Purpose\n\n<span style=\"color:red\">**_BEWARE:</span>_ 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<span style=\"color:green\">**Install it:**</span>\n\n`npm install @stefankiv/lotide`\n\n<span style=\"color:green\">**Require it:**</span>\n\n`const _ = require('@stefankiv/lotide');`\n\n<span style=\"color:green\">**Call it:**</span>\n\n`const results = _.tail([1, 2, 3]) // => [2, 3]`\n\n## Documentation\n\n### The following functions are currently implemented:\n\n* head - this function returns the first element of the array\n* tail - this function returns the last element of the array\n* middle - this function returns the middle element of the array\n* assertArraysEqual - this function compares two arrays and returns true or false based on a perfect match\n* assertEqual - this function compares two primitives and returns true or false based on a perfect match\n* assertObjectsEqual - this function compares two objects and returns true or false based on a perfect match\n* countLetters - this function returns an object with a count of each letter in a string\n* countOnly - this function returns an object with a count of each specified item in an array\n* eqArrays - this function compares two arrays and returns true or false based on a perfect match\n* eqObjects - this function compares two objects and returns true or false based on a perfect match\n* findKey - this function returns the key of an object based on a callback function\n* findKeyByValue - this function returns the key of an object based on a value\n* flatten - this function returns a flattened array\n* letterPositions - this function returns an object with the index of each letter in a string\n* takeUntil - this function returns a slice of an array until a specified value\n* without - this function returns an array without specified values\n\n---","readmeFilename":"README.md"}