-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
72 lines (58 loc) · 2.71 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
<!doctype html>
<html lang=en>
<head>
<meta charset=utf-8>
<title>jslicense</title>
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="jslicense">
<meta name="twitter:description" content="software licensing tools for the npm ecosystem">
<meta name="twitter:image" content="http://jslicense.org/logo.png">
</head>
<body>
<main>
<h1>jslicense</h1>
<p>Software licensing tools for the <a href=https://www.npmjs.com>npm</a> ecosystem.</p>
<p>Search npmjs.com for “<a href=https://www.npmjs.com/search?q=jslicense>jslicense</a>”.</p>
<h2>SPDX Expressions</h2>
<pre><code>var parse = require('<a href=https://www.npmjs.com/package/spdx-expression-parse>spdx-expression-parse</a>')
parse('(MIT OR GPL-2.0+)')
</code></pre>
<h2>Licensing Your Work</h2>
<pre><code>npm install --global <a href=https://www.npmjs.com/package/licensor>licensor</a>
mkdir your-new-package
cd your-new-package
npm init
licensor</code></pre>
<h2>Checking Others’ Licenses</h2>
<pre><code>npm install --global <a href=https://www.npmjs.com/package/licensee>licensee</a>
cd your-package
licensee --init
licensee</code></pre>
<h2>“Official” License Texts</h2>
<p>Texts can be <code>require()</code>’d as npm packages.</p>
<ul>
<li><a href=https://www.npmjs.com/package/apache-2.0>apache-2.0</a></li>
<li><a href=https://www.npmjs.com/package/apache-2.0-header>apache-2.0-header</a></li>
<li><a href=https://www.npmjs.com/package/cc0-1.0>cc0-1.0</a></li>
<li><a href=https://www.npmjs.com/package/gpl-2.0>gpl-2.0</a></li>
<li><a href=https://www.npmjs.com/package/gpl-3.0>gpl-3.0</a></li>
<li><a href=https://www.npmjs.com/package/unlicense>unlicense</a></li>
<li><a href=https://www.npmjs.com/package/wtfpl>wtfpl</a></li>
</ul>
<h2>License Text JSON Templates</h2>
<p>Templates <a href=https://www.npmjs.com/package/jslicense-validate>conform to a schema</a>.</p>
<ul>
<li><a href=https://www.npmjs.com/package/jslicense-isc>jslicense-isc</a></li>
<li><a href=https://www.npmjs.com/package/jslicense-0bsd>jslicense-0bsd</a></li>
<li><a href=https://www.npmjs.com/package/jslicense-mit>jslicense-mit</a></li>
<li><a href=https://www.npmjs.com/package/jslicense-wtfpl>jslicense-wtfpl</a></li>
<li><a href=https://www.npmjs.com/package/jslicense-gpl-3.0>jslicense-gpl-3.0</a></li>
<li><a href=https://www.npmjs.com/package/jslicense-bsd-2-clause>jslicense-bsd-2-clause</a></li>
<li><a href=https://www.npmjs.com/package/jslicense-bsd-3-clause>jslicense-bsd-3-clause</a></li>
<li><a href=https://www.npmjs.com/package/jslicense-apache-2.0>jslicense-apache-2.0</a></li>
</ul>
<h2>Source &c.</h2>
<p>On <a href=https://github.com/jslicense>GitHub</a></p>
</main>
</body>
</html>