{"_id":"@denizedaza/lotide","_rev":"1-2602166e76776ca616dcde3165d3d443","name":"@denizedaza/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@denizedaza/lotide","version":"1.0.0","description":"lotide project for lighthouse labs","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/denizedaza/lotide.git"},"author":{"name":"Denize Daza"},"license":"ISC","bugs":{"url":"https://github.com/denizedaza/lotide/issues"},"homepage":"https://github.com/denizedaza/lotide#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.1.0"},"gitHead":"f011d35282139d7dd1f21bd454be961d75563d00","_id":"@denizedaza/lotide@1.0.0","_nodeVersion":"16.5.0","_npmVersion":"7.20.3","dist":{"integrity":"sha512-kWL8Z5M2T3Tr+0EkrGuwFvdPQO1O20soqp+7DTFpu9cojIFyxsMrVsfoLztVguYGwVJcMAuMZhXI9We3KsDkUQ==","shasum":"b243c2b7ba845a6ef6ca8f8dd3d3a2ae7641f47a","tarball":"https://registry.npmjs.org/@denizedaza/lotide/-/lotide-1.0.0.tgz","fileCount":36,"unpackedSize":20919,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJAGCCRA9TVsSAnZWagAAE8IQAJvmoBfyQvoxFAoAW0S/\ngts/GukVs8BP/JQk6oLDJOekJslZs0ynKgS2ulbJUhNlE+qQ+blzMwMBIkKg\ngPOI/sjvpOVPwDzex7aCeRrNDWqHEI/r1liBGWYR8vjyqTmpvKk7NLQmoFtw\n4SlmsHcETdMb8z0vSpZrZ5fOXcnKnpA+AJ0ucm8Qj7mZNPHKvAY65teO6uG5\neT6B2ODQ0m1tY3NXLuRLWSmp5tuTqGAJpIvv2u5Spzzlsu02qD+DERTvvv7F\neuiUenMzwR67JXiNRbbC2T9o/e+jHZJ4TKLLqBXDoLBOvbhPxdZLC2sOqHYX\nn0l1kN5fZyb2C18tO3CaTRTpT1C+/7NuTXLMpIO/Iun7t826q7DebdUZbpq3\nOzKW4vsdcjv3YWVl4KhBtWzykIG4x3VbQho1GWsitSuCDwYoEWOzSUWZ6FeO\nrpA2GZIE2JD3FALKlC3+vl8Yr+gHid1owcwroAOLloM85n4F/uYDdLQYIo+c\nWEu3VqtgCT53Ru50FF+HF0MF2H5Hg3qOHtlqlKbhjX762/tGLlvnIOclQDBI\neis47MhMRhkp4kideQXFqjCWYbzhVM5VIP4PePp9KUSboWVbul8UPfw3Dnom\noxBTyU9/ZL7y0ESbkki4HtXIUo7hN7zILaR63XV6Xgs61d+6AYgEPcKSCHwr\nqSpb\r\n=7Bey\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGv93bB5b7aIWqYWj9sMh/GJa+Q3Z2W8c0LvL1ZvLxLLAiAhcevlGb4tE3qDKfnENyk1+49QprunlqYUCL/vyCpryw=="}]},"_npmUser":{"name":"denizedaza","email":"dazadenize@gmail.com"},"maintainers":[{"name":"denizedaza","email":"dazadenize@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1629749634021_0.49473372983756647"},"_hasShrinkwrap":false}},"time":{"created":"2021-08-23T20:13:53.959Z","1.0.0":"2021-08-23T20:13:54.725Z","modified":"2022-04-05T03:45:10.805Z"},"maintainers":[{"name":"denizedaza","email":"dazadenize@gmail.com"}],"description":"lotide project for lighthouse labs","homepage":"https://github.com/denizedaza/lotide#readme","repository":{"type":"git","url":"git+https://github.com/denizedaza/lotide.git"},"author":{"name":"Denize Daza"},"bugs":{"url":"https://github.com/denizedaza/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 @denizedaza/lotide`\n\n**Require it:**\n\n`const _ = require('@denizedaza/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* `assertArraysEqual`: function that asserts if two arrays are equals\n* `assertEqual`: function that asserts if two values are equals\n* `assertObjectsEqual`: function that asserts if two objects are equals\n* `countLetters`: function that returns counts of each letter of a string\n* `countOnly`: function that takes items and returns counts for a specific subset of those items\n* `eqArrays`: function that compares two arrays\n* `eqObjects`: function that compares two objects\n* `findKey`: function that scans the object and return the first key for which the callback returns a truthy value\n* `findKeyByValue`: function that searches for a key on an object where its value matches a given value\n* `flatten`: function that flattens an array of arrays into a single-level array\n* `head`: function that retrieves the first element from the array\n* `index`: list of all the functions in an object\n* `letterPositions`: function that returns all the indices in the string where each character is found\n* `map`: function that creates a new array with the results of calling a provided function on every element in the calling array\n* `middle`: function that returns the middle element of an array\n* `tail`: function that retrieves every element except the head (first element) of the array\n* `takeUntil`: function that returns a slice of the array with elements taken from the beginning\n* `without`: function that removes elements from an array","readmeFilename":"README.md"}