-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathindex.html
76 lines (75 loc) · 2.94 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>runpkg | the package explorer</title>
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<link rel="stylesheet" href="/reset.css" />
<script>
if (location.pathname !== '/' && location.search === '') {
history.replaceState(null, null, `/?${location.pathname.slice(1)}`);
}
</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/marked.min.js"></script>
<script src="./utils/es-module-shim.js" defer></script>
<script>
const im = document.createElement('script');
im.type = 'importmap-shim';
im.textContent = JSON.stringify({
imports: {
'https://unpkg.com/react@>=16.0.0?module':
'https://unpkg.com/[email protected]/react.js',
'https://unpkg.com/react@>=0.14.9?module':
'https://unpkg.com/[email protected]/react.js',
'https://unpkg.com/[email protected]?module':
'https://unpkg.com/[email protected]/react.js',
react: 'https://unpkg.com/[email protected]/react.js',
'react-dom': 'https://unpkg.com/[email protected]/react-dom.js',
htm: 'https://unpkg.com/[email protected]/dist/htm.module.js',
csz: 'https://unpkg.com/[email protected]/index.js',
'prism-react-renderer':
'https://unpkg.com/[email protected]?module',
algolia:
'https://www.unpkg.com/[email protected]/dist/algoliasearch-lite.esm.browser.js',
},
});
document.currentScript.after(im);
</script>
<script src="/index.js" type="module-shim"></script>
<script
src="https://unpkg.com/[email protected]/standalone.js"
async
></script>
<script
src="https://unpkg.com/[email protected]/parser-babylon.js"
async
></script>
<meta property="og:site_name" content="runpkg" />
<meta property="og:title" content="runpkg | the package explorer" />
<meta name="twitter:title" content="runpkg | the package explorer" />
<meta
property="og:description"
content="Explore and extract useful meta data from static analysis of npm packages within the browser."
/>
<meta
name="twitter:description"
content="Explore and extract useful meta data from static analysis of npm packages within the browser."
/>
<meta
property="og:image"
content="https://user-images.githubusercontent.com/3719995/76795899-88b48800-6787-11ea-809c-f0f380721d70.png"
/>
<meta
property="twitter:image"
content="https://user-images.githubusercontent.com/3719995/76795899-88b48800-6787-11ea-809c-f0f380721d70.png"
/>
<meta property="og:url" content="https://runpkg.com" />
<meta property="twitter:domain" content="https://runpkg.com" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@formidablelabs" />
</head>
<body></body>
</html>