{"_id":"@areejombas/lotide","_rev":"1-e0dab3726461c3f8a16924be6ca29d13","name":"@areejombas/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@areejombas/lotide","version":"1.0.0","description":"Our own version of the library lodash (for learning purposes)","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/AreejOmBas/lotide.git"},"author":{"name":"Areej Ba Salamah"},"license":"ISC","bugs":{"url":"https://github.com/AreejOmBas/lotide/issues"},"homepage":"https://github.com/AreejOmBas/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^8.2.0"},"gitHead":"4fb4e6e0791991c3e6dd20e1a507f7ab2fe89cfc","_id":"@areejombas/lotide@1.0.0","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-4SSK0uSLAJ6PnXorAZHB74JrMpoZ6PCekTjSdgNmaZdRFv/aMJJEuVhJx6R+VMkeD/H3NqISUzRlud+0bCDBBQ==","shasum":"3b09d231ac9ac95035e4f399e6d2c31186a6c377","tarball":"https://registry.npmjs.org/@areejombas/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":21545,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfndJYCRA9TVsSAnZWagAAL+IP/14qaWgqgzdtDQLMyZZh\nqC4QMuw0kctJr2VMw1ejX986YpgEPn2vuq48jx6MWN1liRQuk3GaVPBAToNC\njWA0x5GnWf6qJMjawNVz7A3uya3KKqCD5VvvOos+to3UNZHEOq933BM3QYCq\nLw8Dr78xLYiOapREAYs1OYOi55/9yky8JljYo3wJzN1tG8oRAJ1sQhizgEXY\n8o0yXWolbXrvonG0xfMZ+Z7TgpPBpgnP3HzS6QK6EcJpnoQB6ErMkMO3mTEe\nfDW7462VvsmKQKOklM2wwtnOUiQaVntOMMJUxXY0H4kpUV1XCCw83o6cr3Va\nsdDdGNSj9qcUPZVOOeTRcpEMJ2hBdTc+6/73ZIP3wWF4zAeoze3UIkN/Vicq\nC/0WubUs05zQg1qCj6TEu8m+h6OTFdUD6iOhPGBM9IogtkbxStNUwqVnr1Q+\nUxlPu3wVl88WaOJGQSuWp7ct2bsyyNU2j27+boXLowUU1Yt4yLRMM0oBnq1k\nGlVBTXHCSh9NvrMCE062JhFQm3xx6jJ+/UxhMBxSAMXxQIKrbirscF6f0Bb5\n4ppsDgov2bLzJ16FncfjzAwfs9/fRGwLi0M1mwWiD2bkTyyfv56SYDPu/Ndm\nedZQaOBvqjPsWz9Ngn555PUnWZXIyNMW8/0UndIxbxha1hFbyJjFOGJXA2qV\nwTDf\r\n=Lx9G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTjZWgC5IY+gAUgt9Yu9uTA6fX0poNrtXVbU5mFJboxwIgKMmX0LPOdOiNQiWQfxtPGgwjU9PahLBpWfGNrjRTfsA="}]},"maintainers":[{"name":"areejombas","email":"areej.ombas@gmail.com"}],"_npmUser":{"name":"areejombas","email":"areej.ombas@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1604178519682_0.5635625523963341"},"_hasShrinkwrap":false}},"time":{"created":"2020-10-31T21:08:39.646Z","1.0.0":"2020-10-31T21:08:39.844Z","modified":"2022-04-04T15:22:59.148Z"},"maintainers":[{"name":"areejombas","email":"areej.ombas@gmail.com"}],"description":"Our own version of the library lodash (for learning purposes)","homepage":"https://github.com/AreejOmBas/lotide#readme","repository":{"type":"git","url":"git+https://github.com/AreejOmBas/lotide.git"},"author":{"name":"Areej Ba Salamah"},"bugs":{"url":"https://github.com/AreejOmBas/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 @areejombas/lotide`\n\n**Require it:**\n\n`const _ = require('@areejombas/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\n*`function(assertArraysEqual)`:  assertion of two arrays.\n\n*`function(assertEqual)`:  assertion of two values.\n\n*`function(assertObjectsEqual)`:  assertion of two objects.\n\n*`function(countLetters)`:  returns an object which contains each letter in a string with its number of occurrences.\n\n*`function(countOnly)`:  counts items in an array that satisfies a given array of items.\n\n*`function(eqArrays)`:  compares two arrays return Boolean.\n\n*`function(eqObjects)`:  compares two objects return Boolean.\n\n*`function(findKey)`:  search the object and return the first key which satisfies a given callback.\n\n*`function(findKeyByValue)`:  returns the key in an object where its value matches a given value.\n\n*`function(head)`:  returns the first element in an array.\n\n*`function(letterPositions)`:  returns an object with every letter in a string (as key) and its position (as value).\n\n*`function(map)`: creates a new array with the result of calling a callback function applied on every element in the calling array.\n\n*`function(middle)`:  returns the middle element(s) of an array.\n\n*`function(tail)`:  remove the head  of the array and returns the rest.\n\n*`function(takeUntil)`:  returns a slice of the array with elements taken from the beginning until a callback function is satisfied.\n","readmeFilename":"README.md"}