{"_id":"@adbwu/lotide","name":"@adbwu/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@adbwu/lotide","version":"1.0.0","description":"A mini clone of the [Lodash](https://lodash.com) library.","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/adbwu/lotide.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/adbwu/lotide/issues"},"homepage":"https://github.com/adbwu/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"07847e78f2f710a26cc911de1f2914d6f8cc7b67","_id":"@adbwu/lotide@1.0.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-yQkjjSwLZNtTv7yYvg0lBlUtrg0XuiOT+Px6nFLL+RGv0PKyT1l21ZbAuWU0zPyAgLL9faWe2AZkANPsgArsKQ==","shasum":"70559b1cc2b77a2755fb570cbcac968c6ad0eab1","tarball":"https://registry.npmjs.org/@adbwu/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":15840,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgjerK4npYS8bdoj5cnDg7k4QEfTTPYIdy8wfR38hPEQIgTLuTSBFxuCtWUR0NYqNRO4p3QAJmeyuTm3L+mdoS94U="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfDNdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmogEhAAm2Ur3qj+lEUG7W8Vmzu0LOBq+Cq9NcKlDMd13GgZt5Np/CzA\r\nC6gS+bkGwtIsC2f1yEIKInnqdSYcpumgwS1L5JTKJHNeQt32ySq6BvIBDBki\r\nhkzxuiJDCKjBKu2jI0NiXCDzg/tj0ZzbHlDJBrWWkQupD/vAIKlrRBIE0ePu\r\n9ehXLiCTgYRxVdn/1h4IAjwOOXf7yESrzYY1c++bbSdQjXYyJ4pXWFD/tzNb\r\ntz3sPqHB9IuIqTz6/dzXWT4eobksK0ox6zIB2MH0YFfdscFpWZSqO42cmy6R\r\n6VPsUX3I8KfJlMslzZcjLvwqJesQ8MBeDEFm8leczPn0VKMfO6S4CDF2x+0c\r\nCS+FuuugU7fTIkkmOFIxGGB2BsqLjl1jgwBmTEOcdmlgY6VXfByMXoZ3wVsx\r\nEz4LAMdisW/WiFQrlMGmzcFYzh7YkeR/MYvd0+LIOXsbLg5VSzb99hBRUt18\r\nI+TcH1pOj+MweJDZeu9MWpJP3/9J42QjtsCBXzO1uakFZuqS9cEgdd/jPKtI\r\nZDy6hyj3Hwytk0d1KZY5n3cLEHlNrGo2eSP1koT3smIjIXuFpv5f9tnxSg6p\r\nb2Z4Vj2ZlYeggN/0WPhV1M7oBrIuW7DRbULWdbNyN6JXRPzP88QA/hE2s1CY\r\n11/Kld72oKifPRSjoI1FpAx1MNqmvNYR2Ow=\r\n=64j9\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"adbwu","email":"adbudziak@gmail.com"},"maintainers":[{"name":"adbwu","email":"adbudziak@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1669083997762_0.6792899766870009"},"_hasShrinkwrap":false}},"time":{"created":"2022-11-22T02:26:37.704Z","1.0.0":"2022-11-22T02:26:37.898Z","modified":"2022-11-22T02:26:38.015Z"},"maintainers":[{"name":"adbwu","email":"adbudziak@gmail.com"}],"description":"A mini clone of the [Lodash](https://lodash.com) library.","homepage":"https://github.com/adbwu/lotide#readme","repository":{"type":"git","url":"git+https://github.com/adbwu/lotide.git"},"bugs":{"url":"https://github.com/adbwu/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 @adbwu/lotide`\n\n**Require it:**\n\n`const _ = require('@adbwu/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(array)': gets first element in array\n* 'tail(array)': gets last element in array\n* 'middle(array)': gets middle most element(s) in array\n* 'countLetters(string)': counts letters in a string\n* 'countOnly(string, character to count)': counts occurances of a provided character in string\n* 'findKey(object, case)': finds first occurance of key by its defined value \n* 'findKeyByValue(object, value)': loops through object and returns key if provided value exists\n* 'letterPositions(string, character to index)': returns an array of indexs of occurances of provided character\n* 'map(array, function)': returns an new array with provided function applied to provided original array\n* 'reverse(string)': reverses a string\n* 'takeUntil(array, case)': returns new array of provided array until provided case is met\n* 'without(array, element to remove)': returns new array out of provided array and element, with element removed","readmeFilename":"README.md"}