-
Notifications
You must be signed in to change notification settings - Fork 4
/
template.html
118 lines (109 loc) · 5.58 KB
/
template.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>Simple Statistics</title>
<meta name='author' content='Tom MacWright'>
<meta name='description' content='Statistical methods in readable JavaScript for browsers, servers, and people.'>
<link rel='icon' href='favicon.png' />
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Roboto:400,700|Merriweather:400,700'>
<link rel='stylesheet' href='css/basscss.css'>
<link rel='stylesheet' href='css/style.css'>
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Roboto:400,700|Merriweather:400,700'>
<link rel='stylesheet' href='css/style.css'>
</head>
<body class='simple-statistics'>
<div class='container px2'>
<header class='mt3 mb2 py2 border-bottom'>
<h1 class='sans h4 caps m0'>Simple Statistics</h1>
</header>
<section id='intro' class='mt4'>
<div class='sm-flex mxn2'>
<div class='sm-col-4'>
<img src='logo-2.jpg' alt='simple statistics logo' />
</div>
<div class='col-8 py4 px2'>
<p class='serif h1 h1-responsive bold m0'>
Statistical methods in readable JavaScript for browsers,
servers, and people.
</p>
</div>
</div>
</section>
<section class='right-align py3 mxn1'>
<a href='//github.com/simple-statistics/simple-statistics' class='caps bg-white btn m1 btn-outline'>Github</a>
<a href='//npmjs.com/package/simple-statistics' class='caps bg-white btn m1 btn-outline'>npm</a>
<a href='/docs' class='caps btn bg-white m1 btn-outline'>docs</a>
</section>
<section class='right-align py3 mxn1'>
<div class='px2'>
<iframe src="https://ghbtns.com/github-btn.html?user=simple-statistics&repo=simple-statistics&type=star&count=true&size=large" frameborder="0" scrolling="0" width="140px" height="30px"></iframe>
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://simplestatistics.org/" data-text="Simple Statistics" data-via="tmcw" data-size="large">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
</div>
</section>
<section id='features' class='py3'>
<h1 class='sans h4 caps m0'><a href='#features'>Features</a></h1>
<hr class='mt1'>
<div class='sm-flex mxn2'>
<div class='sm-col-5 px2'>
<h3>Descriptive Statistics</h3>
<h3>Bayesian Classifier</h3>
<h3>Distributions</h3>
<h3>Linear Regression</h3>
</div>
<div class='sm-col-7 px2'>
<p class='mt2'><strong>Simple Statistics</strong> is a JavaScript library that implements
statistical methods.</p>
<p>It helps coders harness the power of statistics and statisticians
understand code. The library is exhaustively documented, written
in a simple and friendly style, and thoroughly tested.</p>
</div>
</div>
</section>
<section id='use' class='py3 clearfix'>
<div class='sm-flex mxn2'>
<div class='sm-col-5 px2 mb3'>
<h1 class='sans h4 caps m0'><a href='#download'>Download</a></h1>
<hr class='mt1'>
<h4>Uncompressed Development</h4>
<a class='btn btn-outline bg-white' download='simple-statistics.js' href='https://unpkg.com/simple-statistics@{VERSION}/dist/simple-statistics.js'>simple-statistics.js</a>
<h4>Production Build</h4>
<a class='btn btn-outline bg-white' download='simple-statistics.min.js' href='https://unpkg.com/simple-statistics@{VERSION}/dist/simple-statistics.min.js'>simple-statistics.min.js</a>
</div>
<div class='sm-col-7 px2 mb3'>
<h1 class='sans h4 caps m0'><a href='#install'>Install</a></h1>
<hr class='mt1'>
<p>You can use simple-statistics with node.js by installing
it with npm.</p>
<pre class='overflow-auto bg-white px1 py1 border'>npm install --save simple-statistics</pre>
<p>The npm package is usable in
<a href='http://nodejs.org/'>node.js</a>,
<a href='https://iojs.org/en/index.html'>io.js</a>, and the web via
<a href='http://browserify.org'>browserify</a> or
<a href='https://webpack.github.io/'>webpack</a>.</p>
<h1 class='mt4 sans h4 caps m0'><a href='#cdn'>CDN</a></h1>
<hr class='mt1'>
<p>You can also use simple-statistics in webpages from unpkg:
<input onclick='selectme(this)' class='overflow-auto bg-white px1 py1 border col-12' value='https://unpkg.com/simple-statistics@{VERSION}/dist/simple-statistics.min.js' />
</div>
</div>
</section>
<footer class='h6 bold caps py2 mt4 border-top'>
<div class='flex flex-baseline flex-wrap mxn1'>
<div class='flex-auto'></div>
<div class='px1'>
Made by
<a class='underline' href='//macwright.org'>Tom MacWright</a> & <a class='underline' href='https://github.com/tmcw/simple-statistics/graphs/contributors'>Contributors</a>.
Also ported to
<a class='underline' href='https://github.com/sheriferson/simplestatistics'>Python as simplestatistics</a>
</div>
</div>
</footer>
</div>
<script>
function selectme(elem) { setTimeout(function() { elem.select(); }, 20); }
</script>
</body>
</html>