[{"data":1,"prerenderedAt":1361},["ShallowReactive",2],{"navigation_docs":3,"-guide":88,"-guide-surround":1358},[4,40],{"title":5,"path":6,"stem":7,"children":8,"icon":39},"Guide","\u002Fguide","1.guide\u002F1.index",[9,11,15,19,23,27,31,35],{"title":10,"path":6,"stem":7},"Getting Started",{"title":12,"path":13,"stem":14},"Listing Captures","\u002Fguide\u002Fsnapshots","1.guide\u002F2.snapshots",{"title":16,"path":17,"stem":18},"Reading Captures","\u002Fguide\u002Fcontent","1.guide\u002F3.content",{"title":20,"path":21,"stem":22},"Comparing Versions","\u002Fguide\u002Fdiff","1.guide\u002F4.diff",{"title":24,"path":25,"stem":26},"Configuration","\u002Fguide\u002Fconfiguration","1.guide\u002F5.configuration",{"title":28,"path":29,"stem":30},"Agents","\u002Fguide\u002Fagents","1.guide\u002F6.agents",{"title":32,"path":33,"stem":34},"Custom Providers","\u002Fguide\u002Fcustom","1.guide\u002F7.custom",{"title":36,"path":37,"stem":38},"Explorer","\u002Fguide\u002Fexplorer","1.guide\u002F8.explorer","i-lucide-book-open",{"title":41,"path":42,"stem":43,"children":44,"icon":87},"Providers","\u002Fproviders","2.providers\u002F0.index",[45,47,51,55,59,63,67,71,75,79,83],{"title":46,"path":42,"stem":43},"Overview",{"title":48,"path":49,"stem":50},"Wayback Machine","\u002Fproviders\u002Fwayback","2.providers\u002F01.wayback",{"title":52,"path":53,"stem":54},"Arquivo.pt","\u002Fproviders\u002Farquivo","2.providers\u002F02.arquivo",{"title":56,"path":57,"stem":58},"Webarchiv Österreich","\u002Fproviders\u002Fwebarchiv","2.providers\u002F03.webarchiv",{"title":60,"path":61,"stem":62},"Archive.today","\u002Fproviders\u002Farchive-today","2.providers\u002F04.archive-today",{"title":64,"path":65,"stem":66},"Common Crawl","\u002Fproviders\u002Fcommoncrawl","2.providers\u002F05.commoncrawl",{"title":68,"path":69,"stem":70},"WebCite","\u002Fproviders\u002Fwebcite","2.providers\u002F06.webcite",{"title":72,"path":73,"stem":74},"Memento","\u002Fproviders\u002Fmemento","2.providers\u002F07.memento",{"title":76,"path":77,"stem":78},"Archive-It","\u002Fproviders\u002Farchive-it","2.providers\u002F08.archive-it",{"title":80,"path":81,"stem":82},"Conifer","\u002Fproviders\u002Fconifer","2.providers\u002F09.conifer",{"title":84,"path":85,"stem":86},"Perma.cc","\u002Fproviders\u002Fpermacc","2.providers\u002F10.permacc","i-lucide-library",{"id":89,"title":10,"body":90,"description":1352,"extension":1353,"links":1354,"meta":1355,"navigation":212,"path":6,"seo":1356,"stem":7,"__hash__":1357},"docs\u002F1.guide\u002F1.index.md",{"type":91,"value":92,"toc":1338},"minimark",[93,101,108,113,122,128,132,157,161,393,403,407,498,513,517,612,619,623,815,821,825,828,833,927,931,1007,1011,1194,1205,1209,1300,1334],[94,95,96,100],"warning",{},[97,98,99],"strong",{},"Pre-1.0."," The public API, the provider list, and the MCP tool surface can still change. Pin exact versions if you build on it now.",[102,103,104,107],"caution",{},[97,105,106],{},"Archived pages are data, never instructions."," Every body this library returns is a recording of somebody else's page. Show it, search it, diff it. Do not execute it, and do not let an agent treat it as a message to itself.",[109,110,112],"h2",{"id":111},"why-this-exists","Why this exists",[114,115,116,117,121],"p",{},"Every web archive has its own idea of an index. The Wayback Machine speaks CDX with a ",[118,119,120],"code",{},"collapse"," grammar, Arquivo.pt speaks a slightly different CDX, Webarchiv Österreich answers CDXJ for one exact URL, Archive.today only has a Memento TimeMap, Common Crawl points into WARC files, Perma.cc is a REST API behind a key, and WebCite cannot list anything at all. Pulling one client per archive into a project means seven response shapes and seven ways to misread a date.",[114,123,124,127],{},[118,125,126],{},"@agntn\u002Farchives"," puts ten providers behind one class shape. Same calls, same option object, same page type. The provider decides how to ask; you decide what to ask for.",[109,129,131],{"id":130},"install","Install",[133,134,139],"pre",{"className":135,"code":136,"language":137,"meta":138,"style":138},"language-bash shiki shiki-themes vitesse-light vitesse-light vesper","pnpm add @agntn\u002Farchives\n","bash","",[118,140,141],{"__ignoreMap":138},[142,143,146,150,154],"span",{"class":144,"line":145},"line",1,[142,147,149],{"class":148},"shFES","pnpm",[142,151,153],{"class":152},"sHyde"," add",[142,155,156],{"class":152}," @agntn\u002Farchives\n",[109,158,160],{"id":159},"first-listing","First listing",[133,162,167],{"className":163,"code":164,"filename":165,"language":166,"meta":138,"style":138},"language-ts shiki shiki-themes vitesse-light vitesse-light vesper","import { createArchive, providers } from \"@agntn\u002Farchives\";\n\nconst archive = createArchive(providers.wayback());\nconst response = await archive.snapshots(\"example.com\", { limit: 100 });\n\nif (response.success) {\n  for (const page of response.pages) {\n    console.log(page.timestamp, page.snapshot);\n  }\n}\n","snapshots.ts","ts",[118,168,169,207,214,245,293,298,321,348,381,387],{"__ignoreMap":138},[142,170,171,175,179,183,186,189,192,195,199,201,204],{"class":144,"line":145},[142,172,174],{"class":173},"sB1ot","import",[142,176,178],{"class":177},"sldxI"," {",[142,180,182],{"class":181},"sA8fy"," createArchive",[142,184,185],{"class":177},",",[142,187,188],{"class":181}," providers",[142,190,191],{"class":177}," }",[142,193,194],{"class":173}," from",[142,196,198],{"class":197},"sbwUx"," \"",[142,200,126],{"class":152},[142,202,203],{"class":197},"\"",[142,205,206],{"class":177},";\n",[142,208,210],{"class":144,"line":209},2,[142,211,213],{"emptyLinePlaceholder":212},true,"\n",[142,215,217,221,224,228,230,233,236,239,242],{"class":144,"line":216},3,[142,218,220],{"class":219},"s8Cdk","const",[142,222,223],{"class":181}," archive",[142,225,227],{"class":226},"sUeik"," =",[142,229,182],{"class":148},[142,231,232],{"class":177},"(",[142,234,235],{"class":181},"providers",[142,237,238],{"class":177},".",[142,240,241],{"class":148},"wayback",[142,243,244],{"class":177},"());\n",[142,246,248,250,253,255,258,260,262,265,267,269,272,274,276,279,283,286,290],{"class":144,"line":247},4,[142,249,220],{"class":219},[142,251,252],{"class":181}," response",[142,254,227],{"class":226},[142,256,257],{"class":173}," await",[142,259,223],{"class":181},[142,261,238],{"class":177},[142,263,264],{"class":148},"snapshots",[142,266,232],{"class":177},[142,268,203],{"class":197},[142,270,271],{"class":152},"example.com",[142,273,203],{"class":197},[142,275,185],{"class":177},[142,277,278],{"class":177}," { ",[142,280,282],{"class":281},"sYv7f","limit",[142,284,285],{"class":177},": ",[142,287,289],{"class":288},"sZMfM","100",[142,291,292],{"class":177}," });\n",[142,294,296],{"class":144,"line":295},5,[142,297,213],{"emptyLinePlaceholder":212},[142,299,301,304,307,310,312,315,318],{"class":144,"line":300},6,[142,302,303],{"class":173},"if",[142,305,306],{"class":177}," (",[142,308,309],{"class":181},"response",[142,311,238],{"class":177},[142,313,314],{"class":181},"success",[142,316,317],{"class":177},")",[142,319,320],{"class":177}," {\n",[142,322,324,327,329,331,334,337,339,341,344,346],{"class":144,"line":323},7,[142,325,326],{"class":173},"  for",[142,328,306],{"class":177},[142,330,220],{"class":219},[142,332,333],{"class":181}," page",[142,335,336],{"class":219}," of",[142,338,252],{"class":181},[142,340,238],{"class":177},[142,342,343],{"class":181},"pages",[142,345,317],{"class":177},[142,347,320],{"class":177},[142,349,351,354,356,359,361,364,366,369,371,373,375,378],{"class":144,"line":350},8,[142,352,353],{"class":181},"    console",[142,355,238],{"class":177},[142,357,358],{"class":148},"log",[142,360,232],{"class":177},[142,362,363],{"class":181},"page",[142,365,238],{"class":177},[142,367,368],{"class":181},"timestamp",[142,370,185],{"class":177},[142,372,333],{"class":181},[142,374,238],{"class":177},[142,376,377],{"class":181},"snapshot",[142,379,380],{"class":177},");\n",[142,382,384],{"class":144,"line":383},9,[142,385,386],{"class":177},"  }\n",[142,388,390],{"class":144,"line":389},10,[142,391,392],{"class":177},"}\n",[114,394,395,398,399,402],{},[118,396,397],{},"providers.wayback()"," returns a promise, and ",[118,400,401],{},"createArchive"," accepts it as is: the provider module is imported the first time the archive needs it, so a project that only ever asks the Wayback Machine never ships the other nine.",[109,404,406],{"id":405},"every-archive-at-once","Every archive at once",[133,408,410],{"className":163,"code":409,"language":166,"meta":138,"style":138},"const archive = createArchive(providers.all());\nconst response = await archive.snapshots(\"example.com\");\n\nresponse.pages; \u002F\u002F merged, newest first, one shape\nresponse._meta?.unsupportedProviders; \u002F\u002F [{ provider: \"webcite\", reason: \"WebCite has no list-by-domain API. …\" }]\n",[118,411,412,433,459,463,478],{"__ignoreMap":138},[142,413,414,416,418,420,422,424,426,428,431],{"class":144,"line":145},[142,415,220],{"class":219},[142,417,223],{"class":181},[142,419,227],{"class":226},[142,421,182],{"class":148},[142,423,232],{"class":177},[142,425,235],{"class":181},[142,427,238],{"class":177},[142,429,430],{"class":148},"all",[142,432,244],{"class":177},[142,434,435,437,439,441,443,445,447,449,451,453,455,457],{"class":144,"line":209},[142,436,220],{"class":219},[142,438,252],{"class":181},[142,440,227],{"class":226},[142,442,257],{"class":173},[142,444,223],{"class":181},[142,446,238],{"class":177},[142,448,264],{"class":148},[142,450,232],{"class":177},[142,452,203],{"class":197},[142,454,271],{"class":152},[142,456,203],{"class":197},[142,458,380],{"class":177},[142,460,461],{"class":144,"line":216},[142,462,213],{"emptyLinePlaceholder":212},[142,464,465,467,469,471,474],{"class":144,"line":247},[142,466,309],{"class":181},[142,468,238],{"class":177},[142,470,343],{"class":181},[142,472,473],{"class":177},";",[142,475,477],{"class":476},"szOLe"," \u002F\u002F merged, newest first, one shape\n",[142,479,480,482,484,487,490,493,495],{"class":144,"line":295},[142,481,309],{"class":181},[142,483,238],{"class":177},[142,485,486],{"class":181},"_meta",[142,488,489],{"class":177},"?.",[142,491,492],{"class":181},"unsupportedProviders",[142,494,473],{"class":177},[142,496,497],{"class":476}," \u002F\u002F [{ provider: \"webcite\", reason: \"WebCite has no list-by-domain API. …\" }]\n",[114,499,500,503,504,506,507,512],{},[118,501,502],{},"providers.all()"," fans the query out to Wayback, Arquivo.pt, Webarchiv Österreich, Archive.today, Common Crawl and WebCite in parallel and merges what comes back. A provider that has no endpoint for the call says so in ",[118,505,486],{},"; a provider that fails names its error. Neither is silently dropped. The ",[508,509,511],"a",{"href":510},"\u002Ftimeline","Timeline"," does exactly this call against the docs worker.",[109,514,516],{"id":515},"read-what-a-page-said","Read what a page said",[133,518,520],{"className":163,"code":519,"language":166,"meta":138,"style":138},"const capture = await archive.getContent(\"https:\u002F\u002Fexample.com\", { timestamp: \"2002\" });\n\ncapture.timestamp; \u002F\u002F \"2002-11-29T05:43:48Z\", the capture it actually found\ncapture.mime; \u002F\u002F \"text\u002Fhtml\"\ncapture.content; \u002F\u002F the decoded body\n",[118,521,522,566,570,584,598],{"__ignoreMap":138},[142,523,524,526,529,531,533,535,537,540,542,544,547,549,551,553,555,557,559,562,564],{"class":144,"line":145},[142,525,220],{"class":219},[142,527,528],{"class":181}," capture",[142,530,227],{"class":226},[142,532,257],{"class":173},[142,534,223],{"class":181},[142,536,238],{"class":177},[142,538,539],{"class":148},"getContent",[142,541,232],{"class":177},[142,543,203],{"class":197},[142,545,546],{"class":152},"https:\u002F\u002Fexample.com",[142,548,203],{"class":197},[142,550,185],{"class":177},[142,552,278],{"class":177},[142,554,368],{"class":281},[142,556,285],{"class":177},[142,558,203],{"class":197},[142,560,561],{"class":152},"2002",[142,563,203],{"class":197},[142,565,292],{"class":177},[142,567,568],{"class":144,"line":209},[142,569,213],{"emptyLinePlaceholder":212},[142,571,572,575,577,579,581],{"class":144,"line":216},[142,573,574],{"class":181},"capture",[142,576,238],{"class":177},[142,578,368],{"class":181},[142,580,473],{"class":177},[142,582,583],{"class":476}," \u002F\u002F \"2002-11-29T05:43:48Z\", the capture it actually found\n",[142,585,586,588,590,593,595],{"class":144,"line":247},[142,587,574],{"class":181},[142,589,238],{"class":177},[142,591,592],{"class":181},"mime",[142,594,473],{"class":177},[142,596,597],{"class":476}," \u002F\u002F \"text\u002Fhtml\"\n",[142,599,600,602,604,607,609],{"class":144,"line":295},[142,601,574],{"class":181},[142,603,238],{"class":177},[142,605,606],{"class":181},"content",[142,608,473],{"class":177},[142,610,611],{"class":476}," \u002F\u002F the decoded body\n",[114,613,614,615,618],{},"Listing says when a page existed. Reading says what it contained. ",[508,616,617],{"href":17},"Reading captures"," covers how a timestamp resolves and which providers can serve bodies.",[109,620,622],{"id":621},"what-ships","What ships",[624,625,626,650],"table",{},[627,628,629],"thead",{},[630,631,632,636,639,642,645],"tr",{},[633,634,635],"th",{},"Provider",[633,637,638],{},"Factory",[633,640,641],{},"Lists",[633,643,644],{},"Reads bodies",[633,646,647,648],{},"In ",[118,649,430],{},[651,652,653,670,685,701,718,734,751,767,783,799],"tbody",{},[630,654,655,658,662,665,668],{},[656,657,48],"td",{},[656,659,660],{},[118,661,397],{},[656,663,664],{},"CDX",[656,666,667],{},"yes",[656,669,667],{},[630,671,672,674,679,681,683],{},[656,673,52],{},[656,675,676],{},[118,677,678],{},"providers.arquivo()",[656,680,664],{},[656,682,667],{},[656,684,667],{},[630,686,687,689,694,697,699],{},[656,688,56],{},[656,690,691],{},[118,692,693],{},"providers.webarchiv()",[656,695,696],{},"CDXJ, exact URL",[656,698,667],{},[656,700,667],{},[630,702,703,705,710,713,716],{},[656,704,60],{},[656,706,707],{},[118,708,709],{},"providers.archiveToday()",[656,711,712],{},"Memento TimeMap",[656,714,715],{},"wrapper page",[656,717,667],{},[630,719,720,722,727,729,732],{},[656,721,64],{},[656,723,724],{},[118,725,726],{},"providers.commoncrawl()",[656,728,664],{},[656,730,731],{},"WARC range",[656,733,667],{},[630,735,736,738,743,746,748],{},[656,737,68],{},[656,739,740],{},[118,741,742],{},"providers.webcite()",[656,744,745],{},"no",[656,747,745],{},[656,749,750],{},"yes, as unsupported",[630,752,753,755,760,763,765],{},[656,754,72],{},[656,756,757],{},[118,758,759],{},"providers.memento()",[656,761,762],{},"MemGator TimeMap",[656,764,667],{},[656,766,745],{},[630,768,769,771,776,779,781],{},[656,770,76],{},[656,772,773],{},[118,774,775],{},"providers.archiveIt({ collection })",[656,777,778],{},"CDX\u002FC",[656,780,667],{},[656,782,745],{},[630,784,785,787,792,795,797],{},[656,786,80],{},[656,788,789],{},[118,790,791],{},"providers.conifer({ user, collection })",[656,793,794],{},"collection search",[656,796,745],{},[656,798,745],{},[630,800,801,803,808,811,813],{},[656,802,84],{},[656,804,805],{},[118,806,807],{},"providers.permacc({ apiKey })",[656,809,810],{},"REST, exact URL",[656,812,745],{},[656,814,745],{},[114,816,817,818,820],{},"Each provider has its own page under ",[508,819,41],{"href":42}," with the endpoint, the options, and the traps.",[109,822,824],{"id":823},"the-three-operations","The three operations",[114,826,827],{},"Every archive instance answers the same three questions.",[829,830,832],"h3",{"id":831},"_1-which-captures-exist","1. Which captures exist",[133,834,836],{"className":163,"code":835,"language":166,"meta":138,"style":138},"const response = await archive.snapshots(\"example.com\", { from: \"2010\", to: \"2012\" });\nconst pages = await archive.getPages(\"example.com\"); \u002F\u002F same call, throws instead of returning success: false\n",[118,837,838,895],{"__ignoreMap":138},[142,839,840,842,844,846,848,850,852,854,856,858,860,862,864,866,869,871,873,876,878,881,884,886,888,891,893],{"class":144,"line":145},[142,841,220],{"class":219},[142,843,252],{"class":181},[142,845,227],{"class":226},[142,847,257],{"class":173},[142,849,223],{"class":181},[142,851,238],{"class":177},[142,853,264],{"class":148},[142,855,232],{"class":177},[142,857,203],{"class":197},[142,859,271],{"class":152},[142,861,203],{"class":197},[142,863,185],{"class":177},[142,865,278],{"class":177},[142,867,868],{"class":281},"from",[142,870,285],{"class":177},[142,872,203],{"class":197},[142,874,875],{"class":152},"2010",[142,877,203],{"class":197},[142,879,880],{"class":177},", ",[142,882,883],{"class":281},"to",[142,885,285],{"class":177},[142,887,203],{"class":197},[142,889,890],{"class":152},"2012",[142,892,203],{"class":197},[142,894,292],{"class":177},[142,896,897,899,902,904,906,908,910,913,915,917,919,921,924],{"class":144,"line":209},[142,898,220],{"class":219},[142,900,901],{"class":181}," pages",[142,903,227],{"class":226},[142,905,257],{"class":173},[142,907,223],{"class":181},[142,909,238],{"class":177},[142,911,912],{"class":148},"getPages",[142,914,232],{"class":177},[142,916,203],{"class":197},[142,918,271],{"class":152},[142,920,203],{"class":197},[142,922,923],{"class":177},");",[142,925,926],{"class":476}," \u002F\u002F same call, throws instead of returning success: false\n",[829,928,930],{"id":929},"_2-what-did-one-capture-contain","2. What did one capture contain",[133,932,934],{"className":163,"code":933,"language":166,"meta":138,"style":138},"const response = await archive.content(\"https:\u002F\u002Fexample.com\u002Fabout\", { timestamp: \"20150601\" });\nconst capture = await archive.getContent(\"https:\u002F\u002Fexample.com\u002Fabout\"); \u002F\u002F newest capture, throws on failure\n",[118,935,936,978],{"__ignoreMap":138},[142,937,938,940,942,944,946,948,950,952,954,956,959,961,963,965,967,969,971,974,976],{"class":144,"line":145},[142,939,220],{"class":219},[142,941,252],{"class":181},[142,943,227],{"class":226},[142,945,257],{"class":173},[142,947,223],{"class":181},[142,949,238],{"class":177},[142,951,606],{"class":148},[142,953,232],{"class":177},[142,955,203],{"class":197},[142,957,958],{"class":152},"https:\u002F\u002Fexample.com\u002Fabout",[142,960,203],{"class":197},[142,962,185],{"class":177},[142,964,278],{"class":177},[142,966,368],{"class":281},[142,968,285],{"class":177},[142,970,203],{"class":197},[142,972,973],{"class":152},"20150601",[142,975,203],{"class":197},[142,977,292],{"class":177},[142,979,980,982,984,986,988,990,992,994,996,998,1000,1002,1004],{"class":144,"line":209},[142,981,220],{"class":219},[142,983,528],{"class":181},[142,985,227],{"class":226},[142,987,257],{"class":173},[142,989,223],{"class":181},[142,991,238],{"class":177},[142,993,539],{"class":148},[142,995,232],{"class":177},[142,997,203],{"class":197},[142,999,958],{"class":152},[142,1001,203],{"class":197},[142,1003,923],{"class":177},[142,1005,1006],{"class":476}," \u002F\u002F newest capture, throws on failure\n",[829,1008,1010],{"id":1009},"_3-what-changed-between-two-captures","3. What changed between two captures",[133,1012,1014],{"className":163,"code":1013,"language":166,"meta":138,"style":138},"import { diffArchivedContent } from \"@agntn\u002Farchives\";\n\nconst before = await archive.getContent(\"https:\u002F\u002Fexample.com\", { timestamp: \"2024\" });\nconst after = await archive.getContent(\"https:\u002F\u002Fexample.com\", { timestamp: \"2026\" });\nconst diff = diffArchivedContent(before, after);\n\ndiff.patch; \u002F\u002F unified diff of the visible text\ndiff.additions; \u002F\u002F 3\ndiff.deletions; \u002F\u002F 8\n",[118,1015,1016,1037,1041,1083,1125,1147,1151,1166,1180],{"__ignoreMap":138},[142,1017,1018,1020,1022,1025,1027,1029,1031,1033,1035],{"class":144,"line":145},[142,1019,174],{"class":173},[142,1021,178],{"class":177},[142,1023,1024],{"class":181}," diffArchivedContent",[142,1026,191],{"class":177},[142,1028,194],{"class":173},[142,1030,198],{"class":197},[142,1032,126],{"class":152},[142,1034,203],{"class":197},[142,1036,206],{"class":177},[142,1038,1039],{"class":144,"line":209},[142,1040,213],{"emptyLinePlaceholder":212},[142,1042,1043,1045,1048,1050,1052,1054,1056,1058,1060,1062,1064,1066,1068,1070,1072,1074,1076,1079,1081],{"class":144,"line":216},[142,1044,220],{"class":219},[142,1046,1047],{"class":181}," before",[142,1049,227],{"class":226},[142,1051,257],{"class":173},[142,1053,223],{"class":181},[142,1055,238],{"class":177},[142,1057,539],{"class":148},[142,1059,232],{"class":177},[142,1061,203],{"class":197},[142,1063,546],{"class":152},[142,1065,203],{"class":197},[142,1067,185],{"class":177},[142,1069,278],{"class":177},[142,1071,368],{"class":281},[142,1073,285],{"class":177},[142,1075,203],{"class":197},[142,1077,1078],{"class":152},"2024",[142,1080,203],{"class":197},[142,1082,292],{"class":177},[142,1084,1085,1087,1090,1092,1094,1096,1098,1100,1102,1104,1106,1108,1110,1112,1114,1116,1118,1121,1123],{"class":144,"line":247},[142,1086,220],{"class":219},[142,1088,1089],{"class":181}," after",[142,1091,227],{"class":226},[142,1093,257],{"class":173},[142,1095,223],{"class":181},[142,1097,238],{"class":177},[142,1099,539],{"class":148},[142,1101,232],{"class":177},[142,1103,203],{"class":197},[142,1105,546],{"class":152},[142,1107,203],{"class":197},[142,1109,185],{"class":177},[142,1111,278],{"class":177},[142,1113,368],{"class":281},[142,1115,285],{"class":177},[142,1117,203],{"class":197},[142,1119,1120],{"class":152},"2026",[142,1122,203],{"class":197},[142,1124,292],{"class":177},[142,1126,1127,1129,1132,1134,1136,1138,1141,1143,1145],{"class":144,"line":295},[142,1128,220],{"class":219},[142,1130,1131],{"class":181}," diff",[142,1133,227],{"class":226},[142,1135,1024],{"class":148},[142,1137,232],{"class":177},[142,1139,1140],{"class":181},"before",[142,1142,185],{"class":177},[142,1144,1089],{"class":181},[142,1146,380],{"class":177},[142,1148,1149],{"class":144,"line":300},[142,1150,213],{"emptyLinePlaceholder":212},[142,1152,1153,1156,1158,1161,1163],{"class":144,"line":323},[142,1154,1155],{"class":181},"diff",[142,1157,238],{"class":177},[142,1159,1160],{"class":181},"patch",[142,1162,473],{"class":177},[142,1164,1165],{"class":476}," \u002F\u002F unified diff of the visible text\n",[142,1167,1168,1170,1172,1175,1177],{"class":144,"line":350},[142,1169,1155],{"class":181},[142,1171,238],{"class":177},[142,1173,1174],{"class":181},"additions",[142,1176,473],{"class":177},[142,1178,1179],{"class":476}," \u002F\u002F 3\n",[142,1181,1182,1184,1186,1189,1191],{"class":144,"line":383},[142,1183,1155],{"class":181},[142,1185,238],{"class":177},[142,1187,1188],{"class":181},"deletions",[142,1190,473],{"class":177},[142,1192,1193],{"class":476}," \u002F\u002F 8\n",[114,1195,1196,1197,1200,1201,1204],{},"The ",[118,1198,1199],{},"get*"," variants throw on failure; the plain variants return ",[118,1202,1203],{},"{ success: false, error }"," and leave the decision to you.",[109,1206,1208],{"id":1207},"one-page-shape","One page shape",[133,1210,1212],{"className":163,"code":1211,"language":166,"meta":138,"style":138},"interface ArchivedPage {\n  url: string; \u002F\u002F original URL, as the archive recorded it\n  timestamp: string; \u002F\u002F ISO 8601\n  snapshot: string; \u002F\u002F direct link to the archived version\n  _meta: Record\u003Cstring, unknown>; \u002F\u002F provider, status, digest, mime, …\n}\n",[118,1213,1214,1225,1241,1255,1269,1296],{"__ignoreMap":138},[142,1215,1216,1219,1223],{"class":144,"line":145},[142,1217,1218],{"class":219},"interface",[142,1220,1222],{"class":1221},"s0_b1"," ArchivedPage",[142,1224,320],{"class":177},[142,1226,1227,1230,1233,1236,1238],{"class":144,"line":209},[142,1228,1229],{"class":181},"  url",[142,1231,1232],{"class":226},":",[142,1234,1235],{"class":1221}," string",[142,1237,473],{"class":177},[142,1239,1240],{"class":476}," \u002F\u002F original URL, as the archive recorded it\n",[142,1242,1243,1246,1248,1250,1252],{"class":144,"line":216},[142,1244,1245],{"class":181},"  timestamp",[142,1247,1232],{"class":226},[142,1249,1235],{"class":1221},[142,1251,473],{"class":177},[142,1253,1254],{"class":476}," \u002F\u002F ISO 8601\n",[142,1256,1257,1260,1262,1264,1266],{"class":144,"line":247},[142,1258,1259],{"class":181},"  snapshot",[142,1261,1232],{"class":226},[142,1263,1235],{"class":1221},[142,1265,473],{"class":177},[142,1267,1268],{"class":476}," \u002F\u002F direct link to the archived version\n",[142,1270,1271,1274,1276,1279,1282,1285,1287,1290,1293],{"class":144,"line":295},[142,1272,1273],{"class":181},"  _meta",[142,1275,1232],{"class":226},[142,1277,1278],{"class":1221}," Record",[142,1280,1281],{"class":177},"\u003C",[142,1283,1284],{"class":1221},"string",[142,1286,880],{"class":177},[142,1288,1289],{"class":1221},"unknown",[142,1291,1292],{"class":177},">;",[142,1294,1295],{"class":476}," \u002F\u002F provider, status, digest, mime, …\n",[142,1297,1298],{"class":144,"line":300},[142,1299,392],{"class":177},[114,1301,1302,1305,1306,1308,1309,1312,1313,880,1315,1318,1319,1322,1323,1326,1327,1330,1331,238],{},[118,1303,1304],{},"_meta.provider"," names the source of every page in a merged listing. The rest of ",[118,1307,486],{}," is whatever the archive knew: Wayback and Arquivo.pt add ",[118,1310,1311],{},"status",", Arquivo.pt and Webarchiv Österreich add ",[118,1314,592],{},[118,1316,1317],{},"digest"," and ",[118,1320,1321],{},"length",", Common Crawl adds ",[118,1324,1325],{},"collection",", Memento adds the upstream ",[118,1328,1329],{},"archive"," host, Archive.today adds its ",[118,1332,1333],{},"hash",[1335,1336,1337],"style",{},"html pre.shiki code .shFES, html code.shiki .shFES{--shiki-light:#59873A;--shiki-default:#59873A;--shiki-dark:#FFC799}html pre.shiki code .sHyde, html code.shiki .sHyde{--shiki-light:#B56959;--shiki-default:#B56959;--shiki-dark:#99FFE4}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sB1ot, html code.shiki .sB1ot{--shiki-light:#1E754F;--shiki-default:#1E754F;--shiki-dark:#A0A0A0}html pre.shiki code .sldxI, html code.shiki .sldxI{--shiki-light:#999999;--shiki-default:#999999;--shiki-dark:#FFF}html pre.shiki code .sA8fy, html code.shiki .sA8fy{--shiki-light:#B07D48;--shiki-default:#B07D48;--shiki-dark:#FFF}html pre.shiki code .sbwUx, html code.shiki .sbwUx{--shiki-light:#B5695977;--shiki-default:#B5695977;--shiki-dark:#99FFE4}html pre.shiki code .s8Cdk, html code.shiki .s8Cdk{--shiki-light:#AB5959;--shiki-default:#AB5959;--shiki-dark:#A0A0A0}html pre.shiki code .sUeik, html code.shiki .sUeik{--shiki-light:#999999;--shiki-default:#999999;--shiki-dark:#A0A0A0}html pre.shiki code .sYv7f, html code.shiki .sYv7f{--shiki-light:#998418;--shiki-default:#998418;--shiki-dark:#FFF}html pre.shiki code .sZMfM, html code.shiki .sZMfM{--shiki-light:#2F798A;--shiki-default:#2F798A;--shiki-dark:#FFC799}html pre.shiki code .szOLe, html code.shiki .szOLe{--shiki-light:#A0ADA0;--shiki-default:#A0ADA0;--shiki-dark:#8B8B8B94}html pre.shiki code .s0_b1, html code.shiki .s0_b1{--shiki-light:#2E8F82;--shiki-default:#2E8F82;--shiki-dark:#FFC799}",{"title":138,"searchDepth":209,"depth":209,"links":1339},[1340,1341,1342,1343,1344,1345,1346,1351],{"id":111,"depth":209,"text":112},{"id":130,"depth":209,"text":131},{"id":159,"depth":209,"text":160},{"id":405,"depth":209,"text":406},{"id":515,"depth":209,"text":516},{"id":621,"depth":209,"text":622},{"id":823,"depth":209,"text":824,"children":1347},[1348,1349,1350],{"id":831,"depth":216,"text":832},{"id":929,"depth":216,"text":930},{"id":1009,"depth":216,"text":1010},{"id":1207,"depth":209,"text":1208},"Install the package, ask one archive for a domain, and read a capture in a dozen lines.","md",null,{"icon":39},{"title":10,"description":1352},"DRCeCIaqrnKSotzpPhg6oJQh_p1NX37bz6v7477lXhk",[1354,1359],{"title":12,"path":13,"stem":14,"description":1360,"children":-1},"Windows, limits, asking every archive at once, and what a provider says when it cannot answer.",1788446777799]