{"_id":"@ar4sdoteth/lotide","_rev":"1-897d7176f7d2693ca61be0c58c631355","name":"@ar4sdoteth/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@ar4sdoteth/lotide","version":"1.0.0","description":"a mini-clone of lodash, from a lighthouse labs dev-in-training","main":"assertArraysEqual.js","directories":{"test":"test"},"dependencies":{},"devDependencies":{"chai":"^4.2.0","mocha":"^8.2.1"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ar4sdoteth/lotide.git"},"author":{"name":"Ash of the Barr"},"license":"ISC","bugs":{"url":"https://github.com/ar4sdoteth/lotide/issues"},"homepage":"https://github.com/ar4sdoteth/lotide#readme","gitHead":"f83e8ae55d2b08abfa0f0aaf0b6b46caf988f24b","_id":"@ar4sdoteth/lotide@1.0.0","_nodeVersion":"10.20.1","_npmVersion":"6.14.9","dist":{"integrity":"sha512-PBNDUq9M7LG48JeU0bBcaIxHfixp59UrnGp34WPmVNYWEYkkqIksrjwre2Cc4f7b63Qx1qP7ndyO/3mDNP/Umw==","shasum":"4d5fe16f8dc721b0ed8567419edc190a0dee5b6a","tarball":"https://registry.npmjs.org/@ar4sdoteth/lotide/-/lotide-1.0.0.tgz","fileCount":30,"unpackedSize":25794,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxcnwCRA9TVsSAnZWagAAq+AP/3qBrBpvphcLMKVNMKX8\nHCcuk/qoHX8s/o0CSDJrYwE8wFu57GrryVkS3YdYRdQ2fMUcTaODRhWGvVWE\n07s9ivE+1G89N8u41CqV4q2uhVpmqXlz/B92/4dw4cT7E3vb3bcY1zWwiEqJ\nUq1rD8vZmpa3Z1beAnODpbUw6RGrHIqaEUn27aX2YSOezMEFERuh9iwTVX2s\nD4vE+KOhA+k0sgKmUj7Ns5n7CxqUairhQhTod5MOwkiBN8ak66FIuOUsbYpo\nkcdgcm0ryA/Ej+Ln5KrVhuQWtSLvjn9jx67I4XhDyggsNoCS0V/mQJOnbtC1\nRu3XRjYMJ/whFTQx/yUw0rM3qRH42lKFCeebmSgktnQOxo91CvHm6Y71Smt2\n+JHLTrpgYMloSE2rvQKQmOHiBrg1Xbd3u9zOA4uVv7exorv/ja8rT7a4oBxG\nuX0kjXJMPnm0pC0jGx+LWI9E8Fr4ruHJsA7PH3CBTk1dGmSgqccw3dDlUIi1\n6mJ9c/Kf2+YVS31pwmW8Xcqx7droc38d5OozGw0Mr8efzQIHFxUKR6R8ZtAc\ncysAd/EWunZIwmFVZi48Iq7AqfxPFyxtlZ6FeOOMtWgUMzjtV2dYghQi2ENr\neTEFp7BWHqDADGikNsVTLqNZTHMSxWOUkZBqY8lOiufKzBhFMLqN4yWd0B2F\nF0pr\r\n=cfOg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIApNhxz9XvEZG1uDDRdn8CK7cBOwGq4+R0YFOGf8/E/KAiEAyORDikgKahZTTZct8w1n4aw33kAJPurJLDx1Y5DvfXA="}]},"_npmUser":{"name":"ar4sdoteth","email":"ashley.barr@ar4s.com"},"maintainers":[{"name":"ar4sdoteth","email":"ashley.barr@ar4s.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1606797806760_0.19457114713282753"},"_hasShrinkwrap":false}},"time":{"created":"2020-12-01T04:43:26.712Z","1.0.0":"2020-12-01T04:43:26.925Z","modified":"2022-04-04T15:14:16.954Z"},"maintainers":[{"name":"ar4sdoteth","email":"ashley.barr@ar4s.com"}],"description":"a mini-clone of lodash, from a lighthouse labs dev-in-training","homepage":"https://github.com/ar4sdoteth/lotide#readme","repository":{"type":"git","url":"git+https://github.com/ar4sdoteth/lotide.git"},"author":{"name":"Ash of the Barr"},"bugs":{"url":"https://github.com/ar4sdoteth/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 @username/lotide`\n\n**Require it:**\n\n`const _ = require('@ar4sdoteth/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 takes in two arrays and checks that they are equal in length, and value.\n* `assertEqual(...)`: function takes in two arguments -actual && expected- and returns an assertion.\n* `assertObjectsEqual(...)`: function takes in two objects and compares that they are the same.\n* `countLetters(...)`: function takes in a string and counts the number of each letter.\n* `countOnly(...)`: function takes in an array of strings and an input for what strings to count.\n* `eqArrays(...)`: compares two arrays.\n* `eqObjects(...)`:  compares two objects to see if they hold the same key-value pairs.\n* `findKey(...)`: searches object properties with call backs to return the key.\n* `findKeyByValue(...)`: searches object properties with an input and returns their key.\n* `head(...)`: returns the first index of an array.\n* `letterPositions(...)`: returns an object with letters-as-keys and all of the locations of those characters\n* `map(...)`: function takes in an array and a callback to operate on the array.\n* `middle(...)`: finds the middle element of an array, or if the array is even, the two middle values\n* `tail(...)`: returns all index after the first index\n* `takeUntil(...)`: takes in an array and a callback to return elements before those specified in the callback\n* `without(...)`: takes in an array, and uses a second array to remove items from the first array.\n","readmeFilename":"README.md"}