{"_id":"@diana1888/lotide","_rev":"1-5fa62733c1d862d916d1afd1e1b2f112","name":"@diana1888/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@diana1888/lotide","version":"1.0.0","description":"A clone of the lodash JavaScript library","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Diana1888/lotide.git"},"author":{"name":"Diana Ichmoukhametov","email":"akhtyamovadiana@gmail.com","url":"https://github.com/Diana1888"},"license":"ISC","bugs":{"url":"https://github.com/Diana1888/lotide/issues"},"homepage":"https://github.com/Diana1888/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"e9181243ee5453b34b8074fbd67d33b3635aa7e7","_id":"@diana1888/lotide@1.0.0","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-QrT7GWTlZQazy86LvMWCTJiNnqnASaYBcWfI8u2rthK9OeILbnG8A6pkVD8gRmF/b6F9nENgak4Dr/f1th+D8g==","shasum":"15e9e9bbfa8fec34947e949ffc9fd74cb2091f71","tarball":"https://registry.npmjs.org/@diana1888/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":21264,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvYhL7egMYeUzkbleRQnj/bEos7ODIjsjAT01lZCwgBQIgAQnPiOsuM35Va+Wp07h++3iBAFuKp0drUBdt/EgP5qs="}]},"_npmUser":{"name":"diana1888","email":"akhtyamovadiana@gmail.com"},"maintainers":[{"name":"diana1888","email":"akhtyamovadiana@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1691033234034_0.14587027378657846"},"_hasShrinkwrap":false},"1.0.1":{"name":"@diana1888/lotide","version":"1.0.1","description":"A clone of the lodash JavaScript library","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Diana1888/lotide.git"},"author":{"name":"Diana Ichmoukhametov","email":"akhtyamovadiana@gmail.com","url":"https://github.com/Diana1888"},"license":"ISC","bugs":{"url":"https://github.com/Diana1888/lotide/issues"},"homepage":"https://github.com/Diana1888/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"53aff1407b53fd13bc66281db0a66e452bd5b304","_id":"@diana1888/lotide@1.0.1","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-9MVuVpIDTdoLt5E4J75GtilYZMvKLxfxllK6Z8QoL1iE5tq1mV58sD5gTx1HutiyAL3STnayu9ky+X8GhihLPw==","shasum":"1003d14c9ae7c8a9ee57a2e6970b5989bc759436","tarball":"https://registry.npmjs.org/@diana1888/lotide/-/lotide-1.0.1.tgz","fileCount":26,"unpackedSize":24290,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDPXLMVBLcBVUQeABsdm03YiOd8zbveJ6935R9gY/R6oAiEAwe1hZgo1zHyxbLcW6bD2SrA3XlqzHcT4C6Dy0UYWKc8="}]},"_npmUser":{"name":"diana1888","email":"akhtyamovadiana@gmail.com"},"maintainers":[{"name":"diana1888","email":"akhtyamovadiana@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1691456672564_0.6856603358432518"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-03T03:27:13.973Z","1.0.0":"2023-08-03T03:27:14.184Z","modified":"2023-08-08T01:04:32.837Z","1.0.1":"2023-08-08T01:04:32.726Z"},"maintainers":[{"name":"diana1888","email":"akhtyamovadiana@gmail.com"}],"description":"A clone of the lodash JavaScript library","homepage":"https://github.com/Diana1888/lotide#readme","repository":{"type":"git","url":"git+https://github.com/Diana1888/lotide.git"},"author":{"name":"Diana Ichmoukhametov","email":"akhtyamovadiana@gmail.com","url":"https://github.com/Diana1888"},"bugs":{"url":"https://github.com/Diana1888/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 @diana1888/lotide`\n\n**Require it:**\n\n`const _ = require('@diana1888/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* `assertArrayEqual`: function that prints an appropriate message after comparing the two arrays.\n* `assertEqual`: function that takes in 2 values and returns true if they are equal and false otherwise.\n* `assertObjectsEqual`: function that takes in 2 objects and returns true if they are equal and false otherwise.\n* `countOnly`: function that takes in a collection of items and returns a specific subset of those items.\n* `eqArrays`: function that takes in 2 arrays and returns true if the arrays are equal and false otherwise.\n* `eqObjects`: function that takes in 2 objects and return true if they are equal and false otherwise.\n* `findKey`: function that takes in an object and callback and returns the first key that meets the criteria specified in callback.\n* `findKeyByValue`: function that takes in an object and a value and returns the first key that corresponds to that value.\n* `flatten`: function that takes in an array that contains elements including nested array of elements and returns a flattened version of the array.\n* `head`: function that takes in an array and returns the first element in the array.\n* `letterPositions`: function that takes in a string and returns all indices of letter positions in the string.\n* `map`: function that takes in an array and a callback and returns a new array based on the results of the callback on each item in the array.\n* `middle`: function that takes in an array and returns middle most element of the array.\n* `tail`: function that takes in an array and returns everything except the first element of the array.\n* `takeUntil`: function that takes in an array and callback and returns a slice of the array based on the criteria specified in the callback.\n* `without`: function that takes in a source array and an itemsToRemove arrays and returns only the items from the source array that are not in the itemsToRemove array.","readmeFilename":"README.md"}