{"_id":"@angusjk/lotide","_rev":"1-466d4d2e436c4c62d626c14d9d201a1e","name":"@angusjk/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@angusjk/lotide","version":"1.0.0","description":"a collection of modules that verify whether pairs of given objects or arrays are equal, perform letter counts of given strings, create luhn algorithms, and do other simple tasks","main":"main.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/AngusJK/lotide.git"},"author":{"name":"Angus Kellett"},"license":"ISC","bugs":{"url":"https://github.com/AngusJK/lotide/issues"},"homepage":"https://github.com/AngusJK/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^8.2.0"},"gitHead":"278a60d4c5d98501905fbcd8329ccdd152b8e447","_id":"@angusjk/lotide@1.0.0","_nodeVersion":"15.0.1","_npmVersion":"7.0.3","dist":{"integrity":"sha512-7BMkkZ4UxtNeXG/3JnbINWUo48EUsMuxj/XOnGQIPiX2RCMbWWmCtdfSAopfLCWj8D82p+kXEjT67Tmo6SM/fg==","shasum":"0d659e100bc510465baed828ca3116123468d0c3","tarball":"https://registry.npmjs.org/@angusjk/lotide/-/lotide-1.0.0.tgz","fileCount":46,"unpackedSize":43495,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfo2LHCRA9TVsSAnZWagAAPJIP/iejc0q0tbGmftokk8Hv\nUtYay42BwshrO5tgbwevEH18Tv5tesueZVN3PMrQGETGfNK8nC0rUTF3/nVf\nV8Q2LXWfpSl62pC6TmWULiG/DmhVxerseurLqlq/Ppp34Ng5aw1FZLNr+vyF\nlPz4I6KPw35xFhfcy5V4DRmTiVr7i7/b29PL+sMO3f6scjfq/1glJsQgrX7x\n6qqbA52GtaDl5bAUhvVKJ+0njrkoLcyH/QAu/gUoBclUoArxGHZa4PaUHL7r\n/k6G8pCWx1LZviW4lrzHSnXTmMmGBIKon8MXrReBqz6k2k7L2/1HcftI47um\nwIppPBKXTpw1rgXOGlAEoNyn4V1LI1ZO53PNkE8sQdqSW6eymXvvroo4c082\nr7Hnypgv8GbVhTWF4GnKSycrUli6FJVM6nlCde+agNLrV5Ndl6PhSdr/cVjx\nUeeE7nvIrPAjHh7JqvWkLN/EPLx5oFZzNBRLh5o3nG+1c+bR3Gyyi2XCkuHd\nV8hVxJNbMjRz5lA7vUN1g6Yp3tlewPV402U7tzGvIIXo4H8ZPJMPRNpmpHSP\nBtGxwPjZpISrvcGB63PvGNDUG8kC2fsHhSD04Zw8JPzltLvN760lXzeI2C2K\nViZk8U58aF7uNrocDWxUo3sK80wDgoIdKvMfmVVLCu5IiIzF6r0//I7kYk3e\ngGnh\r\n=R+mz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEatfbabMymOK/OPydEwiP11lOaEDOO3qK34CjUyHL/iAiEAqvNSyz+3sGFWFMX28wBzxqy0eLIUpKl2kngNQoVq3Go="}]},"_npmUser":{"name":"angusjk","email":"anguskellett@hotmail.com"},"maintainers":[{"name":"angusjk","email":"anguskellett@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1604543174865_0.6579890269492381"},"_hasShrinkwrap":false}},"time":{"created":"2020-11-05T02:26:14.815Z","1.0.0":"2020-11-05T02:26:15.009Z","modified":"2022-04-04T14:10:23.340Z"},"maintainers":[{"name":"angusjk","email":"anguskellett@hotmail.com"}],"description":"a collection of modules that verify whether pairs of given objects or arrays are equal, perform letter counts of given strings, create luhn algorithms, and do other simple tasks","homepage":"https://github.com/AngusJK/lotide#readme","repository":{"type":"git","url":"git+https://github.com/AngusJK/lotide.git"},"author":{"name":"Angus Kellett"},"bugs":{"url":"https://github.com/AngusJK/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 @angusjk/lotide`\n\n**Require it:**\n\n`const _ = require('@angusjk/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* `function1(assertArraysEqual)`: checks whether running two arrays through eqArrays gives the result we expect\n* `function2(assertEqual)`: checks whether two given strings, numbers, or booleans are the same or not\n* `function3(assertObjectsEqual)`: checks whether running two objects through eqObjects gives the result we expect\n* `function4(countLetters)`: returns the number of instances of each letter within a given string\n* `function5(countOnly)`: takes an array of names and a list of names to count instances of in that array\n* `function6(eqArrays)`: tells whether two given arrays are equal or not\n* `function7(eqObjects)`: tells whether two given ojbects are equal or not\n* `function8(findKey)`: returns a value of a given object when passed a key corresponding to that value\n* `function9(findKeyByValue)`: returns a key of a given object when passed a value corresponding to that key\n* `function10(flatten)`: takes in a nested array and returns a single arrays containing all values\n* `function11(head)`: returns the first value in a given array\n* `function12(letterPosition)`: returns the indexes of each letter contained in a given string\n* `function13(luhn_algorithm)`: checks whether a given number is valid by the standards of a luhn algorithm\n* `function14(map)`: returns an array containing the letter found at a given index of each string in an array\n* `function15(maxProfit)`: returns the largest difference between any number and any subsequent number in a given array\n* `function16(middle)`: returns the value(s) found at the middle of a given array\n* `function17(poppin_bottles)`: algorithm for determining how many bottles can be purchased and returned with a given amount of money\n* `function18(tail)`: returns all but the first value in a given array\n* `function19(takeUntil)`: returns all values in an array that match a given criteria\n* `function20(without)`: returns an array containing only values not matching the given criteria for removal","readmeFilename":"README.md"}