├── .gitignore
├── README.md
└── archived
├── .npmrc
├── DEVELOPING.md
├── Makefile
├── README.md
├── bin
└── write.sh
├── business-solution-terms.md
├── conduct.md
├── configuration.tmpl
├── crawlers.md
├── deploy.sh
├── disputes.md
├── dmca.md
├── domains.md
├── npm-license.md
├── open-source-terms.md
├── orgs-plan.md
├── package-lock.json
├── package.json
├── privacy.md
├── private-terms.md
├── receiving-reports.md
├── security.md
├── solo-plan.md
├── terms.md
├── trademark.md
└── unpublish.md
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | out
3 | Gemfile.lock
4 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # policies
2 |
3 | This Repository is now Archived. Our current policies can be found at https://github.com/npm/documentation/tree/main/content/policies
4 |
--------------------------------------------------------------------------------
/archived/.npmrc:
--------------------------------------------------------------------------------
1 | @npm:registry=https://npm.pkg.github.com/
--------------------------------------------------------------------------------
/archived/DEVELOPING.md:
--------------------------------------------------------------------------------
1 | # developing
2 |
3 | ## Creating new files or renaming existing files
4 |
5 | TEMPORARY AS OF 09/17: If you create new files, or rename existing files,
6 | please ping **@chrisdickinson** or **@jefflembeck** in Slack. They will move
7 | the files from "draft" mode to "live" mode.
8 |
9 | ## Deploying to staging or production
10 |
11 | This repo follows our formula for git-deploy repos, meaning that you can deploy
12 | to the staging or production environments by pushing the contents of a branch
13 | to the `deploy-staging` or `deploy-production branch`:
14 |
15 | `git push origin +master:deploy-staging`
16 | `git push origin +master:deploy-production`
17 |
--------------------------------------------------------------------------------
/archived/Makefile:
--------------------------------------------------------------------------------
1 | mdfiles = $(wildcard *.md)
2 | htmlfiles = $(addprefix out/,$(mdfiles:.md=.html))
3 | marked = ./node_modules/.bin/marked
4 |
5 | all: html
6 |
7 | html: $(htmlfiles)
8 |
9 | out/%.html: %.md $(marked)
10 | @mkdir -p out
11 | $(marked) < $< > $@
12 |
13 | $(marked):
14 | npm install
15 |
16 | .PHONY: clean
17 |
18 | clean:
19 | rm -rf out
20 |
--------------------------------------------------------------------------------
/archived/README.md:
--------------------------------------------------------------------------------
1 | # old policies
2 |
3 | These are the archived policies of npm. The policies in this folder are out of date. The current up to date policies can be found at https://docs.npmjs.com/policies and the source can be found at https://github.com/npm/documentation/tree/main/content/policies
--------------------------------------------------------------------------------
/archived/bin/write.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | head=$(git rev-parse HEAD)
4 | target=$(git rev-parse origin/deploy-${NODE_ENV})
5 |
6 | if [ "$head" != "$target" ]; then
7 | exit
8 | fi
9 |
10 | npm ci
11 | make
12 | echo out/*.html
13 | for path in out/*.html; do
14 | filename=$(basename $path)
15 | name=${filename%.*}
16 | candidate_slug="/policies/${name}"
17 | slug=${candidate_slug/\/README/}
18 | title=${name/-/ }
19 |
20 | echo '
' >> ${path}.tmp
21 | cat $path >> ${path}.tmp
22 | echo '
' >> ${path}.tmp
23 |
24 | echo "writing $slug ('$title') for $path"
25 | node_modules/.bin/mkp $slug -t "npm | policies | ${title}" ${path}.tmp >/dev/null || echo 'failed to write'
26 | done
27 |
--------------------------------------------------------------------------------
/archived/business-solution-terms.md:
--------------------------------------------------------------------------------
1 | # npm Business Solution Terms
2 |
3 | Version 4.2.1
4 |
5 | These terms and the **Quote** sent by _npm_ or presented to _Customer_ through npmjs.com or AWS Marketplace make up an agreement between **npm** and **Customer**.
6 |
7 | ## Background
8 |
9 | - _npm_ develops computer software and services for installing, managing, and sharing **Packages** of computer code and data.
10 |
11 | - _npm_'s command-line interface, or **CLI**, allows programmers to create, download, and share _Packages_ through online repositories called registries. _npm_ licenses the _CLI_ on _Open-Source Terms_, so anyone can use it free of charge.
12 |
13 | - _npm_ hosts the world's largest and most-used registry of _Packages_, the **npm Public Registry**. All _Packages_ in the _npm Public Registry_ are public, and anyone can download them.
14 |
15 | - Most software developers search and discover _Packages_ in the _npm Public Registry_ through the **npm Website**, https://www.npmjs.com. Developers also visit the _npm Website_ to create and manage accounts for publishing _Packages_.
16 |
17 | - _npm_ uses its familiarity and expertise with the _CLI_, _npm Public Registry_, and _npm Website_ to develop and offer software services for sharing _Packages_ privately within organizations, and for performing security analysis of _Packages_ that organizations use.
18 |
19 | - **npm Orgs** gives organizations access to, and control over, a named space, or **Scope**, for public and private _Packages_ of their own, on the same infrastructure as the _npm Public Registry_.
20 |
21 | - **npm Enterprise** gives organizations access to their own, private registry, hosted on infrastructure separate from the _npm Public Registry_.
22 |
23 | - _npm_ publishes **Documentation** for the _CLI_, _npm Orgs_, and _npm Enterprise_ at https://docs.npmjs.com/.
24 |
25 | - This is an agreement for _npm_ to provide either _npm Orgs_ or _npm Enterprise_ for _Customer_, as **Customer's Solution**.
26 |
27 | - This agreement governs use of _Customer's Solution_. _Customer_'s use of the _npm Public Registry_, _npm Website_, and any other _npm_ services is governed by the terms of use for those offerings.
28 |
29 | ## npm's Obligations
30 |
31 | ### Host Customer's Solution
32 |
33 | _npm_ agrees to provide _Customer's Solution_ so that _Customer Personnel_ can use the _Feature Set_ via the Internet, with computers and software that meet the requirements set out in the _Documentation_.
34 |
35 | ### Isolate npm Enterprise
36 |
37 | If _Customer's Solution_ is _npm Enterprise_, _npm_ agrees to run _npm Enterprise_ for _Customer_ in its own, isolated virtual environment, separated from environments used to run _npm Enterprise_ for other customers.
38 |
39 | ### Provide a Scope
40 |
41 | If _Customer's Solution_ is _npm Orgs_, _npm_ agrees to provide _Customer_ its own, uniquely named _Scope_ for _Packages_ on _npm Public Registry_ infrastructure. If _Customer_ received the _Quote_ and selected a _Scope_ name through the _npm Website_, that will be the name of _Customer_'s _Scope_. Otherwise, _npm_ and _Customer_ will collaborate to identify an available _Scope_ name for _Customer_.
42 |
43 | ### Maintain Customer's Solution
44 |
45 | _npm_ agrees to update _Customer's Solution_ with software updates and fixes made generally available to other customers paying for the same solution. Updates and fixes do not include new or preexisting add-on features and complimentary services for which _npm_ charges additional fees.
46 |
47 | ### Allow High-Volume Use of the npm Public Registry
48 |
49 | While this agreement continues and _Customer_ has paid all fees as required by this agreement, _npm_ waives the rule of its terms of service for the _npm Public Registry_ that prohibits _Customer_ from making an unreasonable volume of requests. _Customer_ may make up to 500,000,000 requests to the _npm Public Registry_ in any rolling thirty-calendar-day period, through _Customer's Solution_ or otherwise. This agreement does not change the terms of service for the _npm Public Registry_ in any other way.
50 |
51 | ### Publish Documentation
52 |
53 | _npm_ agrees to publish the _Documentation_ so _Customer_ personnel can read it on the World Wide Web.
54 |
55 | ### Maintain the CLI
56 |
57 | _npm_ agrees to publish a version of the _CLI_ compatible with _Customer's Solution_, free of charge, on _Open-Source Terms_.
58 |
59 | ### List Customer as a Supporter
60 |
61 | If the _Quote_ specifies a promotional tier, then _npm_ agrees to display _Customer_'s logotype with those of other sponsors of the same tier on the _npm Website_.
62 |
63 | ### Keep Customer Data Confidential
64 |
65 | _npm_ agrees not to access, use, or disclose _Customer Data_ without _Permission_, except:
66 |
67 | - as needed to host _Customer's Solution_
68 |
69 | - to monitor use of _Customer's Solution_ to prevent, detect, and mitigate breach of this agreement
70 |
71 | - to improve _Customer's Solution_ and the efficiency with which _npm_ provides it, to _Customer_ and others
72 |
73 | - to respond to _Technical Support Requests_
74 |
75 | ### Take Security Precautions
76 |
77 | _npm_ agrees to take industry-standard security precautions to defend _Customer's Solution_ from malicious technical attack and _Data Breach_. _npm_ does not guarantee that _Customer's Solution_ will be completely free of software bugs or configuration errors affecting security, or completely secure from all possible technical attack.
78 |
79 | ### Provide Technical Support
80 |
81 | #### Technical Support
82 |
83 | _npm_ agrees to task _npm_ **Support Personnel** with responding to **Technical Support Requests** from _Customer Personnel_. _Technical Support Requests_ must be opened at https://npmjs.com/support/.
84 |
85 | #### Scope of Technical Support
86 |
87 | _npm_ agrees to task _Support Personnel_ with diagnosing and resolving _Technical Support Requests_ related to configuring standard features of _Customer's Solution_ per the _Documentation_, use of the _CLI_ with _Customer's Solution_, downtime or software errors encountered when using _Customer's Solution_, and threats of malicious technical attack or _Data Breach_.
88 |
89 | #### Support Request Triage
90 |
91 | - **Critical Support Requests** are _Technical Support Requests_ that report that:
92 |
93 | - Systems providing _Customer's Solution_ are down or unresponsive.
94 |
95 | - _Users_ cannot download from or publish to _Customer's Solution_.
96 |
97 | - _Customer's Solution_ is under imminent threat of malicious technical attack or _Data Breach_.
98 |
99 | - All other _Technical Support Requests_ are **Regular Support Requests**.
100 |
101 | #### Technical Support Responsiveness
102 |
103 | ##### Support Offerings
104 |
105 | - If _Customer's Solution_ is _npm Enterprise_, then _npm_ agrees to provide _Premium Support_. _npm_ does not offer _npm Enterprise_ with _Basic Support_.
106 |
107 | - If _Customer's Solution_ is _npm Orgs_, then _npm_'s support commitment depends on the _Quote_. If the _Quote_ specifies _Premium Support_, then _npm_ agrees to provide _Premium Support_. Otherwise, by default, _npm_ agrees to provide _Basic Support_.
108 |
109 | ##### Premium Support
110 |
111 | **Premium Support** means that _npm_ will:
112 |
113 | - Respond to _Critical Support Requests_ within three _Business Hours_, and update on status every two Business Hours.
114 |
115 | - Respond to _Regular Support Requests_ within eight _Business Hours_.
116 |
117 | ##### Basic Support
118 |
119 | **Basic Support** means that _npm_ will:
120 |
121 | - Respond to _Critical Support Requests_ within eight _Business Hours_, and update on status every Business Day.
122 |
123 | - Respond to _Regular Support Requests_ within sixteen _Business Hours_.
124 |
125 | #### Technical Support Escalation
126 |
127 | _npm_ agrees to task _Support Personnel_ with promptly escalating _Technical Support Requests_ that _Support Personnel_ cannot resolve independently to _npm_ engineering personnel responsible for _Customer's Solution_. In general, _Support Personnel_ will remain the primary point of contact for _Customer Personnel_, coordinate with _npm_ engineering personnel, and relay questions, advice, and progress to _Customer Personnel_. Where appropriate, _Support Personnel_ may connect _Customer Personnel_ to _npm_ engineering personnel directly.
128 |
129 | #### Refund Fees for Unresponsive Technical Support
130 |
131 | If _npm_ fails to meet [Technical Support Responsiveness](#technical-support-responsiveness) for three _Billing Periods_ in a row, and _Customer_ ends this agreement at the end of those _Billing Periods_, citing poor support responsiveness, _npm_ agrees to refund any _Prepaid Fees_, as well as 5% of all fees that _Customer_ paid for the three _Billing Periods_.
132 |
133 | ### Honor any Uptime Commitment
134 |
135 | If _npm_ makes an **Uptime Commitment** in the _Quote_:
136 |
137 | #### Service-Level Agreement
138 |
139 | So long as _Customer's Solution_ remains within the _Use Limits_ and customer abides by [Follow Rules About Use](#follow-rules-about-use) and [Enforce Rules About Use](#enforce-rules-about-use), _npm_ agrees to host _Customer's Solution_ with _Uptime_ no less than the _Uptime Commitment_.
140 |
141 | #### Give Credits for Low Uptime
142 |
143 | _npm_ agrees to credit _Customer_'s account on _Notice_ and verification that _npm_ failed to provide service according to [Service-Level Agreement](#service-level-agreement) in the current _Billing Period_ or any of the three prior _Billing Periods_:
144 |
145 | - 5% of _Service Fees_ for any _Billing Period_ with _Uptime_ between zero and one percentage point less than the _Uptime Commitment_
146 |
147 | - 10% of _Service Fees_ for any _Billing Period_ with _Uptime_ between one and two percentage points less than the _Uptime Commitment_
148 |
149 | - 25% of _Service Fees_ for any _Billing Period_ with _Uptime_ at or below three percentage points less than the _Uptime Commitment_
150 |
151 | #### Apply Credits for Low Uptime
152 |
153 | _npm_ agrees to apply any credits under [Give Credits for Low Uptime](#give-credits-for-low-uptime) against _Customer_'s obligations to pay fees as soon as possible. _npm_ does not agree to refund any credits.
154 |
155 | #### Refund Fees for Low Uptime
156 |
157 | If _npm_ credits _Customer_'s account under [Give Credits for Low Uptime](#give-credits-for-low-uptime) for three _Billing Periods_ in a row, and _Customer_ ends this agreement at the end of those _Billing Periods_, citing low _Uptime_, _npm_ agrees to refund all _Service Fees_ that _Customer_ paid for the three _Billing Periods_, as well as any _Prepaid Fees_.
158 |
159 | ### Use Responsible Subcontractors
160 |
161 | _npm_ agrees to take responsibility for any breach of [Keep Customer Data Confidential](#keep-customer-data-confidential), [Take Security Precautions](#take-security-precautions), [Prepare for Disasters](#prepare-for-disasters), or [Keep Malicious Code Out of the Software](#keep-malicious-code-out-of-the-software) by _npm_ employees and contractors, as if _npm_ breached itself.
162 |
163 | ### Refund Prepaid Fees for Removed Features
164 |
165 | If _npm_ changes or removes features from _Customer's Solution_, substantially reducing how useful _Customer's Solution_ is to _Customer_, and _Customer_ ends this agreement in the same _Billing Period_ as the change or the next _Billing Period_, citing the change, _npm_ agrees to refund any _Prepaid Fees_.
166 |
167 | ### Keep Malicious Code Out of the Software
168 |
169 | _npm_ agrees to take industry-standard precautions to keep the software that _npm_ runs to provide _Customer's Solution_ free of computer viruses, Trojans, worms, and other malicious code.
170 |
171 | ### Prepare for Disasters
172 |
173 | _npm_ agrees to:
174 |
175 | - adopt, maintain, and periodically review a written plan to recover from any _Disaster_ affecting the systems used to provide _Customer's Solution_ or the integrity of _Customer Data_
176 |
177 | - share the plan with relevant _npm_ personnel
178 |
179 | - follow the plan if a _Disaster_ happens
180 |
181 | ### Protect Customer from Liability
182 |
183 | So long as _Customer_ has paid all fees as required by this agreement:
184 |
185 | #### Indemnify Customer
186 |
187 | Subject to [How to Receive Indemnification](#how-to-receive-indemnification), _npm_ agrees to give _Customer_ _Indemnification_ for _Legal Claims_ by others alleging that _Permitted Use of Customer's Solution_ infringes any copyright, trademark, or trade secret right, or breaks any law.
188 |
189 | #### Provide Assurance About Patents
190 |
191 | As of the day _npm_ signs this agreement, _npm_ employees are not aware of any patent that _npm_ would infringe by selling _Customer's Solution_ under this agreement, or that _Customer_ would infringe by _Permitted Use of Customer's Solution_.
192 |
193 | #### Give Notice of Infringement or Noncompliance Claims
194 |
195 | _npm_ agrees to give _Customer_ prompt _Notice_ of any _Infringement or Noncompliance Claim_.
196 |
197 | ### Protect Customer After this Agreement Ends
198 |
199 | [Keep Customer Data Confidential](#keep-customer-data-confidential) and [Indemnify Customer](#indemnify-customer) will continue after this agreement ends.
200 |
201 | ## Customer's Obligations
202 |
203 | ### Pay Fees
204 |
205 | _Customer_ agrees to pay all **Service Fees** for _Customer's Solution_ in advance, for each _Billing Period_, according to the _Quote_. _Customer_ agrees to pay all tax on fees, except tax _npm_ owes on income.
206 |
207 | ### Handle Tax Withholding
208 |
209 | If _Customer_ is located outside the United States, and local law requires _Customer_ to withhold taxes on fees paid under this agreement:
210 |
211 | - _Customer_ agrees to make the required tax withholding payments for _npm_ by deducting the right amounts from payments to _npm_ and paying them to the proper tax authorities.
212 |
213 | - _Customer_ agrees to increase the amount of each payment made under this agreement to offset withholding, so that _npm_ receives the full amount owed according to the _Quote_.
214 |
215 | - _Customer_ agrees to provide _npm_ relevant official tax documentation and tax receipts showing that withholding was required, and that proper withholding payment has been made, as soon as possible after making any withholding payment.
216 |
217 | ### Follow Rules About Use
218 |
219 | _Customer_ agrees not to:
220 |
221 | - infringe anyone else's _Intellectual Property Right_ using _Customer's Solution_
222 |
223 | - violate anyone else's rights using _Customer's Solution_
224 |
225 | - breach any agreement using _Customer's Solution_
226 |
227 | - break the law using _Customer's Solution_
228 |
229 | - reverse engineer _Customer's Solution_
230 |
231 | - circumvent any access controls or other limits of _Customer's Solution_
232 |
233 | - circumvent code in _Customer's Solution_ that monitors, reports on, or enforces _Use Limits_
234 |
235 | - strain the technical infrastructure of _Customer's Solution_ with an unreasonable volume of requests, or requests designed to impose an unreasonable load on IT systems underlying _Customer's Solution_
236 |
237 | - license, sell, lease, or otherwise let anyone but _Customer Personnel_ use _Customer's Solution_
238 |
239 | - furnish _Customer Data_ in any way that infringes any _Intellectual Property Right_, breaks any law, or breaches any other agreement
240 |
241 | - furnish _Customer Data_ subject to _Special Data Regulations_
242 |
243 | - reuse any one set of _Access Credentials_ for multiple _Users_
244 |
245 | - remove proprietary notices from _Customer's Solution_ or the _Documentation_
246 |
247 | - use _Customer's Solution_ to assess whether or how to create a competitive offering, or to assess the competitive strengths or weaknesses of _Customer's Solution_ in comparison to a current or potential _Customer_ offering
248 |
249 | - publish data about the performance of _Customer's Solution_
250 |
251 | ### Keep Access Credentials Secret and Secure
252 |
253 | _Customer_ agrees to keep _Access Credentials_ secret and secure, and to share and distribute _Access Credentials_ only as needed to use _Customer's Solution_ and services under this agreement.
254 |
255 | ### Enforce Rules About Use
256 |
257 | _Customer_ agrees to take responsibility for any breach of [Follow Rules About Use](#follow-rules-about-use) or [Keep Access Credentials Secret and Secure](#keep-access-credentials-secret-and-secure) by _Customer Personnel_, as if _Customer_ breached itself.
258 |
259 | ### Update Account Details
260 |
261 | _Customer_ agrees to use the _Account Dashboard_ to keep its contact, payment, and other administrative details complete, accurate, and up-to-date.
262 |
263 | ### Indemnify npm
264 |
265 | Subject to [How to Receive Indemnification](#how-to-receive-indemnification), _Customer_ agrees to give _npm_ _Indemnification_ from _Legal Claims_ by others based on:
266 |
267 | - breach of this agreement
268 |
269 | - _Customer Data_
270 |
271 | - _Use of Customer's Solution at Customer's Own Risk_
272 |
273 | - misuse of _Customer_'s _Access Credentials_
274 |
275 | ### Protect npm After this Agreement Ends
276 |
277 | [Pay Fees](#pay-fees) and [Indemnify npm](#indemnify-npm) will continue after this agreement ends.
278 |
279 | ## Intellectual Property
280 |
281 | ### Existing and Outside IP
282 |
283 | This agreement does not change ownership of any _Intellectual Property Right_ held by either side, before or after entering this agreement.
284 |
285 | ### Copyright License
286 |
287 | _npm_ grants _Customer_ and each of the _Users_ a _Standard License_, for any copyrights _npm_ can license, as needed to make _Permitted Use of Customer's Solution_ and read the _Documentation_.
288 |
289 | ### Patent License
290 |
291 | _npm_ grants _Customer_ and each of the _Users_ a _Standard License_, for any patents _npm_ can license, as needed to make _Permitted Use of Customer's Solution_.
292 |
293 | ### No Other Licenses
294 |
295 | Except for the licenses in [Intellectual Property](#intellectual-property), this agreement does not license or assign any _Intellectual Property Right_.
296 |
297 | ### Public Licenses
298 |
299 | The terms of this agreement are separate from, and independent of, the terms of any public licenses that _npm_ grants for the _CLI_ or other _npm_ software.
300 |
301 | ## Changes
302 |
303 | ### Changes Customer May Make
304 |
305 | Subject to [How to Make Changes](#how-to-make-changes):
306 |
307 | - _Customer_ may end this agreement at any time.
308 |
309 | - If the _Quote_ specifies a way to calculate fees for different _Use Limits_, _Customer_ may change its _Use Limits_ within the limits specified in the _Quote_ at any time. _Customer_ changes to _Use Limits_ take effect as soon as _Customer_ pays any added fees.
310 |
311 | - _Customer_ may grant and revoke access to _Customer's Solution_ to _Users_' _npm_ accounts within _Customer_'s _Use Limits_.
312 |
313 | ### Changes npm May Make
314 |
315 | Subject to [How to Make Changes](#how-to-make-changes):
316 |
317 | - _npm_ may end this agreement on the next date it would otherwise renew by giving _Notice_ at least one month in advance.
318 |
319 | - _npm_ may end this agreement immediately if _Customer_ breaches this agreement and fails to cure the breach within seven calendar days of _Notice_.
320 |
321 | - _npm_ may add, remove, and change software features of _Customer's Solution_.
322 |
323 | - _npm_ may change the _Documentation_.
324 |
325 | - _npm_ may take any of these steps in response to an _Infringement or Noncompliance Claim_:
326 |
327 | - _npm_ may upgrade _Customer's Solution_ so that _Permitted Use of Customer's Solution_ will no longer infringe or break the law.
328 |
329 | - _npm_ may change how it provides _Customer's Solution_ so that use of _Customer's Solution_ will no longer infringe or break the law.
330 |
331 | - If the problem is infringement, _npm_ may get a license for _Customer_ so that use of _Customer's Solution_ will no longer infringe.
332 |
333 | - If the problem is illegality, _npm_ may get the government approvals, licenses, or other requirements needed to abide by the law.
334 |
335 | - _npm_ may end this agreement and refund any _Prepaid Fees_.
336 |
337 | ### Renewal
338 |
339 | This agreement begins on the date in the _Quote_ and continues for the initial term in the _Quote_. If the _Quote_ does not specify an initial term, this agreement continues for an initial term of one _Billing Period_. Unless the _Quote_ says otherwise, this agreement renews automatically for consecutive _Billing Periods_ after the initial term.
340 |
341 | ## Liability
342 |
343 | ### Agreed Legal Remedies
344 |
345 | - _Customer_'s only legal remedy for failures to meet [Technical Support Responsiveness](#technical-support-responsiveness) will be credits under [Refund Fees for Unresponsive Technical Support](#refund-fees-for-unresponsive-technical-support).
346 |
347 | - _Customer_'s only legal remedies for failures to meet [Honor any Uptime Commitment](#honor-any-uptime-commitment) will be credits under [Apply Credits for Low Uptime](#apply-credits-for-low-uptime) and refunds under [Refund Fees for Low Uptime](#refund-fees-for-low-uptime).
348 |
349 | - _Customer_'s only legal remedy for changes to the software features of _Customer's Solution_ will be refunds under [Refund Prepaid Fees for Removed Features](#refund-prepaid-fees-for-removed-features).
350 |
351 | - Each side's only legal remedy for _Legal Claims_ covered by _Indemnification_ will be _Indemnification_.
352 |
353 | ### Valid Excuses
354 |
355 | Neither side will be liable for any failure or delay in meeting any obligation under this agreement caused by a _Disaster_, failure of the other side or its personnel to meet their obligations under this agreement, or actions done or delayed on specific written request of the other side.
356 |
357 | ### Only Express Warranties
358 |
359 | ***Except for its obligations in [npm's Obligations](#npms-obligations), _npm_ provides _Customer's Solution_ "as is", without any warranty at all. _npm_ disclaims any warranties the law might otherwise imply, like warranties of merchantability, fitness for any particular purpose, title, or noninfringement.***
360 |
361 | ### Limited Damages
362 |
363 | #### Damages Limit
364 |
365 | ***Subject to [Damages Limit Exceptions](#damages-limit-exceptions), neither side's total liability under this agreement will exceed the amount of fees _npm_ received from _Customer_ during the twelve months before the first claim is filed. This limit applies even if the side liable is advised that the other side may suffer damages.***
366 |
367 | #### Damages Exclusion
368 |
369 | ***Neither side will be liable for breach-of-contract damages they could not have reasonably foreseen when entering this agreement.***
370 |
371 | #### Damages Limit Exceptions
372 |
373 | [Limited Damages](#limited-damages) does not limit damages for breach of:
374 |
375 | - [Keep Customer Data Confidential](#keep-customer-data-confidential)
376 |
377 | - [Provide Assurance About Patents](#provide-assurance-about-patents)
378 |
379 | - [Indemnify Customer](#indemnify-customer)
380 |
381 | - [Pay Fees](#pay-fees)
382 |
383 | - [Follow Rules About Use](#follow-rules-about-use)
384 |
385 | - [Enforce Rules About Use](#enforce-rules-about-use)
386 |
387 | - [Indemnify npm](#indemnify-npm)
388 |
389 | ## Process
390 |
391 | ### How to Receive Indemnification
392 |
393 | Both sides agree that to receive _Indemnification_ under this agreement, they must give _Notice_ of any covered _Legal Claims_ quickly, allow the other side to control investigation, defense, and settlement, and cooperate with those efforts. Both sides agree that if they fail to give _Notice_ of any covered _Legal Claims_ quickly, _Indemnification_ will not cover amounts that could have been defended against or mitigated if _Notice_ had been given quickly. Both sides agree that if they take control of the defense and settlement of any _Legal Claims_ covered by _Indemnification_, they will not agree to any settlements that admit fault for, or impose obligations on, the other side without their _Permission_.
394 |
395 | ### How to Give Notice
396 |
397 | Both sides agree that to give _Notice_ under this agreement, the side giving _Notice_ must send by e-mail to the address the recipient provided on entering into this agreement, to _npm_ at legal@npmjs.com, or to a different address given later for _Notice_ going forward. If either side finds that e-mail can't be delivered to the address given, it may give _Notice_ by registered mail to the address on file for the recipient with the state under whose laws it is organized.
398 |
399 | ### How to Make Changes
400 |
401 | _Customer_ agrees to make changes to this agreement through the account dashboard of _Customer's Solution_ whenever possible. If the account dashboard does not provide a user interface for making a particular change, or the account dashboard is not available or malfunctions, _Customer_ may make its change by _Notice_ to _npm_. _npm_ agrees to make changes to this agreement by _Notice_.
402 |
403 | ## General Contract Terms
404 |
405 | ### Governing Law
406 |
407 | California law will govern this agreement.
408 |
409 | ### Government Procurement
410 |
411 | _npm Orgs_ and _npm Enterprise_ are commercial computer software, and the _Documentation_ is commercial computer software documentation. All were developed exclusively at private expense. If _Customer_'s procurement is subject to Federal Acquisition Regulation 12.212 or Defense Federal Acquisition Regulation Supplement 227.7202, _Customer_'s rights will be only those stated in this agreement.
412 |
413 | ### Publicity
414 |
415 | _npm_ may identify _Customer_ as an _npm_ customer to current and potential customers, and may list _Customer_'s business name and logotype in promotional materials, such as _npm_'s websites.
416 |
417 | ### Whole Agreement
418 |
419 | Both parties intend these terms, together with the _Quote_, as the final, complete, and only expression of their terms about use of _Customer's Solution_. However, this agreement does not affect the terms of any separate nondisclosure or confidentiality agreement _npm_ and _Customer_ may have.
420 |
421 | ### Enforcement
422 |
423 | Only _npm_ and _Customer_ may enforce this agreement.
424 |
425 | ### Assignment
426 |
427 | Each party may assign all its rights, licenses, and obligations under this agreement, as a whole, to a new legal entity created to change its jurisdiction or legal form of organization, or to an entity that acquires substantially all of its assets or enough securities to control its management. Otherwise, each party needs _Permission_ to assign any right, license, or obligation under this agreement. Attempts to assign against this agreement will have no legal effect.
428 |
429 | ### Lawsuits
430 |
431 | #### Forum
432 |
433 | Both sides agree to bring any _Lawsuit_ in the state and federal courts sitting in the cities of San Francisco and Oakland, California \(the **Designated Courts**\).
434 |
435 | #### Exclusive Jurisdiction
436 |
437 | Both sides consent to the exclusive jurisdiction of the _Designated Courts_. Both sides may enforce judgments from the _Designated Courts_ in other jurisdictions.
438 |
439 | #### Inconvenient Forum Waiver
440 |
441 | Both sides waive any objection to venue for any _Lawsuit_ in the _Designated Courts_ and any claim that the other brought any _Lawsuit_ in the _Designated Courts_ in an inconvenient forum.
442 |
443 | ## Definitions
444 |
445 | - **Access Credentials** means a user name and password, license key, or other secret that affords use of _Customer's Solution_.
446 |
447 | - **Account Dashboard** means the account management section of the _npm Website_.
448 |
449 | - **Billing Period** means a successive, month-long period. The first _Billing Period_ starts on the date of this agreement. The plural is **Billing Periods**.
450 |
451 | - **Business Day** means a day other than a Saturday, Sunday, or a day when commercial banks in San Francisco, California typically stay closed. The plural is **Business Days**.
452 |
453 | - **Business Hour** means an hour between 0900 and 1800 Pacific Time on a _Business Day_. The plural is **Business Hours**.
454 |
455 | - **Customer Data** means data that:
456 |
457 | - _Users_ furnish to _Customer's Solution_, such as by entering it or configuring _Customer's Solution_ to gather or receive it, if doing so doesn't breach this agreement
458 |
459 | - _Customer's Solution_ collects about _Users_ and how they use _Customer's Solution_
460 |
461 | - _Customer Personnel_ furnish to _Support Personnel_ via _Technical Support Requests_
462 |
463 | - **Customer Personnel** means _Customer_'s employees and each _Customer_ subsidiary's employees, as well as individuals providing services to _Customer_ as independent contractors.
464 |
465 | - **Data Breach** means malicious technical compromise, unauthorized access to, or unauthorized disclosure of _Customer Data_.
466 |
467 | - **Disaster** means:
468 |
469 | - fire, flood, earthquake, and other natural disasters
470 |
471 | - declared and undeclared war, act of terrorism, sabotage, riot, civil disorder, rebellion, and revolution
472 |
473 | - extraordinary malfunction of Internet infrastructure, data centers, or communications utilities
474 |
475 | - malicious technical attack on systems providing _Customer's Solution_
476 |
477 | - government action taken in response to any of these
478 |
479 | - **Feature Set** means all software features of _Customer's Solution_ described in the _Documentation_ on the date of this agreement.
480 |
481 | - **Indemnification** means indemnity and holding harmless for all liability, expenses, damages, and costs.
482 |
483 | - **Infringement or Noncompliance Claim** means a court order against use of _Customer's Solution_ based on a claim that it infringes any _Intellectual Property Right_, or breaks any law, or a threat of that kind of claim that _npm_ believes credible.
484 |
485 | - **Intellectual Property Right** means any patent, copyright, trademark, or trade secret right, or any other legal right typically referred to as an intellectual property right.
486 |
487 | - **Lawsuit** means a lawsuit brought by one side against the other, related to this agreement or _Customer's Solution_.
488 |
489 | - **Legal Claims** means claims, demands, lawsuits, and other legal actions.
490 |
491 | - **Notice** means a written communication from one side to the other per [How to Give Notice](#how-to-give-notice).
492 |
493 | - **Open-Source Terms** means the terms of a form license approved by the Open Source Initiative.
494 |
495 | - **Permission** means prior _Notice_ of consent.
496 |
497 | - **Permitted Use of Customer's Solution** means _Customer_'s use of _Customer's Solution_, other than _Use of Customer's Solution at Customer's Own Risk_.
498 |
499 | - **Prepaid Fees** means fees _Customer_ prepaid for _Billing Periods_ yet to begin.
500 |
501 | - **Special Data Regulations** means laws and regulations that impose special requirements on the collection, storage, processing, or transmission of particular kinds of data about individuals. The Gramm-Leach-Bliley Act, Health Insurance Portability and Accountability Act, Children's Online Privacy Protection Act, and Fair Credit Reporting Act are some _Special Data Regulations_. Laws that apply to data merely because they may identify specific individuals are not _Special Data Regulations_.
502 |
503 | - **Standard License** means a nonexclusive license during the term of this agreement, without rights to sublicense, that is conditional on payment of all fees as required by this agreement and limited by the _Use Limits_.
504 |
505 | - **Use of Customer's Solution at Customer's Own Risk** means:
506 |
507 | - use of _Customer's Solution_ in breach of this agreement
508 |
509 | - use of _Customer's Solution_ with changes, additions, or in combination with other software, systems, or data, in a way that infringes someone else's _Intellectual Property Right_ or breaks the law, if use of _Customer's Solution_ as provided, as described by the _Documentation_, would not
510 |
511 | - unauthorized use of _Customer's Solution_ with _Customer_ _Access Credentials_
512 |
513 | - **Uptime** means the percentage of wall-clock time during a _Billing Period_ when _Users_ can download from, publish to, and search _Customer's Solution_, subject to [Valid Excuses](#valid-excuses).
514 |
515 | - **Use Limits** means any numeric limits on use of _Customer's Solution_ specified in the _Quote_, such as a limit on number of _Users_.
516 |
517 | - **Users** means _Customer Personnel_ that _Customer_ configures _Customer's Solution_ to allow to:
518 |
519 | - download or publish _Packages_ to _Customer_'s _Scope_, if _Customer's Solution_ is _npm Orgs_
520 |
521 | - download or publish _Packages_ to _Customer_'s instance of _npm Enterprise_, if _Customer's Solution_ is _npm Enterprise_
522 |
--------------------------------------------------------------------------------
/archived/conduct.md:
--------------------------------------------------------------------------------
1 | # npm Code of Conduct
2 |
3 | npm exists to facilitate sharing code, by making it easy for
4 | JavaScript module developers to publish and distribute packages.
5 |
6 | npm is a piece of technology, but more importantly, it is a community.
7 |
8 | We believe that our mission is best served in an environment that is
9 | friendly, safe, and accepting; free from intimidation or harassment.
10 |
11 | Towards this end, certain behaviors and practices will not be
12 | tolerated.
13 |
14 | ## tl;dr
15 |
16 | * Be respectful.
17 | * We're here to help
18 | * Abusive behavior is never tolerated.
19 | * Data published to npm is hosted at the discretion of the service
20 | administrators, and may be removed.
21 | * Violations of this code may result in swift and permanent expulsion
22 | from the npm community.
23 |
24 | ## Scope
25 |
26 | We expect all members of the npm community, including paid and unpaid
27 | agents, administrators, users, and customers of npm, Inc., to abide by
28 | this Code of Conduct at all times in all npm community venues, online
29 | and in person, and in one-on-one communications pertaining to npm
30 | affairs.
31 |
32 | This policy covers the usage of the npm registry, as well as the npm
33 | website, npm related events, and any other services offered by or on
34 | behalf of npm, Inc. (collectively, the "Service"). It also applies to
35 | behavior in the context of the npm Open Source project communities,
36 | including but not limited to public GitHub repositories, IRC channels,
37 | social media, mailing lists, and public events.
38 |
39 | This Code of Conduct is in addition to, and does not in any way
40 | nullify or invalidate, any other terms or conditions related to use of
41 | the Service.
42 |
43 | The definitions of various subjective terms such as "discriminatory",
44 | "hateful", or "confusing" will be decided at the sole discretion of
45 | the npm abuse team.
46 |
47 | ## Friendly Harassment-Free Space
48 |
49 | We are committed to providing a friendly, safe and welcoming
50 | environment for all, regardless of gender identity, sexual
51 | orientation, ability, ethnicity, religion, age, physical
52 | appearance, body size, race, or similar personal characteristics.
53 |
54 | We ask that you please respect that people have differences of opinion
55 | regarding technical choices, and that every design or implementation
56 | choice carries a trade-off and numerous costs. There is seldom a
57 | single right answer. A difference of technology preferences is not a
58 | license to be rude.
59 |
60 | Disputes over package rights must be handled respectfully, according
61 | to the terms described in the [Disputes Policy](https://www.npmjs.com/policies/disputes).
62 | There is never a good reason to be rude over package name disputes.
63 |
64 | Any spamming, trolling, flaming, baiting, or other attention-stealing
65 | behavior is not welcome, and will not be tolerated.
66 |
67 | Harassing other users of the Service is never tolerated, whether via
68 | public or private media.
69 |
70 | Avoid using offensive or harassing package names, nicknames, or other
71 | identifiers that might detract from a friendly, safe, and welcoming
72 | environment for all.
73 |
74 | Harassment includes, but is not limited to: harmful or prejudicial
75 | verbal or written comments related to gender identity, sexual
76 | orientation, ability, ethnicity, religion, age, physical
77 | appearance, body size, race, or similar personal characteristics;
78 | inappropriate use of nudity, sexual images, and/or sexually explicit
79 | language in public spaces; threats of physical or non-physical harm;
80 | deliberate intimidation, stalking or following; harassing photography
81 | or recording; sustained disruption of talks or other events;
82 | inappropriate physical contact; and unwelcome sexual attention.
83 |
84 | ## Acceptable Use
85 |
86 | The Service administrators reserve the right to make judgment calls
87 | about what is and isn't appropriate in published packages, package names,
88 | user and organization names, and other public content. Package that
89 | violates the npm Service's
90 | [Acceptable Use](https://www.npmjs.com/policies/open-source-terms#acceptable-use)
91 | rules including its
92 | [Acceptable Content](https://www.npmjs.com/policies/open-source-terms#acceptable-use)
93 | rules will be deleted, at the discretion of npm.
94 |
95 | ## Reporting Violations of this Code of Conduct
96 |
97 | Please select the method of contact you think is most appropriate for
98 | the form of violation:
99 |
100 | * For urgent security issues, please open a ticket at