-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
39 lines (33 loc) · 1.39 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
<!DOCTYPE html>
<html lang="en-US">
<meta charset="utf-8">
<meta name="theme-color" content="PeachPuff">
<title>wtb // what the box</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Parse dimensions in JavaScript online or in Node.js">
<link rel="stylesheet" href="index.css">
<link rel="icon" href="icon.svg">
<link rel="canonical" href="https://ryanve.github.io/wtb/">
<h1>wtb</h1>
<p><dfn><abbr>wtb</abbr></dfn> is an acronym for <b>what the box</b>
<p><dfn>wtb</dfn> is an <a rel="license" href="LICENSE.txt">opensource</a> JavaScript dimension parser
<p><b><code>wtb</code></b> parses dimensions and returns width, height, area, aspect ratio
<p><b><code>wtb</code></b> accepts dimensions in many formats
<p><b><code>wtb</code></b>
is well <a href="wtb.js">coded</a>
and <a href="test.js">tested</a>
<p><b><code>wtb</code></b>
is fun and easy to use
<p><p><b><code>wtb</code></b> is made for Node.js and all web browsers
<p><b><code>wtb</code></b> is usable in the console on this page
<p>Learn on <a href="https://github.com/ryanve/wtb/blob/master/README.md">Github</a>
or <a href="https://www.npmjs.com/package/wtb">npm</a>
<p><a href="https://github.com/sponsors/ryanve">Sponsor on Github</a>
<script src="wtb.js"></script>
<script>
if ("console" in window) {
if ("dir" in console) {
console.dir(wtb)
}
}
</script>