| 1 | export const apache = ( |
| 2 | copyright: string, |
| 3 | ) => ` Apache License |
| 4 | Version 2.0, January 2004 |
| 5 | http://www.apache.org/licenses/ |
| 6 | |
| 7 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION |
| 8 | |
| 9 | 1. Definitions. |
| 10 | |
| 11 | "License" shall mean the terms and conditions for use, reproduction, |
| 12 | and distribution as defined by Sections 1 through 9 of this document. |
| 13 | |
| 14 | "Licensor" shall mean the copyright owner or entity authorized by |
| 15 | the copyright owner that is granting the License. |
| 16 | |
| 17 | "Legal Entity" shall mean the union of the acting entity and all |
| 18 | other entities that control, are controlled by, or are under common |
| 19 | control with that entity. For the purposes of this definition, |
| 20 | "control" means (i) the power, direct or indirect, to cause the |
| 21 | direction or management of such entity, whether by contract or |
| 22 | otherwise, or (ii) ownership of fifty percent (50%) or more of the |
| 23 | outstanding shares, or (iii) beneficial ownership of such entity. |
| 24 | |
| 25 | "You" (or "Your") shall mean an individual or Legal Entity |
| 26 | exercising permissions granted by this License. |
| 27 | |
| 28 | "Source" form shall mean the preferred form for making modifications, |
| 29 | including but not limited to software source code, documentation |
| 30 | source, and configuration files. |
| 31 | |
| 32 | "Object" form shall mean any form resulting from mechanical |
| 33 | transformation or translation of a Source form, including but |
| 34 | not limited to compiled object code, generated documentation, |
| 35 | and conversions to other media types. |
| 36 | |
| 37 | "Work" shall mean the work of authorship, whether in Source or |
| 38 | Object form, made available under the License, as indicated by a |
| 39 | copyright notice that is included in or attached to the work |
| 40 | (an example is provided in the Appendix below). |
| 41 | |
| 42 | "Derivative Works" shall mean any work, whether in Source or Object |
| 43 | form, that is based on (or derived from) the Work and for which the |
| 44 | editorial revisions, annotations, elaborations, or other modifications |
| 45 | represent, as a whole, an original work of authorship. For the purposes |
| 46 | of this License, Derivative Works shall not include works that remain |
| 47 | separable from, or merely link (or bind by name) to the interfaces of, |
| 48 | the Work and Derivative Works thereof. |
| 49 | |
| 50 | "Contribution" shall mean any work of authorship, including |
| 51 | the original version of the Work and any modifications or additions |
| 52 | to that Work or Derivative Works thereof, that is intentionally |
| 53 | submitted to Licensor for inclusion in the Work by the copyright owner |
| 54 | or by an individual or Legal Entity authorized to submit on behalf of |
| 55 | the copyright owner. For the purposes of this definition, "submitted" |
| 56 | means any form of electronic, verbal, or written communication sent |
| 57 | to the Licensor or its representatives, including but not limited to |
| 58 | communication on electronic mailing lists, source code control systems, |
| 59 | and issue tracking systems that are managed by, or on behalf of, the |
| 60 | Licensor for the purpose of discussing and improving the Work, but |