{"_id":"@dwajsman/lotide","_rev":"2-20833dff931a4eecde1a251b22ed3049","name":"@dwajsman/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@dwajsman/lotide","version":"1.0.0","description":"A mini clone of the [Lodash](https://lodash.com) library.","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"./node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"git+https://github.com/dwajsman/lotide.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/dwajsman/lotide/issues"},"homepage":"https://github.com/dwajsman/lotide#readme","dependencies":{"chai":"^4.3.4","mocha":"^9.1.3"},"gitHead":"4249f6a8691e70ac43b392a2a1d3bb40ce3ecf2f","_id":"@dwajsman/lotide@1.0.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-vrYXJp2TvTXNM8orggEbcqnxP2V+nV4dLHvuvIxUGad8XP/5w6DKHMdEVE/H2zxGB0CeqbH6BHEquYctu86hvw==","shasum":"a8cce18b128c6ef7baf2d7943103e539b158d311","tarball":"https://registry.npmjs.org/@dwajsman/lotide/-/lotide-1.0.0.tgz","fileCount":24,"unpackedSize":28478,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2EwsCRA9TVsSAnZWagAANJgP/032xBt5+9mgrHYWYBy9\nLhcYH3m8lDDeiyMgFvy3SMc0eWIBGlxZzpqSZ9Y72xZHPUpbFNPP2Cp5Tg57\nTCKMxOXyHBNmrnviXbpJH/F3j2fB0uMYtle4TFzGuTmPkl2PGADLaYHzbZZ3\napRBrA5mNmbRZ/+Flshvw0JKFeYF0ClHLS40vnD8fYHN9MAKEmyXW9Hw0QxF\ngLtbcmYt+F6w/RDa0DbQC+nvtO2NOWqezFqEsTiLVO8CZ+58bQMfhRWzuzIo\n58fDBnnuZLMky4YW+ZRDcUq8Uj0V1QClj8yeHaFADJTJk/i//kTMXjXJs0OQ\nlPWkCEKLR804/Ixi8cRgH0MwR/XLIx1sQVYZljA3b8I8REcTWaJi39cWDTlG\nEPXVVHz5DHycb71AMp4Fr34o03LaneDHiwpwzLy7tgDUB/dn4XcWf8u9CoTY\nUcC2wq3yItlzIpqP+1LrRFiwnjKMrMtJzp0fI02/oi8CH3+rvEwVd4Ui7Df0\n3kcgvs8rHJtW22hQvf32lSfi894Cmdqu5XMY5KAWQkuy+715pugfZuuDR3V9\n19pzcQRLoZ0l32vb/He0nA75kojQ6gd8p/yPi4z0B4NDYLb0Px4JngWEJX+C\nd+hfPEuKMbTpmIKUFwnMFm08139TobFtmIhzfnR3JVlcMaj4tnqd7e7Zj1zj\neFfI\r\n=v7aM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB0gJTyTJBa6dFT4iKKAWXHpehrOb6IQIfxI/mWSqRYgAiEA6wE/Glk6Zzrp1GIRyIrmW72cqVy1JP23y3/VTNZkuQk="}]},"_npmUser":{"name":"dwajsman","email":"danielwajsman@mac.com"},"maintainers":[{"name":"dwajsman","email":"danielwajsman@mac.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1635830080501_0.5670501589166344"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-02T05:14:40.446Z","1.0.0":"2021-11-02T05:14:40.641Z","modified":"2022-04-05T06:11:00.642Z"},"maintainers":[{"name":"dwajsman","email":"danielwajsman@mac.com"}],"description":"A mini clone of the [Lodash](https://lodash.com) library.","homepage":"https://github.com/dwajsman/lotide#readme","repository":{"type":"git","url":"git+https://github.com/dwajsman/lotide.git"},"bugs":{"url":"https://github.com/dwajsman/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 @dwajsman/lotide`\n\n**Require it:**\n\n`const _ = require('@dwajsman/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*`function assertArraysEqual(arr1, arr2)`:  Asserts if Arrays are equal \n*`function assertEqual(var1, var2)`: Asserts if variables are equal  \n*`function assertObjectsEqual(obj1, obj2)`:  Asserts if Objects are equal \n*`function countLetters(str)`:  Counts letters in a string\n*`function eqArrays(arr1, arr2)`:  Compares if Arrays are equal \n*`function eqObjects(obj1, obj2)`:  Compares if Objects are equal \n*`function findKey(obj, key)`:  Returns key with Object containing Object\n*`function findKeyByValue(obj, val)`:  Returns key with object containg string or number\n*`function head(arr)`:  Returns arr[0]\n*`function letterPositions(var, letter)`:  Finds position of first of kind of letter in string\n*`function map(arr, callback)`:  Will return result of callback function applied to array \n*`function middle(arr)`:  Return value of middle number or numbers of array \n*`function tail(arr)`:  Returns array excluding first item \n*`function takeUntil(arr, callback)`:  Returns array excluding your choice of items from the beginning using a callback function\n*`function without(arr1, arr2)`:  Removes items from first Arr that exist in the Second Arr","readmeFilename":"README.md"}