{"_id":"@danlindeblom/lotide","name":"@danlindeblom/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@danlindeblom/lotide","version":"1.0.0","description":"A mini clone of the [Lodash](https://lodash.com) library.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/DLindeblom/lotide.git"},"author":{"name":"Dan Lindeblom"},"license":"ISC","bugs":{"url":"https://github.com/DLindeblom/lotide/issues"},"homepage":"https://github.com/DLindeblom/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0"},"gitHead":"a6100e59a23b13d705b16f30ca80541c66ad697c","_id":"@danlindeblom/lotide@1.0.0","_nodeVersion":"12.22.12","_npmVersion":"8.12.1","dist":{"integrity":"sha512-8nn2ZeVnKDvZlkmXePd9bMONUqROVcOpImA1ecDxlnUpC07J9jh+++dbUFg2Jl1f9le3wcvX8hLRfYMa41Xvyg==","shasum":"6bb901391428a159ee9078a171bc744e7287df19","tarball":"https://registry.npmjs.org/@danlindeblom/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":10275,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAba8GR+jNz7mNx9Cj1IqGW+Zoxvy0TnWX/LLoQ89XuXAiBkePwoaKXOOT7trPky8YaAmmS9+aUn5CRNNYZeVmLxWQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinowKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpcqxAAgRCldvF8l9W/AOMQpOCzH3LOXGO0pPhM1wlGq2Lt/7efOuXQ\r\ndPvhyWVV5d5+b+7xWcvFN3mdPVr13Wtng8j8ojPikxPwed7526GIfV/7Zbjl\r\nGzAvANHIJVs8SNwfCh1k1QCGWNxoWgswr0G3THq5dif7lxKv6N9YZr1HP79d\r\n+b0JLm1efP8Q6X5cWl99Dw8J/tMGEEtaO30aiw5yOpQSwkEEz4oxJiooJZWF\r\nDGu0by1Op2oz/daRXxojvbYZ4fLtw9xOCdiGLpv8hTQ8ISnHwz47LloMH25Q\r\nPwLOCMpuBBCq43xBWdUQ0c/AkNpzFtfLQqAdZoab/ZA3s9MDDjkYYxjIWal2\r\n/pKU0L61yButExHR11VYAiGz1f3ovEQLZyzDy/EofNK/uuR00agpg1bgbiA3\r\n00enHfNZnspOUzasHs1fPtEy0/Fgx+aXw7Kkb+m3SSvidTn8rDxfwo0R9iSF\r\nCARRN36VFpJdqjCU3WMjzHtNIZTpfDwFRzYIe0pUW41jvp+FJknWCQoyE9my\r\n+KxiJSDvhr0cZ2fRNHMIJTuo3xBHF9Ujkvdn8xs/nNLX35Onp5EIoKek+M/y\r\n+cuVWKw7Mpq6f/NNl6ghnktjc4QyEVIoT3OE897Zz8c6EOshFz9wratkD62o\r\nQNdsdQ2znIk4ka6FtDPVq6mcgIfOd0BSAQg=\r\n=YM4G\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"danlindeblom","email":"drdlindeblom@gmail.com"},"maintainers":[{"name":"danlindeblom","email":"drdlindeblom@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1654557706304_0.43277740204419524"},"_hasShrinkwrap":false}},"time":{"created":"2022-06-06T23:21:46.229Z","1.0.0":"2022-06-06T23:21:46.507Z","modified":"2022-06-06T23:21:46.642Z"},"maintainers":[{"name":"danlindeblom","email":"drdlindeblom@gmail.com"}],"description":"A mini clone of the [Lodash](https://lodash.com) library.","homepage":"https://github.com/DLindeblom/lotide#readme","repository":{"type":"git","url":"git+https://github.com/DLindeblom/lotide.git"},"author":{"name":"Dan Lindeblom"},"bugs":{"url":"https://github.com/DLindeblom/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 @danlindeblom/lotide`\n\n**Require it:**\n\n`const _ = require('@danlindeblom/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\nhead - copies index[0] of an array and returns that value.\ntail - Removes index [0] of a given array and returns a new array minus index[0]\nmiddle - Returns a new array with the value at the middle index.\nassertArraysEqual - Prints an assertion message stating if two varrays are demmed equal or not.\nassertEqual - Assert function which prints a message to the console if values are equal.\nassertObjectsEqual - Prints an assertion message stating if two objects are deemed equal or not.\ncountLetters - Counts the occurences of a given letter in a string and returns an object with  each letter value.\ncountOnly - Counts the occurences of a given value against a variable and returns an object with the value as keys and number of occurences as values.\neqArrays - Checks to see if 2 arrays have strict equal values at each index. \neqObjects - Checks whether key value pairs of an object are equal.\nfindKey - Scans an object and returns the first key for a given value using a callback function.\nfindKeyByValue - Scans an objects values and returns the key for a matching inputted value. \nletterPositions - Loops an array an creates an object with the letters of that array as keys and their indeces as the values.\nmap - Takes in an array and returns a new array of the values determined by a callback function\ntakeUntil - Takes in an array and returns a new array until a given value of the original array is met\nwithout - Takes in an array and returns a new array of values excluding those specified.","readmeFilename":"README.md"}