{"_id":"@eegyudt/lotide","_rev":"1-5c1009c32848ae711f33523a968fc3e4","name":"@eegyudt/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@eegyudt/lotide","version":"1.0.0","description":"Lightsouse Labs Student project: lotide collection of functions","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/eegyudt/lotide.git"},"author":{"name":"Eszter Egyud","email":"eszter.egyud@telus.com"},"license":"ISC","bugs":{"url":"https://github.com/eegyudt/lotide/issues"},"homepage":"https://github.com/eegyudt/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"dependencies":{"my-package":"0.0.0"},"gitHead":"463ad9de4767c57e880053040778e689faa61350","_id":"@eegyudt/lotide@1.0.0","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-9leOI5pDl+S6NSGPBCGezX6ow7DkLZdViFv9/Ssppu4MYWtJgW8IJZEUt8Pf3bp+T3yiJdjd3IX84CJC4a0HIQ==","shasum":"70703fe4429e5c76b2a2084bbf84b64fd9e7bcd0","tarball":"https://registry.npmjs.org/@eegyudt/lotide/-/lotide-1.0.0.tgz","fileCount":28,"unpackedSize":25885,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeB/P7UNzsATeME4tRdqQlGaTtkV9+r4UDOxjP5rtfigIhAO2V4xNxEgksMUe3/6+s8R+hs/CPtkXOsgqHlKBNSigu"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfEOIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoLVA/+KMfYSjlOaVnUctCB0oqBYrOeUW5yuNaVFRE20d5PQOKKAMVh\r\nDW8JDgtI4TYlqduPsZK7nzoVNHy9IUD4h56W1JFsVB8XOd9MqxQV4EOks+P7\r\naPxluthagghl00Y3GOXo8OM4cjTEwwLMww6bJDMfnDdhGpPz9P8RZKR2yx0T\r\nRODAc6BIDWsdRXvLYANvtF+QQ3bWKDCSk5+gETy2abdG0mzDwR8NNWnhMcJR\r\nKY6I8ziDJpgk+FxS4CvjTcd/7syhzUq7FAnT6NpoSYywbQNkgcmFpnUx6u3q\r\naPgalo9geH8DQIzxeUM5lhiDAKK2Iiur4TRksKeZR6R5etyd85ah0Q22dfQo\r\nHZgxmSTfTS90KP1h0gneAx0TlcBGuBDMOcyllIYqr44kTRzrsasTRrGxN/KL\r\nFkzMTv0GDWae6IYWTLBQy5YgEmv6RlV99PV1eOjA23e1M/4N0obcsqmJP93n\r\nRS+WNB3fLv2oTQZDzQxmthBvSO0nLPCNFDFEBlSU8Bp4igOjZRpYPRih6J41\r\nALsyxFWAmp2x5wyLG2TG2qHJSZoOtLNXSVD8V3UHorzCm52LwMqjm2XjBY4/\r\nq6CW9Xud0gT+SSP+Dl4WpWq72buNm3BXlLNDjC0DpQPHpA2PCUs4sliL3ZGE\r\nZMAbUzIBA5Ri6lhscF85GvSxV2wkTRVKKMs=\r\n=IPhZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"eegyudt","email":"eszter.egyud@telus.com"},"maintainers":[{"name":"eegyudt","email":"eszter.egyud@telus.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1669088136079_0.1393875115498393"},"_hasShrinkwrap":false},"1.0.1":{"name":"@eegyudt/lotide","version":"1.0.1","description":"Lightsouse Labs Student project: lotide collection of functions","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/eegyudt/lotide.git"},"author":{"name":"Eszter Egyud","email":"eszter.egyud@telus.com"},"license":"ISC","bugs":{"url":"https://github.com/eegyudt/lotide/issues"},"homepage":"https://github.com/eegyudt/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"dependencies":{"my-package":"0.0.0"},"gitHead":"06a06dec3e2a43fed5b5b4951199a6496557d424","_id":"@eegyudt/lotide@1.0.1","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-UG3TZ/po6jVy1H5/k4WXc2ijFOBEBe+9X2w0/cipWT0AgSkRdJKdVLy5hlQ9/zX/BWnen/p+nF0l8bj/Vu24rA==","shasum":"dfb655ef87631097365d8c1232ceb4e31aa65973","tarball":"https://registry.npmjs.org/@eegyudt/lotide/-/lotide-1.0.1.tgz","fileCount":28,"unpackedSize":26755,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHooQChpfz7k3GFhxo1sh6kx37WOC46POlr11el+HCsuAiEAqZlYMlawbGvAJgyFDS8BfEeFJZ/SyZcWUtqIHQE8Ppk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfHGRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmob2w/+Kxg0w4+K7Plmm5GF2rk3Pz5YRuLiS8TcSRzjEmLFfUl5a+YT\r\nFHoZa0nIDw1KrVFvm6D/OFCUjZKnyGTxAFAILgwpA6LufnYuvL/uSgWOoqs2\r\nNFGw2zqTXdhCnC/B8u5/sB6mklOW3Dx1FvP5UFbf8ZE2WJy2+BnJ33/nlqiZ\r\nPZC4rm1rMaKL8fntPty8gaPNULJZhxtb+sXF76iMpZZgW5coCbs80nb/bLwF\r\nD/FhQNVaFzp8dC5ZmoAdXp1DQsEeXaYl8rjO7nGUXgbWsvv5zpHaksTHhRv1\r\n8zCz8/swCifPBEXtZRadfILi9lHk0uDm38BQdcJtfjK63a5PMuMGk8Fl0cQH\r\nXxQcuXZRdBIt4aqR9X+tq5fEtr5A6Ja3PrbWPWt4loIJim5j7Nmruqflacle\r\nQdF7a/NkYLI5Odqx7pm/mWzZjkJ6B5sEK67yQ8WCwpzw3b5pN0rKJsf2T7C8\r\nHJRXiXDlkgSrLmg6Ry0i0dKzjZWAwv+Muncl4rims5bVw+JMpKJ7hXW2EVbI\r\nEmnzvX3aKj4cupjX8GV0CARH+fIfZdUzdW0HsrOk+bkvgIq81ApXI18mm1cW\r\n1MR+6kCaX1dT0XyYjCBJGzwKEfjIiJx8jJUx1eMVK6VccRnmBm+ok5r9Ql5X\r\nUZEuebt+wA2uTtcnwiOGp0NEc/vW4z47SBk=\r\n=Oocz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"eegyudt","email":"eszter.egyud@telus.com"},"maintainers":[{"name":"eegyudt","email":"eszter.egyud@telus.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1669099921378_0.8308868200887658"},"_hasShrinkwrap":false}},"time":{"created":"2022-11-22T03:35:36.002Z","1.0.0":"2022-11-22T03:35:36.239Z","modified":"2022-11-22T06:52:01.621Z","1.0.1":"2022-11-22T06:52:01.550Z"},"maintainers":[{"name":"eegyudt","email":"eszter.egyud@telus.com"}],"description":"Lightsouse Labs Student project: lotide collection of functions","homepage":"https://github.com/eegyudt/lotide#readme","repository":{"type":"git","url":"git+https://github.com/eegyudt/lotide.git"},"author":{"name":"Eszter Egyud","email":"eszter.egyud@telus.com"},"bugs":{"url":"https://github.com/eegyudt/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 @eegyudt/lotide`\n\n**Require it:**\n\n`const _ = require('@eegyudt/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(...)`: takes in two arrays and  their checking match, console.log an appropriate message to the console,\n* `assertEqual(...)`: compares the two values and prints out a message if they match or not\n* `assertObjectsEqual(...)`: take in two objects and  checking their match, console.log an appropriate message to the console\n* `countLetters(...)`: returns a count of each of the letters in a sentence\n* `countOnly(...)`: returns an object containing array elements and quantities for the elements in the input object\n* `eqArrays(...)`: takes in two arrays and returns true or false, based on a perfect match\n* `eqObjects(...)`: takes in two objects and returns true or false, based on a perfect match\n* `findKey(...)`: takes in an object and a callback and returns the first key for which the callback returns a truthy value\n* `findKeyByValue(...)`: takes in an object and a value and returns the first key which contains the given value.\n* `head(...)`: returns the first item in the array\n* `letterPositions(...)`: returns all the indices in the string where each character is found\n* `map(...)`: take in an array to map and a callback function and returns a new array based on the results of the callback function\n* `middle(...)`: takes in an array and return the middle-most element(s) of the given arra\n* `processargv(...)`: taking command line arguments\n* `reverse(...)`: reverst order of string\n* `sum(...)`: sum numbers entered in console\n* `tail(...)`: returns the \"tail\" of an array: everything except for the first item (head) of the array\n* `takeUntil(...)`: takes in an array and a callback function and returns a slice of the array with elements taken from the beginning until the predicate returns a truthy value\n* `without(...)`: returns a subset of a given array, removing unwanted elements","readmeFilename":"README.md"}