{"id":15284407,"url":"https://github.com/pimdewit/improved-print","last_synced_at":"2025-08-30T14:14:51.772Z","repository":{"id":57273110,"uuid":"97315175","full_name":"pimdewit/improved-print","owner":"pimdewit","description":"Turn mid-content hyperlinks into a listed footnote!","archived":false,"fork":false,"pushed_at":"2019-08-17T15:22:23.000Z","size":34,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-29T09:12:38.502Z","etag":null,"topics":["a11y","academic","accessibility","custom-element","custom-elements","footnotes","html","inclusivity","print","webcomponent"],"latest_commit_sha":null,"homepage":"https://pimdewit.github.io/improved-print/index.html","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pimdewit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-15T12:41:00.000Z","updated_at":"2020-07-30T22:59:53.000Z","dependencies_parsed_at":"2022-08-25T00:11:37.797Z","dependency_job_id":null,"html_url":"https://github.com/pimdewit/improved-print","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/pimdewit/improved-print","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimdewit%2Fimproved-print","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimdewit%2Fimproved-print/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimdewit%2Fimproved-print/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimdewit%2Fimproved-print/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pimdewit","download_url":"https://codeload.github.com/pimdewit/improved-print/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimdewit%2Fimproved-print/sbom","scorecard":{"id":734076,"data":{"date":"2025-08-11","repo":{"name":"github.com/pimdewit/improved-print","commit":"b82e5d8fd00d0f1415ce96cbdfc5407b5db54cff"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/14 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-22T15:14:29.838Z","repository_id":57273110,"created_at":"2025-08-22T15:14:29.839Z","updated_at":"2025-08-22T15:14:29.839Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272858561,"owners_count":25005098,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["a11y","academic","accessibility","custom-element","custom-elements","footnotes","html","inclusivity","print","webcomponent"],"created_at":"2024-09-30T14:56:03.033Z","updated_at":"2025-08-30T14:14:51.751Z","avatar_url":"https://github.com/pimdewit.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/pimdewit/improved-print/raw/master/.git-header.svg?sanitize=true\" alt=\"Improved print\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ch1\u003eimproved-print \u003ca href=\"https://www.webcomponents.org/element/pimdewit/improved-print\"\u003e\u003cimg src=\"https://img.shields.io/badge/webcomponents.org-published-blue.svg\" alt=\"Published on webcomponents.org\"\u003e\u003c/a\u003e \u003cimg src=\"https://img.shields.io/bundlephobia/minzip/improved-print?label=filesize\" alt=\"Total filesize is 971bytes\"\u003e\u003c/h1\u003e\n\u003c/p\u003e\n\nimproved-print is a native custom-element.\nIt's purpose is to strip out links within content, and make a nice list of footnotes when attempting to print.\n\nor [view the DEMO](https://pimdewit.github.io/improved-print/index.html)\n\n\n## Installation\n\nnpm:\n```bash\nnpm install improved-print\n```\n\n\n## Usage\n\n1. Import the component by adding the following line to the end of your `\u003cbody\u003e` tag.\n```html\n\u003cscript src=\"improved-print.js\"\u003e\u003c/script\u003e\n```\n\n2. Create the improved-print tag somewhere in the body.\n```html\n\u003cimproved-print\u003e\u003c/improved-print\u003e\n```\n\n3. Insert some HTML with links you want to print.\n```html\n\u003cimproved-print\u003e\n  \u003carticle\u003e\n    \u003ch1\u003eHello World!\u003c/h1\u003e\n    \u003cp\u003eThis is an \u003ca href=\"https://www.google.com/\"\u003eexample link\u003c/a\u003e. And \u003ca href=\"https://pdw.io\" data-no-improved-print\u003ethis\u003c/a\u003e is a link that is ignored on print.\u003c/p\u003e\n    \u003ca href=\"https://www.wikipedia.com\"\u003eLearn more!\u003c/a\u003e\n  \u003c/article\u003e\n\u003c/improved-print\u003e\n```\n\n4. Once you hit print you should see the results directly!\n\n\n## Future plans / TODO\n\n- Think of a better name(?)\n- CSS variables for additional styling\n\n\n## Credits\n\n- [Original concept](https://alistapart.com/article/improvingprint): Aaron Gustafson [@aarongustafson](https://twitter.com/AaronGustafson)\n- *: Pim de Wit [@pdw_io](https://twitter.com/pdw_io)\n\n## Licence\n\n[MIT](https://github.com/PimdeWit/improved-print/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpimdewit%2Fimproved-print","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpimdewit%2Fimproved-print","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpimdewit%2Fimproved-print/lists"}