├── .editorconfig ├── .github └── workflows │ ├── bb.yml │ └── main.yml ├── .gitignore ├── .npmrc ├── .prettierignore ├── .remarkignore ├── index.js ├── lib ├── find-license.default.js ├── find-license.node.js ├── find-nearest-package.default.js ├── find-nearest-package.node.js └── index.js ├── license ├── package.json ├── readme.md ├── test ├── fixtures │ ├── definitions-ignore-false │ │ ├── config.json │ │ ├── output.md │ │ ├── package.json │ │ └── readme.md │ ├── definitions │ │ ├── output.md │ │ ├── package.json │ │ └── readme.md │ ├── fail-missing-required-license-in-settings │ │ └── readme.md │ ├── fail-missing-required-license │ │ ├── package.json │ │ └── readme.md │ ├── fail-missing-required-name-in-settings │ │ ├── package.json │ │ └── readme.md │ ├── fail-missing-required-name-in │ │ ├── package.json │ │ └── readme.md │ ├── fail-missing-required-name │ │ ├── package.json │ │ └── readme.md │ ├── fail-unexpected-end-of-json │ │ └── readme.md │ ├── file-licence │ │ ├── LICENCE │ │ ├── output.md │ │ ├── package.json │ │ └── readme.md │ ├── file-license-deep │ │ ├── config.json │ │ ├── licenses │ │ │ ├── license-csi │ │ │ └── license-mix │ │ ├── output.md │ │ └── readme.md │ ├── file-license-md │ │ ├── license.md │ │ ├── output.md │ │ ├── package.json │ │ └── readme.md │ ├── file-license │ │ ├── LICENSE │ │ ├── output.md │ │ ├── package.json │ │ └── readme.md │ ├── image-with-alt │ │ ├── output.md │ │ ├── package.json │ │ └── readme.md │ ├── license-file-with-license-heading │ │ ├── config.json │ │ ├── output.md │ │ └── readme.md │ ├── link-with-title │ │ ├── output.md │ │ ├── package.json │ │ └── readme.md │ ├── match-heading-regex │ │ ├── config.js │ │ ├── output.md │ │ └── readme.md │ ├── match-heading-string │ │ ├── config.json │ │ ├── output.md │ │ └── readme.md │ ├── multiple-headings │ │ ├── output.md │ │ ├── package.json │ │ └── readme.md │ ├── no-heading │ │ ├── output.md │ │ ├── package.json │ │ └── readme.md │ ├── normal-author-object │ │ ├── output.md │ │ ├── package.json │ │ └── readme.md │ ├── normal-licence-spdx │ │ ├── output.md │ │ ├── package.json │ │ └── readme.md │ ├── normal-licence │ │ ├── output.md │ │ ├── package.json │ │ └── readme.md │ ├── normal-url-and-email │ │ ├── output.md │ │ ├── package.json │ │ └── readme.md │ ├── normal-url-author-object │ │ ├── output.md │ │ ├── package.json │ │ └── readme.md │ ├── normal-url-no-protocol │ │ ├── output.md │ │ ├── package.json │ │ └── readme.md │ ├── normal-url │ │ ├── output.md │ │ ├── package.json │ │ └── readme.md │ ├── normal │ │ ├── output.md │ │ ├── package.json │ │ └── readme.md │ ├── other-headings │ │ ├── output.md │ │ ├── package.json │ │ └── readme.md │ ├── settings-precedence │ │ ├── config.json │ │ ├── output.md │ │ ├── package.json │ │ └── readme.md │ └── settings │ │ ├── config.json │ │ ├── output.md │ │ ├── package.json │ │ └── readme.md └── index.js └── tsconfig.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/bb.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/.github/workflows/bb.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | ignore-scripts=true 2 | package-lock=false 3 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | coverage/ 2 | *.md 3 | -------------------------------------------------------------------------------- /.remarkignore: -------------------------------------------------------------------------------- 1 | /test/fixtures/ 2 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/index.js -------------------------------------------------------------------------------- /lib/find-license.default.js: -------------------------------------------------------------------------------- 1 | export async function findLicense() {} 2 | -------------------------------------------------------------------------------- /lib/find-license.node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/lib/find-license.node.js -------------------------------------------------------------------------------- /lib/find-nearest-package.default.js: -------------------------------------------------------------------------------- 1 | export async function findNearestPackage() {} 2 | -------------------------------------------------------------------------------- /lib/find-nearest-package.node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/lib/find-nearest-package.node.js -------------------------------------------------------------------------------- /lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/lib/index.js -------------------------------------------------------------------------------- /license: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/license -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/package.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/readme.md -------------------------------------------------------------------------------- /test/fixtures/definitions-ignore-false/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "ignoreFinalDefinitions": false 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/definitions-ignore-false/output.md: -------------------------------------------------------------------------------- 1 | # [PI][] 2 | 3 | ## License 4 | 5 | MIX © Alpha Bravo 6 | -------------------------------------------------------------------------------- /test/fixtures/definitions-ignore-false/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/definitions-ignore-false/package.json -------------------------------------------------------------------------------- /test/fixtures/definitions-ignore-false/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/definitions-ignore-false/readme.md -------------------------------------------------------------------------------- /test/fixtures/definitions/output.md: -------------------------------------------------------------------------------- 1 | # [PI][] 2 | 3 | ## License 4 | 5 | MIX © Alpha Bravo 6 | 7 | [pi]: https://en.wikipedia.org/wiki/Pi 8 | -------------------------------------------------------------------------------- /test/fixtures/definitions/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/definitions/package.json -------------------------------------------------------------------------------- /test/fixtures/definitions/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/definitions/readme.md -------------------------------------------------------------------------------- /test/fixtures/fail-missing-required-license-in-settings/readme.md: -------------------------------------------------------------------------------- 1 | # Pi 2 | 3 | ## License 4 | -------------------------------------------------------------------------------- /test/fixtures/fail-missing-required-license/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": "Alpha Bravo" 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/fail-missing-required-license/readme.md: -------------------------------------------------------------------------------- 1 | # Pi 2 | 3 | ## ![License](some-image.svg) 4 | -------------------------------------------------------------------------------- /test/fixtures/fail-missing-required-name-in-settings/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/fail-missing-required-name-in-settings/package.json -------------------------------------------------------------------------------- /test/fixtures/fail-missing-required-name-in-settings/readme.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## License 4 | -------------------------------------------------------------------------------- /test/fixtures/fail-missing-required-name-in/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/fail-missing-required-name-in/package.json -------------------------------------------------------------------------------- /test/fixtures/fail-missing-required-name-in/readme.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## License 4 | -------------------------------------------------------------------------------- /test/fixtures/fail-missing-required-name/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "license": "MIX" 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/fail-missing-required-name/readme.md: -------------------------------------------------------------------------------- 1 | # Pi 2 | 3 | ## ![License](some-image.svg) 4 | -------------------------------------------------------------------------------- /test/fixtures/fail-unexpected-end-of-json/readme.md: -------------------------------------------------------------------------------- 1 | # Pi 2 | 3 | ## License 4 | -------------------------------------------------------------------------------- /test/fixtures/file-licence/LICENCE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/file-licence/output.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## License 4 | 5 | [MIX](LICENCE) © Alpha Bravo 6 | -------------------------------------------------------------------------------- /test/fixtures/file-licence/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/file-licence/package.json -------------------------------------------------------------------------------- /test/fixtures/file-licence/readme.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## License 4 | -------------------------------------------------------------------------------- /test/fixtures/file-license-deep/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/file-license-deep/config.json -------------------------------------------------------------------------------- /test/fixtures/file-license-deep/licenses/license-csi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/file-license-deep/licenses/license-mix: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/file-license-deep/output.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/file-license-deep/output.md -------------------------------------------------------------------------------- /test/fixtures/file-license-deep/readme.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## License 4 | -------------------------------------------------------------------------------- /test/fixtures/file-license-md/license.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/file-license-md/output.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/file-license-md/output.md -------------------------------------------------------------------------------- /test/fixtures/file-license-md/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/file-license-md/package.json -------------------------------------------------------------------------------- /test/fixtures/file-license-md/readme.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## License 4 | -------------------------------------------------------------------------------- /test/fixtures/file-license/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/file-license/output.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## License 4 | 5 | [MIT](LICENSE) © Alpha Bravo 6 | -------------------------------------------------------------------------------- /test/fixtures/file-license/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/file-license/package.json -------------------------------------------------------------------------------- /test/fixtures/file-license/readme.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## License 4 | -------------------------------------------------------------------------------- /test/fixtures/image-with-alt/output.md: -------------------------------------------------------------------------------- 1 | # Pi 2 | 3 | ## ![License](some-image.svg) 4 | 5 | MIX © Alpha Bravo 6 | -------------------------------------------------------------------------------- /test/fixtures/image-with-alt/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/image-with-alt/package.json -------------------------------------------------------------------------------- /test/fixtures/image-with-alt/readme.md: -------------------------------------------------------------------------------- 1 | # Pi 2 | 3 | ## ![License](some-image.svg) 4 | -------------------------------------------------------------------------------- /test/fixtures/license-file-with-license-heading/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/license-file-with-license-heading/config.json -------------------------------------------------------------------------------- /test/fixtures/license-file-with-license-heading/output.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/license-file-with-license-heading/output.md -------------------------------------------------------------------------------- /test/fixtures/license-file-with-license-heading/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/license-file-with-license-heading/readme.md -------------------------------------------------------------------------------- /test/fixtures/link-with-title/output.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## [](some-image.svg "License") 4 | -------------------------------------------------------------------------------- /test/fixtures/link-with-title/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/link-with-title/package.json -------------------------------------------------------------------------------- /test/fixtures/link-with-title/readme.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## [](some-image.svg "License") 4 | -------------------------------------------------------------------------------- /test/fixtures/match-heading-regex/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/match-heading-regex/config.js -------------------------------------------------------------------------------- /test/fixtures/match-heading-regex/output.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## Lizenz 4 | 5 | MIX © Alpha Bravo 6 | -------------------------------------------------------------------------------- /test/fixtures/match-heading-regex/readme.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## Lizenz 4 | -------------------------------------------------------------------------------- /test/fixtures/match-heading-string/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/match-heading-string/config.json -------------------------------------------------------------------------------- /test/fixtures/match-heading-string/output.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## Lizenz 4 | 5 | MIX © Alpha Bravo 6 | -------------------------------------------------------------------------------- /test/fixtures/match-heading-string/readme.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## Lizenz 4 | -------------------------------------------------------------------------------- /test/fixtures/multiple-headings/output.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/multiple-headings/output.md -------------------------------------------------------------------------------- /test/fixtures/multiple-headings/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/multiple-headings/package.json -------------------------------------------------------------------------------- /test/fixtures/multiple-headings/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/multiple-headings/readme.md -------------------------------------------------------------------------------- /test/fixtures/no-heading/output.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## Foo 4 | -------------------------------------------------------------------------------- /test/fixtures/no-heading/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/no-heading/package.json -------------------------------------------------------------------------------- /test/fixtures/no-heading/readme.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## Foo 4 | -------------------------------------------------------------------------------- /test/fixtures/normal-author-object/output.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## License 4 | 5 | MIX © Alpha Bravo 6 | -------------------------------------------------------------------------------- /test/fixtures/normal-author-object/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/normal-author-object/package.json -------------------------------------------------------------------------------- /test/fixtures/normal-author-object/readme.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## License 4 | -------------------------------------------------------------------------------- /test/fixtures/normal-licence-spdx/output.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/normal-licence-spdx/output.md -------------------------------------------------------------------------------- /test/fixtures/normal-licence-spdx/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/normal-licence-spdx/package.json -------------------------------------------------------------------------------- /test/fixtures/normal-licence-spdx/readme.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## Licence 4 | -------------------------------------------------------------------------------- /test/fixtures/normal-licence/output.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## Licence 4 | 5 | MIX © Alpha Bravo 6 | -------------------------------------------------------------------------------- /test/fixtures/normal-licence/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/normal-licence/package.json -------------------------------------------------------------------------------- /test/fixtures/normal-licence/readme.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## Licence 4 | -------------------------------------------------------------------------------- /test/fixtures/normal-url-and-email/output.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## License 4 | 5 | MIX © [Alpha Bravo](https://example.com) 6 | -------------------------------------------------------------------------------- /test/fixtures/normal-url-and-email/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/normal-url-and-email/package.json -------------------------------------------------------------------------------- /test/fixtures/normal-url-and-email/readme.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## License 4 | -------------------------------------------------------------------------------- /test/fixtures/normal-url-author-object/output.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## License 4 | 5 | MIX © [Alpha Bravo](https://example.com) 6 | -------------------------------------------------------------------------------- /test/fixtures/normal-url-author-object/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/normal-url-author-object/package.json -------------------------------------------------------------------------------- /test/fixtures/normal-url-author-object/readme.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## License 4 | -------------------------------------------------------------------------------- /test/fixtures/normal-url-no-protocol/output.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## License 4 | 5 | MIX © [Alpha Bravo](http://example.com) 6 | -------------------------------------------------------------------------------- /test/fixtures/normal-url-no-protocol/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/normal-url-no-protocol/package.json -------------------------------------------------------------------------------- /test/fixtures/normal-url-no-protocol/readme.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## License 4 | -------------------------------------------------------------------------------- /test/fixtures/normal-url/output.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## License 4 | 5 | MIX © [Alpha Bravo](https://example.com) 6 | -------------------------------------------------------------------------------- /test/fixtures/normal-url/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/normal-url/package.json -------------------------------------------------------------------------------- /test/fixtures/normal-url/readme.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## License 4 | -------------------------------------------------------------------------------- /test/fixtures/normal/output.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## License 4 | 5 | MIX © Alpha Bravo 6 | -------------------------------------------------------------------------------- /test/fixtures/normal/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/normal/package.json -------------------------------------------------------------------------------- /test/fixtures/normal/readme.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## License 4 | -------------------------------------------------------------------------------- /test/fixtures/other-headings/output.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/other-headings/output.md -------------------------------------------------------------------------------- /test/fixtures/other-headings/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/other-headings/package.json -------------------------------------------------------------------------------- /test/fixtures/other-headings/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/other-headings/readme.md -------------------------------------------------------------------------------- /test/fixtures/settings-precedence/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/settings-precedence/config.json -------------------------------------------------------------------------------- /test/fixtures/settings-precedence/output.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## License 4 | 5 | [CSI](LICENSE-CSI) © [Alpha Bravo](http://example.com) 6 | -------------------------------------------------------------------------------- /test/fixtures/settings-precedence/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/settings-precedence/package.json -------------------------------------------------------------------------------- /test/fixtures/settings-precedence/readme.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## License 4 | -------------------------------------------------------------------------------- /test/fixtures/settings/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/fixtures/settings/config.json -------------------------------------------------------------------------------- /test/fixtures/settings/output.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## License 4 | 5 | [CSI](LICENSE-CSI) © [Alpha Bravo](http://example.com) 6 | -------------------------------------------------------------------------------- /test/fixtures/settings/package.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /test/fixtures/settings/readme.md: -------------------------------------------------------------------------------- 1 | # PI 2 | 3 | ## License 4 | -------------------------------------------------------------------------------- /test/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/test/index.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remarkjs/remark-license/HEAD/tsconfig.json --------------------------------------------------------------------------------