{"_id":"@dodsie/lotide","_rev":"3-1e65c7c564dbad1dbcbb099edf89262e","time":{"created":"2022-03-14T23:54:59.197Z","1.0.0":"2022-03-14T22:27:53.064Z","modified":"2022-04-05T05:06:01.894Z","1.0.1":"2022-03-14T23:54:59.391Z"},"name":"@dodsie/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.1":{"name":"@dodsie/lotide","version":"1.0.1","description":"This is Bailey Dods's project in which was created and published by me as part of my learnings at Lighthouse Labs","main":"assertArrayEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Dodsie/lotide.git"},"author":{"name":"Bailey Dods"},"license":"ISC","bugs":{"url":"https://github.com/Dodsie/lotide/issues"},"homepage":"https://github.com/Dodsie/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^9.2.2"},"gitHead":"2e9973bdee072ec8e131054ed623e78ccf156de7","_id":"@dodsie/lotide@1.0.1","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-QZ/jaXrhOmWuPi8M8XHFRLTbNa96Uh2driqaQ4ywuDt/864eV+gQaSMMQ+/Ubu5SC7ITfSva51Zl5S6iP2ZcSg==","shasum":"1dbba4b7f48af4477378a9cbca6e0adb04d67b1e","tarball":"https://registry.npmjs.org/@dodsie/lotide/-/lotide-1.0.1.tgz","fileCount":25,"unpackedSize":11112,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiL9XTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmomzQ/+Pe5UtX6MazFim2aV8DgdwU5EBq/PGTsBqYRusWebfo3nnEIb\r\n36JvtAyzKQDRTLkksRJ3WijQCEaXjzSAAKJ/REH/b3caNvZIyaD1cnB0eh6t\r\nEo9HYO/BZ+NJnYOxPSMlRgSr0Czogt1tj0nBPRFllyRDAZUchPQFUFLH2wTi\r\nbc1mptLfAt1McaiPmnmGQ+hJ1l/4ZXt9vRv8YByHkqXhdjinA3siYfennCfc\r\n7VLLNATivoAm065I996gUD0fVzxccVu2nSR33yFKnduJrBe6bIyXAdx4rTHy\r\nvEvOZB41IMF+3+0zVrB1uIsNARE7sN/gz77uCl66lmEEVgcXi/mYh6THshbk\r\nGXa67BcyJbX+uYyg5pXUBUhlyM9oFxLOhwICRUJY2BqJMtFGTKT86sBx4kVt\r\nlLzJrU3p+uASUFCsqKWxmRXp5HLfPiqsPKA6DAZCXvjiLj/B0iPHtd+1jvrA\r\n/YliTclhPkjDxXHe3hGqM5T8FYR/62Ae7O258kzfJXn0eccjUEKuok72CRBZ\r\noaWPa2wqBh41kPlIIUphmbMPHKMuGrKZ5fv+nRSaIFMQ1vVea/VThIZmLvnF\r\nW6hZwJh+jzEev6NYgiD2oQRxZwdMzh3R7XvtbUIOTbw2FQLyjLZkqa5I7BXn\r\nLAhA8Hfd7uf3QHQsclyYFnNwUm2MOrLVhKo=\r\n=HKnz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtFGRargBlDa8hINGCk44prXkXhDiiBcc1o25v3GQncwIgOq+HqJWVrteEBpUFse39rGd17QZO351rVR3TIgCEu20="}]},"_npmUser":{"name":"dodsie","email":"baileydods@gmail.com"},"maintainers":[{"name":"dodsie","email":"baileydods@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1647302099254_0.8818017306808337"},"_hasShrinkwrap":false}},"maintainers":[{"name":"dodsie","email":"baileydods@gmail.com"}],"description":"This is Bailey Dods's project in which was created and published by me as part of my learnings at Lighthouse Labs","homepage":"https://github.com/Dodsie/lotide#readme","repository":{"type":"git","url":"git+https://github.com/Dodsie/lotide.git"},"author":{"name":"Bailey Dods"},"bugs":{"url":"https://github.com/Dodsie/lotide/issues"},"license":"ISC","readme":"\n# 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 @dodsie/lotide`\n\n**Require it:**\n\n`const _ = require('@dodsie/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(assertEqual) : compare a 'primitive' value type to the expected output by \"strict-equality\" comparison.\n* function2 (head): retrieve the first element provided array, array will not be manipulated.\n* function3(tail): retrieve everything but the first element of provided array.\n* function3(eqArrays): compare \"strict-equality\" of two provided arrays.\n* function4(assertArrayEqual): will take in two arrays and log and appropriate assertion message to the console.\n* function5(without): compare two arrays as arguments and return any values that do not \"===\" the values in compared arrays.\n* function6(middle): given an array this will return an array of only the middle elememts, if array is even it will give the two middle elements.\n* function7(countOnly): will be provided an array & object, returning an object containing counts that the input object listed. Can be used with assertEqual to compare actual vs expected outcomes.\n* function8(countLetters): will take in a sentence and return the count of each of the letters within in \"sentence\".\n* function9(letterPositions): will return an array of all the indices (zero based positions) in the string where each character is found.\n* function10(findKeyByValue): will compare an object with a string and provide the key of where the string can be found within the provided object.\n* function11(eqObjects): will take in two objects and return true or false, based on a perfect match.\n* function12(assertObjectsEqual): will take in two objects and log and appropriate assertion message to the console.\n","readmeFilename":"README.md"}