{"id":14990108,"url":"https://github.com/chrisburnell/paper-stamp","last_synced_at":"2025-07-24T07:37:21.260Z","repository":{"id":230437806,"uuid":"776524960","full_name":"chrisburnell/paper-stamp","owner":"chrisburnell","description":"A Web Component to display an img as a paper stamp.","archived":false,"fork":false,"pushed_at":"2024-04-07T12:13:55.000Z","size":17,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-12T02:05:08.608Z","etag":null,"topics":["custom-element","custom-elements","customelement","customelements","javascript","stamp","web-component","web-components","webcomponent","webcomponents"],"latest_commit_sha":null,"homepage":"https://chrisburnell.com/paper-stamp/","language":"JavaScript","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/chrisburnell.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-23T18:43:17.000Z","updated_at":"2025-02-04T13:08:08.000Z","dependencies_parsed_at":"2024-09-15T17:22:28.174Z","dependency_job_id":null,"html_url":"https://github.com/chrisburnell/paper-stamp","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"e37e4f5663f410717bd26d499015d66621210357"},"previous_names":["chrisburnell/paper-stamp"],"tags_count":5,"template":false,"template_full_name":"daviddarnes/component-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisburnell%2Fpaper-stamp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisburnell%2Fpaper-stamp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisburnell%2Fpaper-stamp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisburnell%2Fpaper-stamp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisburnell","download_url":"https://codeload.github.com/chrisburnell/paper-stamp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248505863,"owners_count":21115354,"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","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":["custom-element","custom-elements","customelement","customelements","javascript","stamp","web-component","web-components","webcomponent","webcomponents"],"created_at":"2024-09-24T14:19:28.000Z","updated_at":"2025-04-12T02:05:15.662Z","avatar_url":"https://github.com/chrisburnell.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `paper-stamp`\n\nA Web Component to display an img as a paper stamp\n\n**[Demo](https://chrisburnell.github.io/paper-stamp/demo.html)** | **[Further reading](https://chrisburnell.com/paper-stamp/)**\n\n## Examples\n\n### General usage example\n\n```html\n\u003cscript type=\"module\" src=\"paper-stamp.js\"\u003e\u003c/script\u003e\n\n\u003cpaper-stamp\u003e\n  \u003cimg src=\"example.jpg\" alt=\"\"\u003e\n\u003c/paper-stamp\u003e\n```\n\n### Custom stamp color\n\n```html\n\u003cscript type=\"module\" src=\"paper-stamp.js\"\u003e\u003c/script\u003e\n\n\u003cpaper-stamp color=\"cyan\"\u003e\n  \u003cimg src=\"example.jpg\" alt=\"\"\u003e\n\u003c/paper-stamp\u003e\n```\n\n### Custom stamp padding\n\n```html\n\u003cscript type=\"module\" src=\"paper-stamp.js\"\u003e\u003c/script\u003e\n\n\u003cpaper-stamp padding=\"50px\"\u003e\n  \u003cimg src=\"example.jpg\" alt=\"\"\u003e\n\u003c/paper-stamp\u003e\n```\n\n### Custom stamp perforation size\n\n```html\n\u003cscript type=\"module\" src=\"paper-stamp.js\"\u003e\u003c/script\u003e\n\n\u003cpaper-stamp perforation=\"15px\"\u003e\n  \u003cimg src=\"example.jpg\" alt=\"\"\u003e\n\u003c/paper-stamp\u003e\n```\n\n### Custom stamp perforation spacing multiplier\n\n```html\n\u003cscript type=\"module\" src=\"paper-stamp.js\"\u003e\u003c/script\u003e\n\n\u003cpaper-stamp spacing=\"6\"\u003e\n  \u003cimg src=\"example.jpg\" alt=\"\"\u003e\n\u003c/paper-stamp\u003e\n```\n\n## Features\n\nThis Web Component presents an img to make it look like a paper stamp.\n\n## Installation\n\nYou have a few options (choose one of these):\n\n1. Install via [npm](https://www.npmjs.com/package/@chrisburnell/paper-stamp): `npm install @chrisburnell/paper-stamp`\n1. [Download the source manually from GitHub](https://github.com/chrisburnell/paper-stamp/releases) into your project.\n1. Skip this step and use the script directly via a 3rd party CDN (not recommended for production use)\n\n### Usage\n\nMake sure you include the `\u003cscript\u003e` in your project (choose one of these):\n\n```html\n\u003c!-- Host yourself --\u003e\n\u003cscript type=\"module\" src=\"paper-stamp.js\"\u003e\u003c/script\u003e\n```\n\n```html\n\u003c!-- 3rd party CDN, not recommended for production use --\u003e\n\u003cscript\n  type=\"module\"\n  src=\"https://www.unpkg.com/@chrisburnell/paper-stamp/paper-stamp.js\"\n\u003e\u003c/script\u003e\n```\n\n```html\n\u003c!-- 3rd party CDN, not recommended for production use --\u003e\n\u003cscript\n  type=\"module\"\n  src=\"https://esm.sh/@chrisburnell/paper-stamp\"\n\u003e\u003c/script\u003e\n```\n\n## Credit\n\nWith thanks to the following people:\n\n- [David Darnes](https://darn.es) for creating this [Web Component repo template](https://github.com/daviddarnes/component-template)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisburnell%2Fpaper-stamp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisburnell%2Fpaper-stamp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisburnell%2Fpaper-stamp/lists"}