{"_id":"@adkmcphee/lotide","name":"@adkmcphee/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@adkmcphee/lotide","version":"1.0.0","description":"This was a project as part of Lighthouse Labs web development bootcamp. View at your own risk as code is written by someone new to programming.","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/adkmcphee/lotide.git"},"author":{"name":"Adam McPhee"},"license":"ISC","bugs":{"url":"https://github.com/adkmcphee/lotide/issues"},"homepage":"https://github.com/adkmcphee/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"92126564fd8d13e47b73920589333b37f1a38116","_id":"@adkmcphee/lotide@1.0.0","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-XVkd5yuXga7ZNQPqfMN1BNaYo+PwF5js9+ByLIhjJzZQJOWjrvgdsSqbPMdII/WyZrZY3IrTgHYe+2Z4f4DkUA==","shasum":"9e259ae01831802199dc0a66c0a68462489f6489","tarball":"https://registry.npmjs.org/@adkmcphee/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":21997,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLijgejDZ7VyUN7zihh5J3H46pgVG/xONaevoIiKeEoQIgKgCm2BSKzMZQm/dnTrM0XuGdI7f9uKlk6FcemOK2R5U="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNJ50ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqoVw//ckYWjFQrI6ewzwi/Juzs2BMP0z+yDBbgdRKPDaVua2xFpZSk\r\n8kloeuxUhKs7EMEH7nxaITSS7iWdvzdD3edTJToFHhXBNCgs2NnJMMIHCHEF\r\njNE0Fk3dZbr7f+ki65rboEfWCGWrBiy6/oo6bNuX95SvGLVYvGSZib/RB7S2\r\nrYAPpgQJxPouEdird0SxbIdBUW55ARx7Q//J5ucQK9wLtOfe4SaEVYwbIZrY\r\nKDVz0p/bqkKuPKcGSiVDkDHYQp7QGAKyILasA1dyJ1aAxEMlQbe+h0XDkdln\r\njt5yiLKPJyW6lMONsuQ8QcAlJQbVPyhsJ4Xi2yiFfBpzuEmzIiR1ViNzbG6i\r\nGmNm1TCoRSb0Kryi/5dEipwA/L+TYWjgCof2EC0zydaflcXGXG8d0dDzH6JP\r\nZNY6znoMf7z8+DbTIdcwdSFqpgMb7hKOxIhfQUcml6yW2GJnvU9POyEkBwsI\r\nJJijScsSzTmqrsN8Iai0YKInMzwLAYtHKSlB/vkrKlxwc41wjj2kMzMxgqyb\r\n3JhTsLgh1qqdGJ27eLDgONLW/O9gJtPT3RzNQSz/Z5b39t5JU+8jO5Vtn3YB\r\nh2POLgNUgng3IGY+hnsuQ3g3ERWhulcqvdKofp4Rf+VchkJOssdACuOu6Eln\r\nypbdkvDuXxpjS7aHidMTqeRNutjTL52ylJk=\r\n=uZQT\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"adkmcphee","email":"adkmcphee@gmail.com"},"maintainers":[{"name":"adkmcphee","email":"adkmcphee@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1681170036253_0.20665741395166615"},"_hasShrinkwrap":false}},"time":{"created":"2023-04-10T23:40:36.201Z","1.0.0":"2023-04-10T23:40:36.410Z","modified":"2023-04-10T23:40:36.588Z"},"maintainers":[{"name":"adkmcphee","email":"adkmcphee@gmail.com"}],"description":"This was a project as part of Lighthouse Labs web development bootcamp. View at your own risk as code is written by someone new to programming.","homepage":"https://github.com/adkmcphee/lotide#readme","repository":{"type":"git","url":"git+https://github.com/adkmcphee/lotide.git"},"author":{"name":"Adam McPhee"},"bugs":{"url":"https://github.com/adkmcphee/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 @adkmcphee/lotide`\n\n**Require it:**\n\n`const _ = require('@adkmcphee/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: Returns the first element of a given array.\n* tail: Returns the last element of a given array.\n* middle: Returns the middle element of a given array. Cases for odd and even length arrays.\n* eqArrays: Tests if two arrays are the same.\n* assertEqual: Tests if the expected output matches the provided output.\n* assertArraysEqual: Checks if two given arrays are equal.\n* assertObjectsEqual: Checks if two given objects are equal.\n* countLetters: Returns an object with the occurances of a letter from a given string.\n* countOnly: Returns the occurances of values from a given object.\n* eqObjects: Tests if two given objects are equal.\n* findKey: Returns a key associated with the given object and callback function.\n* findKeyByValue: Returns a key associated with the given object.\n* map: Return an array given an array and a callback function.\n* takeUntil: Return all elements of a given array with a callback function.\n* without: Returns an array with selected elements removed.\n* letterPositions: Returns an object with an array of positions for idenfitied letter in a string.","readmeFilename":"README.md"}