Skip to content

Commit 6b0b445

Browse files
committed
doc: add a license, use correct SPDX, add context
1 parent eb591ff commit 6b0b445

File tree

3 files changed

+39
-5
lines changed

3 files changed

+39
-5
lines changed

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Copyright (c) 2013-2016, Forrest L Norvell <[email protected]>
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are met:
6+
7+
1. Redistributions of source code must retain the above copyright notice, this
8+
list of conditions and the following disclaimer.
9+
2. Redistributions in binary form must reproduce the above copyright notice,
10+
this list of conditions and the following disclaimer in the documentation
11+
and/or other materials provided with the distribution.
12+
13+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
14+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
15+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
16+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
17+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
18+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
19+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
20+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
22+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,20 @@ setInterval(function () {
241241

242242
A context is a plain object created using the enclosing context as its prototype.
243243

244-
[timer functions]: timers.html
245-
[setImmediate]: timers.html#timers_setimmediate_callback_arg
246-
[setTimeout]: timers.html#timers_settimeout_callback_delay_arg
247-
[setInterval]: timers.html#timers_setinterval_callback_delay_arg
244+
# copyright & license
245+
246+
See [LICENSE](https://github.com/othiym23/node-continuation-local-storage/blob/master/LICENSE)
247+
for the details of the BSD 2-clause "simplified" license used by
248+
`continuation-local-storage`. This package was developed in 2012-2013 (and is
249+
maintained now) by Forrest L Norvell, [@othiym23](https://github.com/othiym23),
250+
with considerable help from Timothy Caswell,
251+
[@creationix](https://github.com/creationix), working for The Node Firm. This
252+
work was underwritten by New Relic for use in their Node.js instrumentation
253+
agent, so maybe give that a look if you have some Node.js
254+
performance-monitoring needs.
255+
256+
[timer functions]: https://nodejs.org/api/timers.html
257+
[setImmediate]: https://nodejs.org/api/timers.html#timers_setimmediate_callback_arg
258+
[setTimeout]: https://nodejs.org/api/timers.html#timers_settimeout_callback_delay_arg
259+
[setInterval]: https://nodejs.org/api/timers.html#timers_setinterval_callback_delay_arg
248260
[cps]: http://en.wikipedia.org/wiki/Continuation-passing_style

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"Tim Caswell <[email protected]>",
2727
"Forrest L Norvell <[email protected]>"
2828
],
29-
"license": "BSD",
29+
"license": "BSD-2-Clause",
3030
"devDependencies": {
3131
"tap": "^5.2.0"
3232
},

0 commit comments

Comments
 (0)