{"_id":"@burke-md/lotide","_rev":"1-c8d81b33b6155254fdcfd6689d821172","name":"@burke-md/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@burke-md/lotide","version":"1.0.0","description":"Project for learning","main":"assertArrayEqual.js","directories":{"test":"tests"},"dependencies":{"chai":"^4.3.4"},"devDependencies":{"mocha":"^9.0.3"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/burke-md/lotide.git"},"author":{"name":"Burke-md"},"license":"ISC","bugs":{"url":"https://github.com/burke-md/lotide/issues"},"homepage":"https://github.com/burke-md/lotide#readme","gitHead":"63f59ba07ba2b9c094b226b281886e737cad78c5","_id":"@burke-md/lotide@1.0.0","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-e6DqE8tcSD3kMNJNcL2D0qwQO0vBy1ZpHpAK6ZdWno880XHDc9kAhHU04xUHMc5PdSy1r7wZvs4Z07j/VDkkEA==","shasum":"a931b20fa5d034f9df81b6382f4b6d39c8b0748e","tarball":"https://registry.npmjs.org/@burke-md/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":18317,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg/wlHCRA9TVsSAnZWagAAqIcP/Rn0J3tijVyTTGLl0+mb\np99Ba+TEj12WowKwjwBhmcBMrFFFmT6Yta7fp6zl+ybKRYlHua3x2RBnACjm\n/ea8KKkj9xl506JCf+I2RAl+QD5lycSYGxfjhKxS01tBwgjjqiW5zInmK+iS\nJcd5p6krflg/haDXOHcAhOXWe21hYYghDVRmWFbaNRNhzI65fDefAwxHQJdc\nRYohKpw/sWo3zh9swYybENSSy1qpSWmgQZYoUDcN6w+4lpR7yp+t4u6uj0NJ\nvSFQwsh6BU2Hz2kE1/Fi4afM0dCHz4zbfuabQiALnKXcKv6hCJrrD4yDe3Ic\njEOlGPVqjYxkZN3zTwDls94P2ACoiQaB/dMa++i1tqQmj4GRNNQKXoxbyOxo\niVZ9dmBWbofwtuGojjx39VLKOEFbDRlhJJ0fQsClk83MLXz+Yv6qWvGktBVQ\nhUbFtnwjcBwgn20TBtkK4KUWDuipacXrjf+Jhq31gJgG4x27cbXzKh57Fkek\n8h1dcF8+ckCgVLHv2Y4wn1qRzRQ+69jo2ZmCTztylSgubrhkELuPAzBgeDYJ\nTNjH0WrPFMSYoC+7rEJl8Q2A0PgU1zGYHxVwEa6sHZFnlP/BCOyldpn8nATo\n5eHI/+57DPSAoq8CMl1v+3jRWttGSKrqXmBBXnIpq5CrzUFIiqZrZEspadfF\nPvUs\r\n=g4d0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYD5sJfsA8wkhtj9ZBedDma57dFm9TOj3LV/O5DEy5vgIgV8H4xLnTVMV6nh0ALUpiEgyn7mj0O1SbvQEOkOTZQi8="}]},"_npmUser":{"name":"burke-md","email":"michael.dburke56@gmail.com"},"maintainers":[{"name":"burke-md","email":"michael.dburke56@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1627326791511_0.9280206767689423"},"_hasShrinkwrap":false}},"time":{"created":"2021-07-26T19:13:11.464Z","1.0.0":"2021-07-26T19:13:11.691Z","modified":"2022-04-04T21:07:31.672Z"},"maintainers":[{"name":"burke-md","email":"michael.dburke56@gmail.com"}],"description":"Project for learning","homepage":"https://github.com/burke-md/lotide#readme","repository":{"type":"git","url":"git+https://github.com/burke-md/lotide.git"},"author":{"name":"Burke-md"},"bugs":{"url":"https://github.com/burke-md/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 burke-md/lotide`\n\n**Require it:**\n\n`const _ = require('burke-md/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\n\n  * `head`: Returns the first eleement of an array.\n  * `tail`: Returns all but the first element of an array without altering the arr.\n  * `middle`: Returns the middle or middle two (if array has an even number of elements) elements of an arrya.\n  * `countLetters`: Returns an object with the frequenecy of each letter of a given string.\n  * `countOnly`: Acepts an array of strings and an object of strings with T/F values that dictate which strings are to be counted. Returns an object with the frequency of each string \n   ex. countOnly([bill, bob], {bill: true, bob: false})\n  * `findKey`: Returns the key from an input object whose value passes the criteria of a callback function\n  findKey(object, callback)\n  * `findKeyByValue`: Given an object and a value, this function will return the corosponding key\n  findKayByValue(obj, value)\n  * `letterPositions`: Returns an object containing each letter as a kay and an array of each index occurance of that letter as a value\n  letterPositions(string)\n  * `map`: Returns an array with the callback function applied to each array element\n  map(arr, callback)\n  * `takeUntil`: Returns an array with each element of the input arr UNTIL the callback no longer accepts. \n  takeUntil(arr, callback)\n  * `withOut`: Returns an array without the element specified by the arguments\n  withOut([\"inputArr\"], [\"removeThisElement] )\n  \n  * `assertArraysEqual`: Compares (T/F) Arrays\n  * `assertEqual`: Compares (T/F) simple ===\n  * `assertObjectsEqual`: Compares (T/F) Objects\n  * `eqArrays`: Compares (T/F) Arrays\n  * `eqObjects`: Compares (T/F) Objects","readmeFilename":"README.md"}