packages/contributors-view/docs/js/search/search_index.js
var COMPODOC_SEARCH_INDEX = {
"index": {"version":"2.3.9","fields":["title","body"],"fieldVectors":[["title/interfaces/Contributor.html",[0,0.395,1,0.606]],["body/interfaces/Contributor.html",[0,0.326,1,0.718,2,0.72,3,1.013,4,1.013,5,0.501,6,1.013,7,0.501,8,0.718,9,2.665,10,2.665,11,2.665,12,2.665,13,2.665,14,2.665,15,2.665,16,2.665,17,2.665,18,2.665,19,2.665,20,2.665,21,2.665,22,2.665,23,2.665,24,2.665,25,2.665,26,1.705,27,2.665,28,1.763,29,0.133,30,2.04,31,2.441,32,1.013,33,0.081,34,0.081]],["title/interfaces/ContributorsConfig.html",[0,0.395,35,0.871]],["body/interfaces/ContributorsConfig.html",[0,0.469,2,1.036,3,1.457,4,1.457,5,0.721,7,0.721,8,0.919,26,1.453,28,1.615,29,0.134,30,2.044,32,1.457,33,0.103,34,0.103,35,1.32,36,1.457,37,3.097,38,3.271,39,3.097,40,2.673,41,2.673,42,2.673,43,1.857,44,2.673,45,2.152,46,2.673]],["title/coverage.html",[47,1.658]],["body/coverage.html",[0,0.569,1,0.667,5,0.667,6,1.349,26,0.959,29,0.134,33,0.098,34,0.098,35,0.959,36,1.349,47,1.349,48,1.941,49,1.941,50,1.941,51,1.97,52,3.405,53,1.349,54,2.268,55,3.204,56,1.349,57,1.349,58,1.349,59,1.349,60,3.122,61,3.122,62,1.766,63,1.349,64,1.349,65,1.349,66,1.349,67,2.09,68,1.349,69,1.349,70,1.349,71,1.349,72,1.941,73,1.941,74,1.941,75,1.349,76,1.941,77,1.941]],["title/index.html",[7,0.606,78,1.226]],["body/index.html",[2,1.339,29,0.12,33,0.12,34,0.12,78,1.885,79,2.712]],["title/modules.html",[80,1.658]],["body/modules.html",[29,0.121,33,0.121,34,0.121,80,1.903]],["title/properties.html",[8,0.727,81,1.484]],["body/properties.html",[8,0.816,29,0.135,33,0.111,34,0.111,45,1.65,82,2.375,83,2.375,84,2.375,85,2.375,86,2.375,87,2.375,88,2.007,89,2.375,90,2.375,91,2.888,92,2.375,93,2.375,94,2.375,95,2.375,96,2.375,97,2.375,98,2.375,99,2.375,100,2.375,101,2.375,102,2.375]],["title/miscellaneous/variables.html",[103,1.031,104,1.47]],["body/miscellaneous/variables.html",[1,0.424,5,0.255,7,0.255,28,1.417,29,0.139,33,0.048,34,0.048,43,1.427,51,0.515,53,0.858,54,1.285,56,0.858,57,0.858,58,0.515,59,0.858,62,0.515,63,0.858,64,0.858,65,0.515,66,0.858,67,0.515,68,0.858,69,0.858,70,0.858,71,1.102,75,1.427,88,1.711,103,0.515,104,0.515,105,1.849,106,0.741,107,1.234,108,1.586,109,0.741,110,2.707,111,2.87,112,3.195,113,0.741,114,0.741,115,2.217,116,0.741,117,0.741,118,0.741,119,1.234,120,0.741,121,1.586,122,0.741,123,0.741,124,0.741,125,0.741,126,2.217,127,0.741,128,0.741,129,0.741,130,0.741,131,0.741,132,0.741,133,0.741,134,0.741,135,1.234,136,0.741,137,0.741,138,0.741,139,0.741,140,0.741,141,1.234,142,0.741,143,0.741,144,0.741,145,0.741,146,0.741,147,0.741,148,0.741,149,0.741,150,0.741,151,1.849,152,1.849,153,1.849,154,0.741,155,2.054,156,2.054,157,2.054,158,2.054,159,0.741,160,0.741,161,0.741,162,2.462,163,0.741,164,2.054,165,1.234,166,0.741,167,0.741,168,0.741,169,1.234,170,0.741,171,0.741,172,1.234,173,0.741,174,0.741,175,0.741,176,0.741,177,0.741,178,0.741,179,0.741,180,1.586,181,1.849,182,1.234,183,0.741,184,1.234,185,0.741,186,1.234,187,1.234,188,0.741,189,0.741,190,0.741,191,0.741,192,0.741,193,2.351,194,0.741,195,0.741,196,0.741,197,0.741,198,0.741,199,0.741,200,0.741,201,0.741,202,1.586,203,0.741,204,1.586,205,0.741,206,2.054,207,0.741,208,0.741,209,0.741,210,0.741,211,0.741,212,0.741,213,0.741,214,0.741,215,0.741,216,0.741,217,0.741,218,0.741,219,0.741,220,0.741,221,0.741,222,0.741,223,0.741,224,1.234,225,0.741,226,0.741,227,0.741,228,0.741,229,0.741,230,0.741,231,0.741,232,0.741,233,0.741,234,0.741,235,0.741,236,0.741,237,0.741,238,0.741,239,1.234,240,0.741,241,0.741,242,0.741,243,1.234,244,0.741,245,0.741,246,0.741,247,1.849,248,1.849,249,0.741,250,0.741,251,0.741,252,0.741,253,1.586,254,1.586,255,0.741,256,0.741,257,0.741,258,1.849,259,1.234,260,0.741,261,0.741,262,0.741,263,0.741,264,0.741,265,0.741,266,0.741,267,0.741,268,0.741,269,0.741,270,0.741,271,0.741,272,0.741,273,0.741,274,0.741,275,0.741,276,0.741,277,0.741,278,0.741,279,0.741]]],"invertedIndex":[["",{"_index":29,"title":{},"body":{"interfaces/Contributor.html":{},"interfaces/ContributorsConfig.html":{},"coverage.html":{},"index.html":{},"modules.html":{},"properties.html":{},"miscellaneous/variables.html":{}}}],["0",{"_index":54,"title":{},"body":{"coverage.html":{},"miscellaneous/variables.html":{}}}],["0.0.0",{"_index":83,"title":{},"body":{"properties.html":{}}}],["0/1",{"_index":55,"title":{},"body":{"coverage.html":{}}}],["0/20",{"_index":72,"title":{},"body":{"coverage.html":{}}}],["1",{"_index":162,"title":{},"body":{"miscellaneous/variables.html":{}}}],["1/1",{"_index":61,"title":{},"body":{"coverage.html":{}}}],["10",{"_index":232,"title":{},"body":{"miscellaneous/variables.html":{}}}],["100",{"_index":60,"title":{},"body":{"coverage.html":{}}}],["1000",{"_index":234,"title":{},"body":{"miscellaneous/variables.html":{}}}],["2",{"_index":79,"title":{},"body":{"index.html":{}}}],["3.0",{"_index":97,"title":{},"body":{"properties.html":{}}}],["3/4",{"_index":74,"title":{},"body":{"coverage.html":{}}}],["443",{"_index":139,"title":{},"body":{"miscellaneous/variables.html":{}}}],["75",{"_index":73,"title":{},"body":{"coverage.html":{}}}],["accept",{"_index":143,"title":{},"body":{"miscellaneous/variables.html":{}}}],["agent",{"_index":146,"title":{},"body":{"miscellaneous/variables.html":{}}}],["alexander",{"_index":101,"title":{},"body":{"properties.html":{}}}],["api",{"_index":186,"title":{},"body":{"miscellaneous/variables.html":{}}}],["api.github.com",{"_index":134,"title":{},"body":{"miscellaneous/variables.html":{}}}],["application/json",{"_index":144,"title":{},"body":{"miscellaneous/variables.html":{}}}],["array",{"_index":252,"title":{},"body":{"miscellaneous/variables.html":{}}}],["assets",{"_index":123,"title":{},"body":{"miscellaneous/variables.html":{}}}],["async",{"_index":187,"title":{},"body":{"miscellaneous/variables.html":{}}}],["author",{"_index":100,"title":{},"body":{"properties.html":{}}}],["avatar_url",{"_index":9,"title":{},"body":{"interfaces/Contributor.html":{}}}],["await",{"_index":193,"title":{},"body":{"miscellaneous/variables.html":{}}}],["boolean",{"_index":31,"title":{},"body":{"interfaces/Contributor.html":{}}}],["browser",{"_index":227,"title":{},"body":{"miscellaneous/variables.html":{}}}],["browser.close",{"_index":241,"title":{},"body":{"miscellaneous/variables.html":{}}}],["browser.newpage",{"_index":229,"title":{},"body":{"miscellaneous/variables.html":{}}}],["buffer",{"_index":169,"title":{},"body":{"miscellaneous/variables.html":{}}}],["buffer.concat(result",{"_index":173,"title":{},"body":{"miscellaneous/variables.html":{}}}],["buffer.tostring('utf8",{"_index":175,"title":{},"body":{"miscellaneous/variables.html":{}}}],["bufferasstring",{"_index":174,"title":{},"body":{"miscellaneous/variables.html":{}}}],["bugs",{"_index":93,"title":{},"body":{"properties.html":{}}}],["catch",{"_index":180,"title":{},"body":{"miscellaneous/variables.html":{}}}],["compares",{"_index":263,"title":{},"body":{"miscellaneous/variables.html":{}}}],["console.error(error",{"_index":184,"title":{},"body":{"miscellaneous/variables.html":{}}}],["console.log",{"_index":155,"title":{},"body":{"miscellaneous/variables.html":{}}}],["const",{"_index":112,"title":{},"body":{"miscellaneous/variables.html":{}}}],["contributions",{"_index":10,"title":{},"body":{"interfaces/Contributor.html":{}}}],["contributor",{"_index":1,"title":{"interfaces/Contributor.html":{}},"body":{"interfaces/Contributor.html":{},"coverage.html":{},"miscellaneous/variables.html":{}}}],["contributor's",{"_index":41,"title":{},"body":{"interfaces/ContributorsConfig.html":{}}}],["contributors",{"_index":88,"title":{},"body":{"properties.html":{},"miscellaneous/variables.html":{}}}],["contributors.html",{"_index":124,"title":{},"body":{"miscellaneous/variables.html":{}}}],["contributorsconfig",{"_index":35,"title":{"interfaces/ContributorsConfig.html":{}},"body":{"interfaces/ContributorsConfig.html":{},"coverage.html":{}}}],["contributorslist",{"_index":188,"title":{},"body":{"miscellaneous/variables.html":{}}}],["contributorslist.length",{"_index":197,"title":{},"body":{"miscellaneous/variables.html":{}}}],["contributorslist.push(...result.contributorsofpage",{"_index":195,"title":{},"body":{"miscellaneous/variables.html":{}}}],["contributorsofpage",{"_index":176,"title":{},"body":{"miscellaneous/variables.html":{}}}],["costs",{"_index":251,"title":{},"body":{"miscellaneous/variables.html":{}}}],["costs[j",{"_index":254,"title":{},"body":{"miscellaneous/variables.html":{}}}],["costs[s2.length",{"_index":259,"title":{},"body":{"miscellaneous/variables.html":{}}}],["coverage",{"_index":47,"title":{"coverage.html":{}},"body":{"coverage.html":{}}}],["create",{"_index":204,"title":{},"body":{"miscellaneous/variables.html":{}}}],["createcontributorslist",{"_index":68,"title":{},"body":{"coverage.html":{},"miscellaneous/variables.html":{}}}],["createcontributorslist(contributorslist",{"_index":203,"title":{},"body":{"miscellaneous/variables.html":{}}}],["created",{"_index":209,"title":{},"body":{"miscellaneous/variables.html":{}}}],["createscreenshot",{"_index":59,"title":{},"body":{"coverage.html":{},"miscellaneous/variables.html":{}}}],["createscreenshot(outputpath",{"_index":207,"title":{},"body":{"miscellaneous/variables.html":{}}}],["creating",{"_index":211,"title":{},"body":{"miscellaneous/variables.html":{}}}],["data",{"_index":168,"title":{},"body":{"miscellaneous/variables.html":{}}}],["default",{"_index":110,"title":{},"body":{"miscellaneous/variables.html":{}}}],["description",{"_index":84,"title":{},"body":{"properties.html":{}}}],["design",{"_index":86,"title":{},"body":{"properties.html":{}}}],["distance",{"_index":268,"title":{},"body":{"miscellaneous/variables.html":{}}}],["documentation",{"_index":48,"title":{},"body":{"coverage.html":{}}}],["editdistance",{"_index":63,"title":{},"body":{"coverage.html":{},"miscellaneous/variables.html":{}}}],["error",{"_index":181,"title":{},"body":{"miscellaneous/variables.html":{}}}],["error('could",{"_index":242,"title":{},"body":{"miscellaneous/variables.html":{}}}],["error(painter.red(`error",{"_index":210,"title":{},"body":{"miscellaneous/variables.html":{}}}],["events_url",{"_index":11,"title":{},"body":{"interfaces/Contributor.html":{}}}],["export",{"_index":32,"title":{},"body":{"interfaces/Contributor.html":{},"interfaces/ContributorsConfig.html":{}}}],["fetch",{"_index":201,"title":{},"body":{"miscellaneous/variables.html":{}}}],["fetchcontributors",{"_index":69,"title":{},"body":{"coverage.html":{},"miscellaneous/variables.html":{}}}],["fetchcontributors(page",{"_index":194,"title":{},"body":{"miscellaneous/variables.html":{}}}],["fetched",{"_index":199,"title":{},"body":{"miscellaneous/variables.html":{}}}],["file",{"_index":5,"title":{},"body":{"interfaces/Contributor.html":{},"interfaces/ContributorsConfig.html":{},"coverage.html":{},"miscellaneous/variables.html":{}}}],["filename",{"_index":206,"title":{},"body":{"miscellaneous/variables.html":{}}}],["filepath",{"_index":224,"title":{},"body":{"miscellaneous/variables.html":{}}}],["followers_url",{"_index":12,"title":{},"body":{"interfaces/Contributor.html":{}}}],["following_url",{"_index":13,"title":{},"body":{"interfaces/Contributor.html":{}}}],["fs.writefilesync(outputpath",{"_index":125,"title":{},"body":{"miscellaneous/variables.html":{}}}],["fullpage",{"_index":240,"title":{},"body":{"miscellaneous/variables.html":{}}}],["generatedhtml",{"_index":119,"title":{},"body":{"miscellaneous/variables.html":{}}}],["gists_url",{"_index":14,"title":{},"body":{"interfaces/Contributor.html":{}}}],["git+https://github.com/alexrogalskiy/java",{"_index":98,"title":{},"body":{"properties.html":{}}}],["github",{"_index":164,"title":{},"body":{"miscellaneous/variables.html":{}}}],["gpl",{"_index":96,"title":{},"body":{"properties.html":{}}}],["gravatar_id",{"_index":15,"title":{},"body":{"interfaces/Contributor.html":{}}}],["green",{"_index":53,"title":{},"body":{"coverage.html":{},"miscellaneous/variables.html":{}}}],["header",{"_index":223,"title":{},"body":{"miscellaneous/variables.html":{}}}],["headers",{"_index":140,"title":{},"body":{"miscellaneous/variables.html":{}}}],["height",{"_index":231,"title":{},"body":{"miscellaneous/variables.html":{}}}],["homepage",{"_index":90,"title":{},"body":{"properties.html":{}}}],["hostname",{"_index":133,"title":{},"body":{"miscellaneous/variables.html":{}}}],["html",{"_index":245,"title":{},"body":{"miscellaneous/variables.html":{}}}],["html_url",{"_index":16,"title":{},"body":{"interfaces/Contributor.html":{}}}],["htmldoctype",{"_index":117,"title":{},"body":{"miscellaneous/variables.html":{}}}],["htmldoctype}${styling}${list",{"_index":120,"title":{},"body":{"miscellaneous/variables.html":{}}}],["htmlfilepath",{"_index":225,"title":{},"body":{"miscellaneous/variables.html":{}}}],["https.request(requestoptions",{"_index":149,"title":{},"body":{"miscellaneous/variables.html":{}}}],["https.requestoptions",{"_index":131,"title":{},"body":{"miscellaneous/variables.html":{}}}],["https://github.com/alexrogalskiy/java",{"_index":91,"title":{},"body":{"properties.html":{}}}],["icon",{"_index":157,"title":{},"body":{"miscellaneous/variables.html":{}}}],["id",{"_index":17,"title":{},"body":{"interfaces/Contributor.html":{}}}],["identifier",{"_index":49,"title":{},"body":{"coverage.html":{}}}],["image",{"_index":43,"title":{},"body":{"interfaces/ContributorsConfig.html":{},"miscellaneous/variables.html":{}}}],["imagesize",{"_index":37,"title":{},"body":{"interfaces/ContributorsConfig.html":{}}}],["index",{"_index":7,"title":{"index.html":{}},"body":{"interfaces/Contributor.html":{},"interfaces/ContributorsConfig.html":{},"miscellaneous/variables.html":{}}}],["info",{"_index":3,"title":{},"body":{"interfaces/Contributor.html":{},"interfaces/ContributorsConfig.html":{}}}],["init",{"_index":70,"title":{},"body":{"coverage.html":{},"miscellaneous/variables.html":{}}}],["interface",{"_index":0,"title":{"interfaces/Contributor.html":{},"interfaces/ContributorsConfig.html":{}},"body":{"interfaces/Contributor.html":{},"interfaces/ContributorsConfig.html":{},"coverage.html":{}}}],["interfaces",{"_index":2,"title":{},"body":{"interfaces/Contributor.html":{},"interfaces/ContributorsConfig.html":{},"index.html":{}}}],["iterate",{"_index":189,"title":{},"body":{"miscellaneous/variables.html":{}}}],["java",{"_index":85,"title":{},"body":{"properties.html":{}}}],["join('\\n",{"_index":116,"title":{},"body":{"miscellaneous/variables.html":{}}}],["json.parse(bufferasstring",{"_index":177,"title":{},"body":{"miscellaneous/variables.html":{}}}],["keywords",{"_index":89,"title":{},"body":{"properties.html":{}}}],["lastpage",{"_index":152,"title":{},"body":{"miscellaneous/variables.html":{}}}],["lastpage[1",{"_index":160,"title":{},"body":{"miscellaneous/variables.html":{}}}],["lastpagepattern",{"_index":215,"title":{},"body":{"miscellaneous/variables.html":{}}}],["lastpagepattern.exec(linkheader",{"_index":220,"title":{},"body":{"miscellaneous/variables.html":{}}}],["lastvalue",{"_index":258,"title":{},"body":{"miscellaneous/variables.html":{}}}],["levenshtein",{"_index":267,"title":{},"body":{"miscellaneous/variables.html":{}}}],["license",{"_index":95,"title":{},"body":{"properties.html":{}}}],["link",{"_index":141,"title":{},"body":{"miscellaneous/variables.html":{}}}],["linkheader",{"_index":212,"title":{},"body":{"miscellaneous/variables.html":{}}}],["list",{"_index":113,"title":{},"body":{"miscellaneous/variables.html":{}}}],["loading",{"_index":163,"title":{},"body":{"miscellaneous/variables.html":{}}}],["login",{"_index":18,"title":{},"body":{"interfaces/Contributor.html":{}}}],["longer",{"_index":260,"title":{},"body":{"miscellaneous/variables.html":{}}}],["map((c",{"_index":114,"title":{},"body":{"miscellaneous/variables.html":{}}}],["matching",{"_index":34,"title":{},"body":{"interfaces/Contributor.html":{},"interfaces/ContributorsConfig.html":{},"coverage.html":{},"index.html":{},"modules.html":{},"properties.html":{},"miscellaneous/variables.html":{}}}],["material",{"_index":156,"title":{},"body":{"miscellaneous/variables.html":{}}}],["math.min(math.min(newvalue",{"_index":257,"title":{},"body":{"miscellaneous/variables.html":{}}}],["method",{"_index":132,"title":{},"body":{"miscellaneous/variables.html":{}}}],["miscellaneous",{"_index":103,"title":{"miscellaneous/variables.html":{}},"body":{"miscellaneous/variables.html":{}}}],["modules",{"_index":80,"title":{"modules.html":{}},"body":{"modules.html":{}}}],["name",{"_index":46,"title":{},"body":{"interfaces/ContributorsConfig.html":{}}}],["new",{"_index":75,"title":{},"body":{"coverage.html":{},"miscellaneous/variables.html":{}}}],["newvalue",{"_index":253,"title":{},"body":{"miscellaneous/variables.html":{}}}],["next",{"_index":142,"title":{},"body":{"miscellaneous/variables.html":{}}}],["nextpage",{"_index":151,"title":{},"body":{"miscellaneous/variables.html":{}}}],["nextpage?.[1",{"_index":179,"title":{},"body":{"miscellaneous/variables.html":{}}}],["nextpagepattern",{"_index":213,"title":{},"body":{"miscellaneous/variables.html":{}}}],["nextpagepattern.exec(linkheader",{"_index":219,"title":{},"body":{"miscellaneous/variables.html":{}}}],["node_id",{"_index":19,"title":{},"body":{"interfaces/Contributor.html":{}}}],["number",{"_index":30,"title":{},"body":{"interfaces/Contributor.html":{},"interfaces/ContributorsConfig.html":{}}}],["omitbackground",{"_index":238,"title":{},"body":{"miscellaneous/variables.html":{}}}],["organizations_url",{"_index":20,"title":{},"body":{"interfaces/Contributor.html":{}}}],["outputpath",{"_index":121,"title":{},"body":{"miscellaneous/variables.html":{}}}],["over",{"_index":190,"title":{},"body":{"miscellaneous/variables.html":{}}}],["overview",{"_index":78,"title":{"index.html":{}},"body":{"index.html":{}}}],["owner",{"_index":38,"title":{},"body":{"interfaces/ContributorsConfig.html":{}}}],["package",{"_index":81,"title":{"properties.html":{}},"body":{}}],["page",{"_index":126,"title":{},"body":{"miscellaneous/variables.html":{}}}],["page.goto(htmlfilepath",{"_index":235,"title":{},"body":{"miscellaneous/variables.html":{}}}],["page.screenshot",{"_index":236,"title":{},"body":{"miscellaneous/variables.html":{}}}],["page.setviewport",{"_index":230,"title":{},"body":{"miscellaneous/variables.html":{}}}],["pages",{"_index":191,"title":{},"body":{"miscellaneous/variables.html":{}}}],["painter.green('successfully",{"_index":198,"title":{},"body":{"miscellaneous/variables.html":{}}}],["painter.green(`successfully",{"_index":208,"title":{},"body":{"miscellaneous/variables.html":{}}}],["painter.red('error",{"_index":200,"title":{},"body":{"miscellaneous/variables.html":{}}}],["painter.yellow",{"_index":159,"title":{},"body":{"miscellaneous/variables.html":{}}}],["painter.yellow('creating",{"_index":205,"title":{},"body":{"miscellaneous/variables.html":{}}}],["parse",{"_index":222,"title":{},"body":{"miscellaneous/variables.html":{}}}],["parselinkheader",{"_index":71,"title":{},"body":{"coverage.html":{},"miscellaneous/variables.html":{}}}],["path",{"_index":135,"title":{},"body":{"miscellaneous/variables.html":{}}}],["path.join('file",{"_index":226,"title":{},"body":{"miscellaneous/variables.html":{}}}],["path.join(__dirname",{"_index":122,"title":{},"body":{"miscellaneous/variables.html":{}}}],["patterns",{"_index":87,"title":{},"body":{"properties.html":{}}}],["patterns.git",{"_index":99,"title":{},"body":{"properties.html":{}}}],["patterns/contributors?page=${page",{"_index":137,"title":{},"body":{"miscellaneous/variables.html":{}}}],["patterns/issues",{"_index":94,"title":{},"body":{"properties.html":{}}}],["patterns/tree/master/packages/contributors",{"_index":92,"title":{},"body":{"properties.html":{}}}],["pixels",{"_index":44,"title":{},"body":{"interfaces/ContributorsConfig.html":{}}}],["port",{"_index":138,"title":{},"body":{"miscellaneous/variables.html":{}}}],["preview",{"_index":244,"title":{},"body":{"miscellaneous/variables.html":{}}}],["prevpage",{"_index":153,"title":{},"body":{"miscellaneous/variables.html":{}}}],["prevpage[1",{"_index":161,"title":{},"body":{"miscellaneous/variables.html":{}}}],["prevpagepattern",{"_index":217,"title":{},"body":{"miscellaneous/variables.html":{}}}],["prevpagepattern.exec(linkheader",{"_index":221,"title":{},"body":{"miscellaneous/variables.html":{}}}],["process.env.image_dir}/${filename}.png",{"_index":237,"title":{},"body":{"miscellaneous/variables.html":{}}}],["profile",{"_index":42,"title":{},"body":{"interfaces/ContributorsConfig.html":{}}}],["promise",{"_index":127,"title":{},"body":{"miscellaneous/variables.html":{}}}],["promise((resolve",{"_index":128,"title":{},"body":{"miscellaneous/variables.html":{}}}],["properties",{"_index":8,"title":{"properties.html":{}},"body":{"interfaces/Contributor.html":{},"interfaces/ContributorsConfig.html":{},"properties.html":{}}}],["puppeteer.launch",{"_index":228,"title":{},"body":{"miscellaneous/variables.html":{}}}],["received_events_url",{"_index":21,"title":{},"body":{"interfaces/Contributor.html":{}}}],["red",{"_index":56,"title":{},"body":{"coverage.html":{},"miscellaneous/variables.html":{}}}],["regexp(/\\bpage=(\\d)[^>]*>\\srel=\"last",{"_index":216,"title":{},"body":{"miscellaneous/variables.html":{}}}],["regexp(/\\bpage=(\\d)[^>]*>\\srel=\"next",{"_index":214,"title":{},"body":{"miscellaneous/variables.html":{}}}],["regexp(/\\bpage=(\\d)[^>]*>\\srel=\"prev",{"_index":218,"title":{},"body":{"miscellaneous/variables.html":{}}}],["reject",{"_index":129,"title":{},"body":{"miscellaneous/variables.html":{}}}],["reject(error",{"_index":182,"title":{},"body":{"miscellaneous/variables.html":{}}}],["repo",{"_index":39,"title":{},"body":{"interfaces/ContributorsConfig.html":{}}}],["repos/alexrogalskiy/java",{"_index":136,"title":{},"body":{"miscellaneous/variables.html":{}}}],["repos_url",{"_index":22,"title":{},"body":{"interfaces/Contributor.html":{}}}],["repository",{"_index":45,"title":{},"body":{"interfaces/ContributorsConfig.html":{},"properties.html":{}}}],["req",{"_index":148,"title":{},"body":{"miscellaneous/variables.html":{}}}],["req.end",{"_index":185,"title":{},"body":{"miscellaneous/variables.html":{}}}],["req.on('error",{"_index":183,"title":{},"body":{"miscellaneous/variables.html":{}}}],["requestoptions",{"_index":130,"title":{},"body":{"miscellaneous/variables.html":{}}}],["res",{"_index":150,"title":{},"body":{"miscellaneous/variables.html":{}}}],["res.headers?.link?.tostring",{"_index":154,"title":{},"body":{"miscellaneous/variables.html":{}}}],["res.on('data",{"_index":167,"title":{},"body":{"miscellaneous/variables.html":{}}}],["res.on('end",{"_index":171,"title":{},"body":{"miscellaneous/variables.html":{}}}],["resolve({contributorsofpage",{"_index":178,"title":{},"body":{"miscellaneous/variables.html":{}}}],["result",{"_index":165,"title":{},"body":{"miscellaneous/variables.html":{}}}],["result.nextpage",{"_index":196,"title":{},"body":{"miscellaneous/variables.html":{}}}],["result.push(data",{"_index":170,"title":{},"body":{"miscellaneous/variables.html":{}}}],["results",{"_index":33,"title":{},"body":{"interfaces/Contributor.html":{},"interfaces/ContributorsConfig.html":{},"coverage.html":{},"index.html":{},"modules.html":{},"properties.html":{},"miscellaneous/variables.html":{}}}],["return",{"_index":115,"title":{},"body":{"miscellaneous/variables.html":{}}}],["returns",{"_index":266,"title":{},"body":{"miscellaneous/variables.html":{}}}],["rogalskiy",{"_index":102,"title":{},"body":{"properties.html":{}}}],["s1",{"_index":247,"title":{},"body":{"miscellaneous/variables.html":{}}}],["s1.charat(i",{"_index":255,"title":{},"body":{"miscellaneous/variables.html":{}}}],["s1.length",{"_index":262,"title":{},"body":{"miscellaneous/variables.html":{}}}],["s1.tolowercase",{"_index":249,"title":{},"body":{"miscellaneous/variables.html":{}}}],["s2",{"_index":248,"title":{},"body":{"miscellaneous/variables.html":{}}}],["s2.charat(j",{"_index":256,"title":{},"body":{"miscellaneous/variables.html":{}}}],["s2.tolowercase",{"_index":250,"title":{},"body":{"miscellaneous/variables.html":{}}}],["save",{"_index":246,"title":{},"body":{"miscellaneous/variables.html":{}}}],["screenshot",{"_index":243,"title":{},"body":{"miscellaneous/variables.html":{}}}],["script",{"_index":147,"title":{},"body":{"miscellaneous/variables.html":{}}}],["shorter",{"_index":261,"title":{},"body":{"miscellaneous/variables.html":{}}}],["similarity",{"_index":64,"title":{},"body":{"coverage.html":{},"miscellaneous/variables.html":{}}}],["site_admin",{"_index":23,"title":{},"body":{"interfaces/Contributor.html":{}}}],["size",{"_index":40,"title":{},"body":{"interfaces/ContributorsConfig.html":{}}}],["source",{"_index":4,"title":{},"body":{"interfaces/Contributor.html":{},"interfaces/ContributorsConfig.html":{}}}],["src/.../index.ts",{"_index":105,"title":{},"body":{"miscellaneous/variables.html":{}}}],["src/.../painter.ts",{"_index":108,"title":{},"body":{"miscellaneous/variables.html":{}}}],["src/.../screenshots.ts",{"_index":106,"title":{},"body":{"miscellaneous/variables.html":{}}}],["src/.../similarity.ts",{"_index":107,"title":{},"body":{"miscellaneous/variables.html":{}}}],["src/.../titlecase.ts",{"_index":109,"title":{},"body":{"miscellaneous/variables.html":{}}}],["src/helpers/painter.ts",{"_index":51,"title":{},"body":{"coverage.html":{},"miscellaneous/variables.html":{}}}],["src/helpers/screenshots.ts",{"_index":58,"title":{},"body":{"coverage.html":{},"miscellaneous/variables.html":{}}}],["src/helpers/similarity.ts",{"_index":62,"title":{},"body":{"coverage.html":{},"miscellaneous/variables.html":{}}}],["src/helpers/titlecase.ts",{"_index":65,"title":{},"body":{"coverage.html":{},"miscellaneous/variables.html":{}}}],["src/index.ts",{"_index":67,"title":{},"body":{"coverage.html":{},"miscellaneous/variables.html":{}}}],["src/models/contributor.ts",{"_index":6,"title":{},"body":{"interfaces/Contributor.html":{},"coverage.html":{}}}],["src/models/contributors.config.ts",{"_index":36,"title":{},"body":{"interfaces/ContributorsConfig.html":{},"coverage.html":{}}}],["starred_url",{"_index":24,"title":{},"body":{"interfaces/Contributor.html":{}}}],["statements",{"_index":50,"title":{},"body":{"coverage.html":{}}}],["str",{"_index":272,"title":{},"body":{"miscellaneous/variables.html":{}}}],["str.replace",{"_index":273,"title":{},"body":{"miscellaneous/variables.html":{}}}],["string",{"_index":28,"title":{},"body":{"interfaces/Contributor.html":{},"interfaces/ContributorsConfig.html":{},"miscellaneous/variables.html":{}}}],["strings",{"_index":265,"title":{},"body":{"miscellaneous/variables.html":{}}}],["styling",{"_index":118,"title":{},"body":{"miscellaneous/variables.html":{}}}],["subscriptions_url",{"_index":25,"title":{},"body":{"interfaces/Contributor.html":{}}}],["table",{"_index":77,"title":{},"body":{"coverage.html":{}}}],["tablesort(document.getelementbyid('coverage",{"_index":76,"title":{},"body":{"coverage.html":{}}}],["theme",{"_index":158,"title":{},"body":{"miscellaneous/variables.html":{}}}],["throw",{"_index":202,"title":{},"body":{"miscellaneous/variables.html":{}}}],["titlecase",{"_index":278,"title":{},"body":{"miscellaneous/variables.html":{}}}],["totitlecase",{"_index":66,"title":{},"body":{"coverage.html":{},"miscellaneous/variables.html":{}}}],["true",{"_index":239,"title":{},"body":{"miscellaneous/variables.html":{}}}],["try",{"_index":172,"title":{},"body":{"miscellaneous/variables.html":{}}}],["two",{"_index":264,"title":{},"body":{"miscellaneous/variables.html":{}}}],["txt",{"_index":275,"title":{},"body":{"miscellaneous/variables.html":{}}}],["txt.charat(0).touppercase",{"_index":276,"title":{},"body":{"miscellaneous/variables.html":{}}}],["txt.substr(1).tolowercase",{"_index":277,"title":{},"body":{"miscellaneous/variables.html":{}}}],["type",{"_index":26,"title":{},"body":{"interfaces/Contributor.html":{},"interfaces/ContributorsConfig.html":{},"coverage.html":{}}}],["uint8array",{"_index":166,"title":{},"body":{"miscellaneous/variables.html":{}}}],["undefined",{"_index":192,"title":{},"body":{"miscellaneous/variables.html":{}}}],["url",{"_index":27,"title":{},"body":{"interfaces/Contributor.html":{}}}],["user",{"_index":145,"title":{},"body":{"miscellaneous/variables.html":{}}}],["value",{"_index":111,"title":{},"body":{"miscellaneous/variables.html":{}}}],["variable",{"_index":52,"title":{},"body":{"coverage.html":{}}}],["variables",{"_index":104,"title":{"miscellaneous/variables.html":{}},"body":{"miscellaneous/variables.html":{}}}],["version",{"_index":82,"title":{},"body":{"properties.html":{}}}],["w\\s*/g",{"_index":274,"title":{},"body":{"miscellaneous/variables.html":{}}}],["width",{"_index":233,"title":{},"body":{"miscellaneous/variables.html":{}}}],["words",{"_index":279,"title":{},"body":{"miscellaneous/variables.html":{}}}],["x1b[31m${value}\\x1b[0m",{"_index":270,"title":{},"body":{"miscellaneous/variables.html":{}}}],["x1b[32m${value}\\x1b[0m",{"_index":269,"title":{},"body":{"miscellaneous/variables.html":{}}}],["x1b[33m${value}\\x1b[0m",{"_index":271,"title":{},"body":{"miscellaneous/variables.html":{}}}],["yellow",{"_index":57,"title":{},"body":{"coverage.html":{},"miscellaneous/variables.html":{}}}]],"pipeline":["stemmer"]},
"store": {"interfaces/Contributor.html":{"url":"interfaces/Contributor.html","title":"interface - Contributor","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n Interfaces\n \n Contributor\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/models/contributor.ts\n \n\n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n \n avatar_url\n \n \n \n \n contributions\n \n \n \n \n events_url\n \n \n \n \n followers_url\n \n \n \n \n following_url\n \n \n \n \n gists_url\n \n \n \n \n gravatar_id\n \n \n \n \n html_url\n \n \n \n \n id\n \n \n \n \n login\n \n \n \n \n node_id\n \n \n \n \n organizations_url\n \n \n \n \n received_events_url\n \n \n \n \n repos_url\n \n \n \n \n site_admin\n \n \n \n \n starred_url\n \n \n \n \n subscriptions_url\n \n \n \n \n type\n \n \n \n \n url\n \n \n \n \n \n \n \n \n\n\n\n \n Properties\n \n \n \n \n \n avatar_url\n \n \n \n \n \n \n \n \n avatar_url: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n\n\n\n\n \n \n \n \n \n \n \n contributions\n \n \n \n \n \n \n \n \n contributions: number\n\n \n \n\n\n \n \n Type : number\n\n \n \n\n\n\n\n\n \n \n \n \n \n \n \n events_url\n \n \n \n \n \n \n \n \n events_url: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n\n\n\n\n \n \n \n \n \n \n \n followers_url\n \n \n \n \n \n \n \n \n followers_url: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n\n\n\n\n \n \n \n \n \n \n \n following_url\n \n \n \n \n \n \n \n \n following_url: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n\n\n\n\n \n \n \n \n \n \n \n gists_url\n \n \n \n \n \n \n \n \n gists_url: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n\n\n\n\n \n \n \n \n \n \n \n gravatar_id\n \n \n \n \n \n \n \n \n gravatar_id: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n\n\n\n\n \n \n \n \n \n \n \n html_url\n \n \n \n \n \n \n \n \n html_url: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n\n\n\n\n \n \n \n \n \n \n \n id\n \n \n \n \n \n \n \n \n id: number\n\n \n \n\n\n \n \n Type : number\n\n \n \n\n\n\n\n\n \n \n \n \n \n \n \n login\n \n \n \n \n \n \n \n \n login: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n\n\n\n\n \n \n \n \n \n \n \n node_id\n \n \n \n \n \n \n \n \n node_id: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n\n\n\n\n \n \n \n \n \n \n \n organizations_url\n \n \n \n \n \n \n \n \n organizations_url: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n\n\n\n\n \n \n \n \n \n \n \n received_events_url\n \n \n \n \n \n \n \n \n received_events_url: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n\n\n\n\n \n \n \n \n \n \n \n repos_url\n \n \n \n \n \n \n \n \n repos_url: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n\n\n\n\n \n \n \n \n \n \n \n site_admin\n \n \n \n \n \n \n \n \n site_admin: boolean\n\n \n \n\n\n \n \n Type : boolean\n\n \n \n\n\n\n\n\n \n \n \n \n \n \n \n starred_url\n \n \n \n \n \n \n \n \n starred_url: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n\n\n\n\n \n \n \n \n \n \n \n subscriptions_url\n \n \n \n \n \n \n \n \n subscriptions_url: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n\n\n\n\n \n \n \n \n \n \n \n type\n \n \n \n \n \n \n \n \n type: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n\n\n\n\n \n \n \n \n \n \n \n url\n \n \n \n \n \n \n \n \n url: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n\n\n\n\n \n \n \n \n\n\n \n export interface Contributor {\n login: string\n id: number\n node_id: string\n avatar_url: string\n gravatar_id: string\n url: string\n html_url: string\n followers_url: string\n following_url: string\n gists_url: string\n starred_url: string\n subscriptions_url: string\n organizations_url: string\n repos_url: string\n events_url: string\n received_events_url: string\n type: string\n site_admin: boolean\n contributions: number\n}\n\n \n\n\n\n\n\n\n\n\n\n \n \n results matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"interfaces/ContributorsConfig.html":{"url":"interfaces/ContributorsConfig.html","title":"interface - ContributorsConfig","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n Interfaces\n \n ContributorsConfig\n\n\n\n \n Info\n \n \n Source\n \n\n\n\n \n \n File\n \n \n src/models/contributors.config.ts\n \n\n\n\n\n \n Index\n \n \n \n \n Properties\n \n \n \n \n \n \n \n imageSize\n \n \n \n \n owner\n \n \n \n \n repo\n \n \n \n \n \n \n \n \n\n\n\n \n Properties\n \n \n \n \n \n imageSize\n \n \n \n \n \n \n \n \n imageSize: number\n\n \n \n\n\n \n \n Type : number\n\n \n \n\n\n\n\n\n \n \n Size of a contributor's profile image in pixels\n\n \n \n \n \n \n \n \n \n \n owner\n \n \n \n \n \n \n \n \n owner: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n\n\n\n\n \n \n Owner of the repository\n\n \n \n \n \n \n \n \n \n \n repo\n \n \n \n \n \n \n \n \n repo: string\n\n \n \n\n\n \n \n Type : string\n\n \n \n\n\n\n\n\n \n \n Name of the repository\n\n \n \n \n \n \n \n\n\n \n export interface ContributorsConfig {\n /** Owner of the repository */\n owner: string\n\n /** Name of the repository */\n repo: string\n\n /** Size of a contributor's profile image in pixels */\n imageSize: number\n}\n\n \n\n\n\n\n\n\n\n\n\n \n \n results matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"coverage.html":{"url":"coverage.html","title":"coverage - coverage","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n Documentation coverage\n\n\n\n \n\n\n\n \n \n File\n Type\n Identifier\n Statements\n \n \n \n \n \n \n src/helpers/painter.ts\n \n variable\n green\n \n 0 %\n (0/1)\n \n \n \n \n \n src/helpers/painter.ts\n \n variable\n red\n \n 0 %\n (0/1)\n \n \n \n \n \n src/helpers/painter.ts\n \n variable\n yellow\n \n 0 %\n (0/1)\n \n \n \n \n \n src/helpers/screenshots.ts\n \n variable\n createScreenshot\n \n 100 %\n (1/1)\n \n \n \n \n \n src/helpers/similarity.ts\n \n variable\n editDistance\n \n 0 %\n (0/1)\n \n \n \n \n \n src/helpers/similarity.ts\n \n variable\n similarity\n \n 100 %\n (1/1)\n \n \n \n \n \n src/helpers/titleCase.ts\n \n variable\n toTitleCase\n \n 100 %\n (1/1)\n \n \n \n \n \n src/index.ts\n \n variable\n createContributorsList\n \n 0 %\n (0/1)\n \n \n \n \n \n src/index.ts\n \n variable\n fetchContributors\n \n 100 %\n (1/1)\n \n \n \n \n \n src/index.ts\n \n variable\n init\n \n 0 %\n (0/1)\n \n \n \n \n \n src/index.ts\n \n variable\n parseLinkHeader\n \n 100 %\n (1/1)\n \n \n \n \n \n src/models/contributor.ts\n \n interface\n Contributor\n \n 0 %\n (0/20)\n \n \n \n \n \n src/models/contributors.config.ts\n \n interface\n ContributorsConfig\n \n 75 %\n (3/4)\n \n \n \n\n\n\n\n\n new Tablesort(document.getElementById('coverage-table'));\n\n\n \n \n results matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"index.html":{"url":"index.html","title":"overview - index","body":"\n \n\n\n\n Overview\n\n \n\n \n \n \n \n \n 2 Interfaces\n \n \n \n \n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n \n results matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"modules.html":{"url":"modules.html","title":"modules - modules","body":"\n \n\n\n\n\n Modules\n\n\n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n \n results matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"properties.html":{"url":"properties.html","title":"package-properties - properties","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n Properties\n \n \n \n Version : 0.0.0\n \n Description : Java Design Patterns contributors\n \n Keywords : contributors\n \n Homepage : https://github.com/AlexRogalskiy/java-patterns/tree/master/packages/contributors\n \n Bugs : https://github.com/AlexRogalskiy/java-patterns/issues\n \n License : GPL-3.0\n \n Repository : git+https://github.com/AlexRogalskiy/java-patterns.git\n \n Author : Alexander Rogalskiy\n \n\n\n\n\n\n \n \n results matching \"\"\n \n \n \n No results matching \"\"\n \n\n"},"miscellaneous/variables.html":{"url":"miscellaneous/variables.html","title":"miscellaneous-variables - variables","body":"\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n Miscellaneous\n Variables\n\n\n\n Index\n \n \n \n \n \n \n createContributorsList (src/.../index.ts)\n \n \n createScreenshot (src/.../screenshots.ts)\n \n \n editDistance (src/.../similarity.ts)\n \n \n fetchContributors (src/.../index.ts)\n \n \n green (src/.../painter.ts)\n \n \n init (src/.../index.ts)\n \n \n parseLinkHeader (src/.../index.ts)\n \n \n red (src/.../painter.ts)\n \n \n similarity (src/.../similarity.ts)\n \n \n toTitleCase (src/.../titleCase.ts)\n \n \n yellow (src/.../painter.ts)\n \n \n \n \n \n \n\n\n src/index.ts\n \n \n \n \n \n \n \n createContributorsList\n \n \n \n \n \n \n Default value : (contributors: Contributor[]) => {\n const list = contributors\n .map((c) => {\n return ``\n })\n .join('\\n')\n\n const htmlDoctype = ''\n const styling = ''\n const generatedHtml = `${htmlDoctype}${styling}${list}`\n\n const outputPath = path.join(__dirname, '..', 'assets', 'contributors.html')\n fs.writeFileSync(outputPath, generatedHtml)\n return outputPath\n}\n \n \n\n\n \n \n \n \n \n \n \n \n fetchContributors\n \n \n \n \n \n \n Default value : (\n page: string\n): Promise => {\n return new Promise((resolve, reject) => {\n const requestOptions: https.RequestOptions = {\n method: 'GET',\n hostname: 'api.github.com',\n path: `/repos/AlexRogalskiy/java-patterns/contributors?page=${page}`,\n port: 443,\n headers: {\n link: 'next',\n accept: 'application/json',\n 'User-Agent': 'Contributors script',\n },\n }\n\n const req = https.request(requestOptions, (res) => {\n const {nextPage, lastPage, prevPage} = parseLinkHeader(\n res.headers?.link?.toString() ?? ''\n )\n console.log(\n '> Material Icon Theme:',\n painter.yellow(\n `[${page}/${\n lastPage ? lastPage[1] : prevPage ? +prevPage[1] + 1 : 1\n }] Loading contributors from GitHub...`\n )\n )\n const result: Uint8Array[] = []\n res.on('data', (data: Buffer) => {\n result.push(data)\n })\n\n res.on('end', () => {\n try {\n const buffer = Buffer.concat(result)\n const bufferAsString = buffer.toString('utf8')\n const contributorsOfPage = JSON.parse(bufferAsString)\n resolve({contributorsOfPage, nextPage: nextPage?.[1]})\n } catch (error) {\n reject(error)\n }\n })\n })\n\n req.on('error', (error) => {\n console.error(error)\n reject(error)\n })\n\n req.end()\n })\n}\n \n \n\n \n \n Get all contributors from GitHub API.\n\n \n \n\n \n \n \n \n \n \n \n \n init\n \n \n \n \n \n \n Default value : async () => {\n const contributorsList: Contributor[] = []\n let page = '1'\n\n // iterate over the pages of GitHub API\n while (page !== undefined) {\n const result = await fetchContributors(page)\n contributorsList.push(...result.contributorsOfPage)\n page = result.nextPage\n }\n\n if (contributorsList.length > 0) {\n console.log(\n '> Material Icon Theme:',\n painter.green('Successfully fetched all contributors from GitHub!')\n )\n } else {\n console.log(\n '> Material Icon Theme:',\n painter.red('Error: Could not fetch contributors from GitHub!')\n )\n throw Error()\n }\n const outputPath = createContributorsList(contributorsList)\n\n // create the image\n console.log('> Material Icon Theme:', painter.yellow('Creating image...'))\n const fileName = 'contributors'\n createScreenshot(outputPath, fileName)\n .then(() => {\n console.log(\n '> Material Icon Theme:',\n painter.green(`Successfully created ${fileName} image!`)\n )\n })\n .catch(() => {\n throw Error(painter.red(`Error while creating ${fileName} image`))\n })\n}\n \n \n\n\n \n \n \n \n \n \n \n \n parseLinkHeader\n \n \n \n \n \n \n Default value : (linkHeader: string) => {\n const nextPagePattern = new RegExp(/\\bpage=(\\d)[^>]*>\\srel=\"next\"/)\n const lastPagePattern = new RegExp(/\\bpage=(\\d)[^>]*>\\srel=\"last\"/)\n const prevPagePattern = new RegExp(/\\bpage=(\\d)[^>]*>\\srel=\"prev\"/)\n\n const nextPage = nextPagePattern.exec(linkHeader) ?? ''\n const lastPage = lastPagePattern.exec(linkHeader) ?? ''\n const prevPage = prevPagePattern.exec(linkHeader) ?? ''\n\n return {nextPage, lastPage, prevPage}\n}\n \n \n\n \n \n Parse link header\n\n \n \n\n \n \n\n src/helpers/screenshots.ts\n \n \n \n \n \n \n \n createScreenshot\n \n \n \n \n \n \n Default value : async (filePath: string, fileName: string) => {\n try {\n const htmlFilePath = path.join('file:', filePath)\n const browser = await puppeteer.launch()\n const page = await browser.newPage()\n await page.setViewport({\n height: 10,\n width: 1000,\n })\n\n await page.goto(htmlFilePath)\n\n await page.screenshot({\n path: `${process.env.IMAGE_DIR}/${fileName}.png`,\n omitBackground: true,\n fullPage: true,\n })\n\n await browser.close()\n } catch (error) {\n console.error(error)\n throw Error('Could not create screenshot for a preview')\n }\n}\n \n \n\n \n \n Create a screenshot from an HTML file and save it as image.\n\n \n \n\n \n \n\n src/helpers/similarity.ts\n \n \n \n \n \n \n \n editDistance\n \n \n \n \n \n \n Default value : (s1: string, s2: string) => {\n s1 = s1.toLowerCase()\n s2 = s2.toLowerCase()\n\n const costs = new Array()\n for (let i = 0; i 0) {\n let newValue = costs[j - 1]\n if (s1.charAt(i - 1) !== s2.charAt(j - 1)) {\n newValue = Math.min(Math.min(newValue, lastValue), costs[j]) + 1\n }\n costs[j - 1] = lastValue\n lastValue = newValue\n }\n }\n }\n if (i > 0) {\n costs[s2.length] = lastValue\n }\n }\n return costs[s2.length]\n}\n \n \n\n\n \n \n \n \n \n \n \n \n similarity\n \n \n \n \n \n \n Default value : (s1: string, s2: string) => {\n let longer = s1\n let shorter = s2\n if (s1.length \n \n \n\n \n \n Compares two strings and returns the Levenshtein distance\n\n \n \n\n \n \n\n src/helpers/painter.ts\n \n \n \n \n \n \n \n green\n \n \n \n \n \n \n Default value : (value: string) => `\\x1b[32m${value}\\x1b[0m`\n \n \n\n\n \n \n \n \n \n \n \n \n red\n \n \n \n \n \n \n Default value : (value: string) => `\\x1b[31m${value}\\x1b[0m`\n \n \n\n\n \n \n \n \n \n \n \n \n yellow\n \n \n \n \n \n \n Default value : (value: string) => `\\x1b[33m${value}\\x1b[0m`\n \n \n\n\n \n \n\n src/helpers/titleCase.ts\n \n \n \n \n \n \n \n toTitleCase\n \n \n \n \n \n \n Default value : (str: string): string => {\n return str.replace(\n /\\w\\S*/g,\n (txt) => txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase()\n )\n}\n \n \n\n \n \n TitleCase all words in a string\n\n \n \n\n \n \n\n\n\n\n \n \n results matching \"\"\n \n \n \n No results matching \"\"\n \n\n"}}
}