{"_id":"@brynschulha/lotide","_rev":"1-4d25fb3c62b7ab54b4679ba3a1590227","name":"@brynschulha/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@brynschulha/lotide","version":"1.0.0","description":"brynschulha's lotide library","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/brynschulha/lotide.git"},"author":{"name":"Bryn Schulha","email":"bschulha@ualberta.ca"},"license":"ISC","bugs":{"url":"https://github.com/brynschulha/lotide/issues"},"homepage":"https://github.com/brynschulha/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^8.1.3"},"gitHead":"bea87c7c7c1192e6597dfb2a7682f788fa9299ba","_id":"@brynschulha/lotide@1.0.0","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-1nHP+zmbrZ5TsizcHYEYZCpB4i2frFivSKG7Ju57ycSC1rYOMQa7r+C+8Q6zdJr7u8fFA5HGe9JhG1Nk0ghvNA==","shasum":"3f3971b969ae9f74572b262fbdc5cc2d4c5bdf9f","tarball":"https://registry.npmjs.org/@brynschulha/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":17485,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfaTswCRA9TVsSAnZWagAAxSkP/3xp2K0nLmMhbrGliDYl\nWml5jykY19BNgqnmbLdr9Cs3BxJBCPD1fp4PnUlQxmdEnTSzBTJK4EJQqzmW\nmCOntPth1AwCwHhSndNsRMmTBLKWBHsD12cJsIrDB0wKe6h0ffBwFXQDAWHX\nKIBm0jcnGLxcDCZ/i6plUPw9NVQiHW/SNbC/312tFG3SoBAbifqrCeRwxsT9\nEGGbn7XvDMCMZL3Ox2f57UhynlkielvgnzaPHSL3Iam1IlInQqE1BX2MsNZV\nmWc6YGaXwEbnPdQLVXbzOwX9qrpxUGAPWD92SasYr6dYDeftYinIZvbxWH6v\nL42D8/Na67mYcMdXBJ1M76ejLm6tbM0G/7qjQW3hJ+dP5J3R8DaIHMvxH7Ic\nNeRMqC/AORYF2eJfZy4/CoJDWDVjS2H5PPRi1AzGI05Vy/BTY9JPup+ElzxG\n27CfZaE5JIvC/hKAqHZMz1VPGDdzrzoINeajuJE4k3YhB0Ltf/4wDnj+Yz0g\nXxALUXZ05PPF9alD0+DD803hoo2fhqeQ6NkT1+vcLB7d6s4KhNwp1rsGEOEm\nr9JGWS6v5NL5r8gjrM185D4CgAC2Be2SR2oFwERFoPNBB+wnkxtTI0OxVycp\ncww+qhVrJyhlPwtP0BPRe5bWMT+lrbufpX1Z2GIZaYoX2yqhRWv4Tta/o2Ov\nQgAE\r\n=sOAm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEJ0CAYLbtNu85LTZzog2DQgXbfTKn1YD5tZI5YpDO/QAiEA4orNkpzCyocKQWWkTF+9H+8GnJASa4uBGD/hJEDttSE="}]},"maintainers":[{"name":"brynschulha","email":"bschulha@ualberta.ca"}],"_npmUser":{"name":"brynschulha","email":"bschulha@ualberta.ca"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1600731951763_0.07099358132246292"},"_hasShrinkwrap":false}},"time":{"created":"2020-09-21T23:45:51.714Z","1.0.0":"2020-09-21T23:45:51.862Z","modified":"2022-04-04T20:50:16.743Z"},"maintainers":[{"name":"brynschulha","email":"bschulha@ualberta.ca"}],"description":"brynschulha's lotide library","homepage":"https://github.com/brynschulha/lotide#readme","repository":{"type":"git","url":"git+https://github.com/brynschulha/lotide.git"},"author":{"name":"Bryn Schulha","email":"bschulha@ualberta.ca"},"bugs":{"url":"https://github.com/brynschulha/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 @brynschulha/lotide`\n\n**Require it:**\n\n`const _ = require('@brynschulha/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* `head(someArray)`: returns the first element of an array\n* `tail(someArray)`: returns everything after the first element in an array\n* `middle(array)`: returns the middle element of an array\n* `assertArraysEqual(actual, expected)`: prints an assertion that two arrays are equal or not\n* `assertEqual(actual, expected)`: determines equality\n* `assertObjectsEqual(actual, expected)`: prints an assertion that two objects are equal or not\n* `countLetters(stringInput)`: counts the number of letters in a string\n* `countOnly(allItems, itemsToCount)`: counts the number of a specified element\n* `eqArrays(array1, array2)`: determines if two arrays are equal\n* `eqObjects(object1, object2)`: determines if two objects are equal\n* `findKey(object, callback)`: returns a key that has a value that matches the output of a callback\n* `findKeyByValue(object, value)`: returns a key given a value\n* `letterPositions(sentence)`: prints all the letters of a sentence and which index number(s) they appear at\n* `map(array, callback)`: loops through elements in an array and performs a callback function on them, then stores them in a new array\n* `takeUntil(arr, callback)`: will return elements in an array until a certain element is reached which is determined by a callback function\n* `without(source, itemsToRemove)`: takes an array and removes certain specified elements then returns what is left","readmeFilename":"README.md"}