{"_id":"@andyzen619/lotide","_rev":"1-9e5ec4426df935e43cf6a84349f271aa","name":"@andyzen619/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@andyzen619/lotide","version":"1.0.0","description":"A mini Lodash clone meant for educational purposes","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/andyzen619/lotide.git"},"author":{"name":"Andy Liang"},"license":"ISC","bugs":{"url":"https://github.com/andyzen619/lotide/issues"},"homepage":"https://github.com/andyzen619/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^6.2.2"},"gitHead":"3323080d26791685e6f8fed1aa0a57f4ff57580d","_id":"@andyzen619/lotide@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"andyzen619","email":"andyzen619@gmail.com"},"dist":{"integrity":"sha512-GxI5OvPSIcLrA2stK6OjF3zTo4n2moXpaU64zAI3qUZseZ29Q1gNirHMkt8/jTaFjRbdoMcHNpwMs7aE6nq1Tw==","shasum":"2ac77d40e98d9dafeb781cac4add392b1f6d2819","tarball":"https://registry.npmjs.org/@andyzen619/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":19534,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdrg4xCRA9TVsSAnZWagAAol8P/2Cjkk8V/7CWxUdoCxlZ\nZb7Li6FJ9hF/GnPc+C6jFeankl52ZQCIeLygTqMzTvtIGlhVOjbommlS0nCG\nhvKxmffaP6n6zEgcEPhzsgeAiyguI3NvEohHWbQSPsTfnbaYeBhAmylONuus\n1whCYIn7Sf78cMa2FgN/NCBQpSuUrDORhZWlSw0k1o07BNApvswjXMlacTcA\nGjo1FxFK/1PEbKzwTVPi2SQuuqaX0kUbdOC7prE/TatfiaDiR0ohtqBp+5/t\nBQLZUuqsg9XtwcMz5p9HULu2XtYavTtCuVNbMKrzsrJyFWghaWeWIWmqBhiJ\nJ07v39ZvmLX3oVIEqC8PAmKxYRflY/TvCTKOW25SwZ5HU3EUOwunm2Bojaup\n6DxSQU/BGQOxjfZUuElEjSBpO6EWvYkWblxzpPJji+AM9aww8b7W03aIASx+\nbXeCxb7YDgrVwwxpTpifz5SCmjG8lXGkeYK123Ero+3Fg7X/36DAh2eWWyLX\n7Ip7IFPFHVf5U1mqGcYI1mUYjDe2YcB/i/5FIyPcXGYNh/8O6iRTP6jsF3ob\nueQ26aDvfsuPPxSkihsGWcd30Ocx+JhzixN/wSuuQzNWGkac7WpEVNenTwlX\n3T41PzGwC7TwGtP9fDo3v9d66TPaQk4DYjs/aycFC0hiRINZ0U9DUJ+oMSXd\nPxwd\r\n=9PVh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFIVQV6LKdRLSnP0jtRn8ALy51jS07pB3WgmBGnDvxCCAiBQRgPjrRr78mxWYarrPQIwoCZQcRg2yKerxXLRSSwPhg=="}]},"maintainers":[{"name":"andyzen619","email":"andyzen619@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1571687985057_0.48876828653945936"},"_hasShrinkwrap":false}},"time":{"created":"2019-10-21T19:59:44.815Z","1.0.0":"2019-10-21T19:59:45.156Z","modified":"2022-04-04T14:04:50.843Z"},"maintainers":[{"name":"andyzen619","email":"andyzen619@gmail.com"}],"description":"A mini Lodash clone meant for educational purposes","homepage":"https://github.com/andyzen619/lotide#readme","repository":{"type":"git","url":"git+https://github.com/andyzen619/lotide.git"},"author":{"name":"Andy Liang"},"bugs":{"url":"https://github.com/andyzen619/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 @andyzen619/lotide`\n\n**Require it:**\n\n`const _ = require('@andyzen619/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* `countLetters(str)`: Returns a object that contains the number of occurances of each letter in string.\n* `countOnly(itemsToCount, array)`: Returns an object that contains the count of items in an array\n* `findKey(object, callback)`: Returns a key based on callback function.\n* `findKeyByValue(object, value)`: Returns the first key that's value is value\n* `flatten(array)`: Returns an array that contains all the items without the nested array.\n* `letterPosition(str)`: Returns and object whos keys are the letters of string and the value is an array of indices for that letter\n* `map(array, callback)`: Returns an array containing all the items of array that satisfies the callback condition\n* `middle(array)`: Returns an array containing the middle items.\n* `tail(array)`: Returns an array with the first item of array ommitted.\n* `takeUntil(array, callback)`: Returns an array that has all the elements up to when the callback function returns true\n* `without(arr1, arr2)`:Returns a new array that contains items in arr1 that are not in arr2 \n* `head(arr)`: Returns the first item of arr.\n","readmeFilename":"README.md"}