{"_id":"@andyzhen/lotide","_rev":"1-ff46d6e6fcb2110fcb27e5237d30534e","name":"@andyzhen/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@andyzhen/lotide","version":"1.0.0","description":"a simple clone of lodash for learning purposes","main":"assertArrayEquals.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/azhen44/lotide.git"},"author":{"name":"Andy Zhen","url":"https://github.com/azhen44"},"license":"ISC","bugs":{"url":"https://github.com/azhen44/lotide/issues"},"homepage":"https://github.com/azhen44/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^9.2.2"},"gitHead":"9ed84a4f17ba5422e0538a9d00c2138facd8b922","_id":"@andyzhen/lotide@1.0.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-Wr+d5sFMLsFmW6qiRnY1ol3fGE5WB5BiAlH/sBmKTwPCtijalJdMz9hBaJ3NkSu/oM2GweQehmYrdFoKNBMwcw==","shasum":"77bb9fe6e882c4dd919e28af8ed9ffad43cc2dcb","tarball":"https://registry.npmjs.org/@andyzhen/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":22861,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiL+jCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo3xQ/+LI7YWPjpTtmVk/EvmGdPtWHwwy5wRxxzC7al0YbI9nz2eCtI\r\n2x9YDcBis16mCicctZZepwnNEhy9FzWDwK86a9Wz7kiKXI51QFNO2VQcrA7K\r\nXFSLw7zYMO1H0qvVmnXqj3x++Io3I+2zaNOHEA1h/t3NEt3u7obBAYKZaL0E\r\nWIYABHgvIKAVJ9rXaA1Y8WqylZc0h/wfaJO2pGXHA27IRU1zyk3Nmsjm+I3x\r\nGOvCb0FlnNL11yYmwMBH3wwGbSSvRjNk5So91qZw/LOEFO5RMHlJy0yw6CmA\r\nlJ3q3uvDhTc0okLE+lxFuTlOF/KXfW3FV1cf4E/cFKMYNDR0bR0wLDd7eilj\r\nuJqo7qVYee7ZEsznMg/fJQLFqZOxyzg66cdf7LnF0Hy+lK7iKSMupvscjI6e\r\nqyjWReCsO9kIh7cfIHOt520EM7TBAOI63IVczFbRjx7UudHnXxucQFfGQm5E\r\nifbgSEAU2bXqxW8ZCo2eH8SOvBda5mlpyC0mqRUqgx8BE6UAYXQBpVIshUIN\r\n0tCYQwbbFiALGNM/TCWnPyk9DgdlvSVka7pL5GAN2+4oOKxtkXRj4ry3tTij\r\nwC1k654dI/wdD6dpdFb9Y+aY8mkYra6wS0gQ1LYEIbQLcw+WVigfk1vohOnv\r\ng4enj2qbFhSTkomOxtLxiWfot3HTR0IpwPE=\r\n=myhv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBgJbSGIl3h70fSvK/6P313FWTvS2AaZI2iEVcO6pkYUAiEAhUSESEamWkc+GS/iLr4Z/8uyyj5FhBWkKm2kS240T0s="}]},"_npmUser":{"name":"andyzhen","email":"andyzhen44@gmail.com"},"maintainers":[{"name":"andyzhen","email":"andyzhen44@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1647306946097_0.9853646825241935"},"_hasShrinkwrap":false}},"time":{"created":"2022-03-15T01:15:46.039Z","1.0.0":"2022-03-15T01:15:46.241Z","modified":"2022-04-04T14:04:50.954Z"},"maintainers":[{"name":"andyzhen","email":"andyzhen44@gmail.com"}],"description":"a simple clone of lodash for learning purposes","homepage":"https://github.com/azhen44/lotide#readme","repository":{"type":"git","url":"git+https://github.com/azhen44/lotide.git"},"author":{"name":"Andy Zhen","url":"https://github.com/azhen44"},"bugs":{"url":"https://github.com/azhen44/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 @andyzhen/lotide`\n\n**Require it:**\n\n`const _ = require('@andyzhen/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(string)`: counts the number of characters in a string.\n* `countOnly(array, item to count)`: only count given values.\n* `findKey(object)`: returns they key of matched element\n* `findKeyByValue(object)`: returns a key given an Object Value\n* `flatten(array)`:flattens an array\n* `head(array)`: gets the first element of an array\n* `letterPosition(string)` return all indicies where the character is found on a given string/\n* `map(array, function)`: returns a new array with the results of calling a provided function on every element in that calling array.\n* `middle(array)`: gets the middle element\n* `tails(array)`: gets all but first element of an array\n* `takeUntil(array,callback)`: returns an array of sliced elements from the beginning until a given value is reached.\n* `without(array,values to exclude)`: creates an array exluding given values.","readmeFilename":"README.md"}