{"_id":"@aaron-s-kim/lotide","_rev":"2-d21374eddc03ef8a814011ea34531e30","name":"@aaron-s-kim/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@aaron-s-kim/lotide","version":"1.0.0","description":"lotide package","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/aaron-s-kim/lotide.git"},"keywords":[],"author":{"name":"Aaron Kim"},"license":"ISC","bugs":{"url":"https://github.com/aaron-s-kim/lotide/issues"},"homepage":"https://github.com/aaron-s-kim/lotide#readme","dependencies":{"chai":"^4.3.4","mocha":"^9.1.3","save-dev":"*"},"gitHead":"37a2f3283092f0ba9ab478a9f072de290ec502d1","_id":"@aaron-s-kim/lotide@1.0.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-7XZg8H8h681c+87L/cQkUsBVrJ/LX77Kl6sZ5Y0AQeCrq4fvgCodjNxzaTwJRP2I2UyFnFiRNSXPg+gFq4mMXQ==","shasum":"b5740fd00de6b97129544d3f29cf002b4f3aac91","tarball":"https://registry.npmjs.org/@aaron-s-kim/lotide/-/lotide-1.0.0.tgz","fileCount":37,"unpackedSize":20716,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhuxrsCRA9TVsSAnZWagAAnnUQAKAjMHAX7HL/z5XhYuoh\nygCOxEQ+EOdASw/Sj2OSUdtvKATafkUYgnc3RB/7osrIJdIaPkrPKKsio+EE\nNA7MDPksUl/qjttXGGXyvRzZeK3VmbRrtrl3doCrT5sJns2evrUJ9EqtJuZX\nsuIZD/aXXJ034mOgLXTtzf+cHWViqEKxKOpDn9diBS0SFAwtUaGBf5kXD8g4\ntw0Z0bqENfUYjh30ZKHrarM16Xe4K1juWFfjJaRu3ZEHdU5SvQ3Q1zKWhoW/\nMP6ETwtp7c60qUqwLqIAGXnureaymw4kdaCOp/F4ox9uQD7nvlWyAGJSOVqR\nEVYdcclm6G6/doQaiP/k5FyjQnOuBVmw7jHAR8bfyBCH2/rQNidRoTU8HjHD\npK4a2kdszwAkDEKxBlDzB7MKqGAMMYT/f7rB+9B6LtT2vKoRh/8H8FbMqrHd\nHg4GgvuFXJZi7+DD9SXhPkjjgfsJeHh/KQvhhuhDS8pqJmBjte6vFo4NNPkZ\nEpQRK322yXWN8FViCzJUXN4BVd667Fptt4Tmwd4CFEy1H23++0W/J0vdSJNr\nmS1sy7l2pa3ZGZt1APcH8ApcQfpGyLm5Q5j074F80o9JvVhRcq/990iK0qil\ndcF6tdsABQV3wC5s8HCRiCID1hX/YwWA8dElrfPhpj5R6MbW0rzDAhszSNJU\nOQxt\r\n=ALhq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD926ooLYPrykumhPlKTxjnr2O/5lpCgGmLIx/pxojqVgIgZDcoK3xMSVSBiV8CiVEV82XFv8DJVOYyLciPX6Or6Uk="}]},"_npmUser":{"name":"aaron-s-kim","email":"aaron.song.kim@gmail.com"},"maintainers":[{"name":"aaron-s-kim","email":"aaron.song.kim@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1635812015113_0.7575748356158853"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-02T00:13:35.050Z","1.0.0":"2021-11-02T00:13:35.263Z","modified":"2022-04-04T10:55:32.244Z"},"maintainers":[{"name":"aaron-s-kim","email":"aaron.song.kim@gmail.com"}],"description":"lotide package","homepage":"https://github.com/aaron-s-kim/lotide#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/aaron-s-kim/lotide.git"},"author":{"name":"Aaron Kim"},"bugs":{"url":"https://github.com/aaron-s-kim/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 @username/lotide`\n\n**Require it:**\n\n`const _ = require('@aaron-s-kim/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`: return obj with count for each letter in sentence\n* `countOnly`: count items in array only if object value is true\n* `findKey`: return first key that callback returns a truthy value\n* `findKeyByValue`: return first key which contains given value\n* `flatten`: returns 'flattened' version of array\n* `head`: returns first element in array\n* `letterPositions`: returns all indices in string where each character is found\n* `map`: returns new array based on the callback function\n* `middle`: returns middle elements of array\n* `tail`: returns array without first element\n* `takeUntil`: returns slice of array taken until callback returns truthy value\n* `without`: returns new array with only elements from source not present in indicated array","readmeFilename":"README.md"}