{"_id":"@caitlining/lotide","_rev":"2-1652ef23cf3197a3be1a451b0e31fea8","name":"@caitlining/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@caitlining/lotide","version":"1.0.0","description":"A library of functions, similar to but simpler than the Lodash library. Created as an assignment for the Lighthouse Labs Web Development Bootcamp, indended for learning purposes only.","main":"assertArraysEqual.js","directories":{"test":"test"},"dependencies":{"chai":"^4.2.0"},"devDependencies":{"mocha":"^6.2.0"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/caitlining/lotide.git"},"author":{"name":"Caitlin Ing"},"license":"ISC","bugs":{"url":"https://github.com/caitlining/lotide/issues"},"homepage":"https://github.com/caitlining/lotide#readme","gitHead":"bc6ad0bc256768821d5b24fcb9f6a53875473b30","_id":"@caitlining/lotide@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"caitlining","email":"caitlincing@gmail.com"},"dist":{"integrity":"sha512-Q0QhMOUSbfhEeukVsDqSl+tCboDQdA7hiL8OvPltN2ae//8cENvm7sM/TW8CyX66AngpAFbW4+z27q0xb5fktQ==","shasum":"129f5e4198c5201b32c02d58d4e2693031081751","tarball":"https://registry.npmjs.org/@caitlining/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":21673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdiUnmCRA9TVsSAnZWagAA2oIP/2DJ2E6zOE8W1xYHKyIw\n2uC+FY0EMvfarnkUMwaRQf+rH/S/TedbQY+nfKKO95Ih3tpXSt4MS1vfrjq+\np0G4395eEY88WhuH7K4GnNZxvNxDDnJ2SZEJwO2RMadfV1oz+xcDJ5T5yg38\n0D0GJpcuwh7Tv8Hp1AuhsTa/QUIaXIDcSu5bAaLSYHrSSNizZNohBoVS5it6\nXnApx6MjUvH/cmzmGB8Hfh0lDfcjVWHfxfqmcel08FRYAPRvk8LuctuNXVq9\nxy+Uiqyq8aB1jnFxCOj+7VB+Qlsch0OPEAdtJ5IFiHZ2SJUeMzpewM/imogl\ntUR2qZf7ln9alGiymFdScnQvKeEE+YVMWHCiuVe3j6EA6amm2ILIwBuNlQKR\noYkcdpxgWVYFCcCeCwI9iubJDLVVKoNAzg/hA72ILDTdUQLiZCq6KBFu4Kiw\n1FA3xylkZVZPkOUpU2azFNqNd/x4+IsmuGfMBR22jr4wEgWUv3Gn37zJ60ns\nG/j7J9wVhQ76xOaDv/kwrfbQxLTM1pb0rTccZAjOuPY0b55UqJ2e07Pftd81\n8+LukfpG/Ej6jASWpGaG6kiK8kmL9VyoroC0qbLyu3JZDBcAN2Rr0YHCfOsA\nX/bdvk8lTUsaeioXWBeCcUWFMa5bLuLPQK05EdbC/2VfhPAJnsBmKZx0nRSB\nxVMg\r\n=2x6D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPKQGcccjOeDqvXomNZfhSsTkztyKQrkG3wVlopU5GVQIgdROUFMfitFb1phbaOtPL6ald6RmcYWi4xiXr1iOrVmM="}]},"maintainers":[{"name":"caitlining","email":"caitlincing@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1569278437559_0.2802448876695347"},"_hasShrinkwrap":false},"1.0.1":{"name":"@caitlining/lotide","version":"1.0.1","description":"A library of functions, similar to but simpler than the Lodash library. Created as an assignment for the Lighthouse Labs Web Development Bootcamp, indended for learning purposes only.","main":"assertArraysEqual.js","directories":{"test":"test"},"dependencies":{"chai":"^4.2.0"},"devDependencies":{"mocha":"^6.2.0"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/caitlining/lotide.git"},"author":{"name":"Caitlin Ing"},"license":"ISC","bugs":{"url":"https://github.com/caitlining/lotide/issues"},"homepage":"https://github.com/caitlining/lotide#readme","gitHead":"e2fa4cb97a8b80a8350cc22538b86841241d551f","_id":"@caitlining/lotide@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"caitlining","email":"caitlincing@gmail.com"},"dist":{"integrity":"sha512-S/5nJjiOnPNP8w56CD2MN8xShQunw2Gwi29Hu7tVTG3JgQ7hfE8KTUyCNtRj9gj28vVOw93nS9NEUFvHbhfE4g==","shasum":"67a2d97e0b48b88af416172ac2902b87a12237f4","tarball":"https://registry.npmjs.org/@caitlining/lotide/-/lotide-1.0.1.tgz","fileCount":37,"unpackedSize":18071,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdiWVoCRA9TVsSAnZWagAAuIEP/RbcMR4lDKq0eTr4SyYN\nUHLnOgJ+1x1HuU6PjlwPK+GAyXOf2OrZD8Iu4vBNBldJj15VXBb2OPMIhUGT\nubSd7/BUKu5vwWKIhTMTxvR3d537e2IPg/DC/LzWT1WaUfV9e9vC9nFuum16\nnUMXtVuAzyrkgs6fxoHxqrgIc3cBmE1158JgoObeVDpl+gw9rWgJARHiMPUU\nJwpCSZfZQzFjAXT7zThKwJqh1NtCd1sIlLM54+5NyxbfRgh4jI0/gsUb/66B\nMYmWjPRmje3oSd9+2Fhmbq0MIgl7OqlZqtODcmY8UNtqxUu18na4DW/NyRRU\nzIZekONSr1XleDtBMi0nsYVwh05hoL1Hft8YvDwMtdxxbKP1xAF4QdsyQfzx\nekos1hFoN4IdJ79RCe5cr0AIyiiPoTeT5QgIcO6Ux33smfB01kIwW819NxEb\n886hh9Er9Guff0yC60Ks82TxFNQX4rdEX4YYZfQYEjhUmFefKIiv5GC386+9\nKLYsR40s/j17deAAb1NX0fn5DnnoZZuaWmdSBnwiNdpYkksOT5D0FS6Pm3xu\nv/zNigAg0Wh2x5L9roa96cMwH3qpdgia35/fjl/ogYeUT75gIPVFh1byWaQt\nw3pxBGWkfjx2PLE/PfYSn88PPGWv/oOTJeccKPgDt0TBL9KpGtSL5CaZo4dT\nLGr+\r\n=/y/9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEhP1AOs4U2oXAyuPPWM9V6x4z+hesLojv2bAJIcIL9LAiBSRAsn7D9AWaThuLKQUu3I3XStuLgihFRY8S1AWLqISw=="}]},"maintainers":[{"name":"caitlining","email":"caitlincing@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1569285480132_0.8745367270195459"},"_hasShrinkwrap":false}},"time":{"created":"2019-09-23T22:40:37.343Z","1.0.0":"2019-09-23T22:40:37.652Z","modified":"2022-04-04T21:31:17.290Z","1.0.1":"2019-09-24T00:38:00.396Z"},"maintainers":[{"name":"caitlining","email":"caitlincing@gmail.com"}],"description":"A library of functions, similar to but simpler than the Lodash library. Created as an assignment for the Lighthouse Labs Web Development Bootcamp, indended for learning purposes only.","homepage":"https://github.com/caitlining/lotide#readme","repository":{"type":"git","url":"git+https://github.com/caitlining/lotide.git"},"author":{"name":"Caitlin Ing"},"bugs":{"url":"https://github.com/caitlining/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 @caitlining/lotide`\n\n**Require it:**\n\n`const _ = require('@caitlining/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`: accepts an array and returns the first element\n* `tail`: accepts an array and returns the same array, but with the first element removed\n* `middle`: accepts an array and returns the middle element or elements as an array\n* `countLetters`: accepts a string and returns an object with key value pairs to denote each character in the string, and the number of times it occured in the string\n* `countOnly`: accepts an array of strings and return counts for a specific subset of those strings (the subset is identified by an object)\n* `eqArrays`: accepts two arrays and returns true or false based on if they are equal\n* `eqObjects`: accepts two objects and returns true or false based on if they are equal\n* `findKey`: accepts an object and a callback function: scans the object and returns the first key for which the callback function returns a truthy value\n* `findKeyByValue`: accepts an object and a value: scans the object and returns the first key which contains the given value\n* `flatten`: accepts an array where some elements may also be arrays and returns a single array with no inner arrays (a \"flattened\" version of the input array)\n* `letterPositions`: accepts a string and returns an object with all of the indices in the string where each character was found\n* `map`: accepts an array and a function, and creates a new array with the results of calling the provided function on each element in the input array\n* `takeUntil`: accepts an array and a callback function and runs each array element through the function, returning an array with all the items from the original array until the callback provided returns a truthy value\n* `without`: accepts a source array and an array of items to remove, and returns a subject of the source array, removing any elements that were included in the inputted array of items to remove\n","readmeFilename":"README.md"}