{"id":13455019,"url":"https://github.com/jshor/symbology","last_synced_at":"2025-10-25T03:49:35.330Z","repository":{"id":30613262,"uuid":"34168573","full_name":"jshor/symbology","owner":"jshor","description":"🔖 Generates 1D, 2D, or composite barcodes in png, svg, or eps formats. Supports 50+ symbologies.","archived":false,"fork":false,"pushed_at":"2025-05-12T00:56:01.000Z","size":12628,"stargazers_count":227,"open_issues_count":7,"forks_count":25,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-09T07:36:38.940Z","etag":null,"topics":["aztec","barcode","code-128","data-matrix","ean","gs1","isbn","onecode","pdf417","qrcode","upc"],"latest_commit_sha":null,"homepage":"https://symbology.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jshor.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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,"zenodo":null}},"created_at":"2015-04-18T14:21:43.000Z","updated_at":"2025-08-07T10:05:04.000Z","dependencies_parsed_at":"2024-01-13T17:33:26.693Z","dependency_job_id":"931bcba2-9a85-49ae-8667-777671ffca2f","html_url":"https://github.com/jshor/symbology","commit_stats":{"total_commits":244,"total_committers":12,"mean_commits":"20.333333333333332","dds":"0.40573770491803274","last_synced_commit":"8c35f1a9fb589ccc22e8fd26d8f724d4823ffb2b"},"previous_names":[],"tags_count":80,"template":false,"template_full_name":null,"purl":"pkg:github/jshor/symbology","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshor%2Fsymbology","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshor%2Fsymbology/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshor%2Fsymbology/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshor%2Fsymbology/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jshor","download_url":"https://codeload.github.com/jshor/symbology/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshor%2Fsymbology/sbom","scorecard":{"id":538287,"data":{"date":"2025-08-11","repo":{"name":"github.com/jshor/symbology","commit":"2b3a668fa8bd2a9fb831e1cf6e84b1aac59bd25e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Code-Review","score":1,"reason":"Found 3/26 approved changesets -- score normalized to 1","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":"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":"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/merge.yml:1","Warn: no topLevel permission defined: .github/workflows/pr.yml:1","Info: no jobLevel write permissions found"],"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":"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":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/merge.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/symbology/merge.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/merge.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/symbology/merge.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/merge.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/symbology/merge.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/merge.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/symbology/merge.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/merge.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/symbology/merge.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/merge.yml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/symbology/merge.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/merge.yml:77: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/symbology/merge.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/merge.yml:90: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/symbology/merge.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/merge.yml:96: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/symbology/merge.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/merge.yml:102: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/symbology/merge.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/merge.yml:104: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/symbology/merge.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/merge.yml:126: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/symbology/merge.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/merge.yml:130: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/symbology/merge.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/merge.yml:134: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/symbology/merge.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/symbology/pr.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/jshor/symbology/pr.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/merge.yml:63","Warn: pipCommand not pinned by hash: .github/workflows/merge.yml:33","Info:   0 out of  14 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 4.0.2 not signed: https://api.github.com/repos/jshor/symbology/releases/202388398","Warn: release artifact 4.0.1 not signed: https://api.github.com/repos/jshor/symbology/releases/131040538","Warn: release artifact 3.0.13 not signed: https://api.github.com/repos/jshor/symbology/releases/84278874","Warn: release artifact 3.0.12 not signed: https://api.github.com/repos/jshor/symbology/releases/84277417","Warn: release artifact 3.0.11 not signed: https://api.github.com/repos/jshor/symbology/releases/84274958","Warn: release artifact 4.0.2 does not have provenance: https://api.github.com/repos/jshor/symbology/releases/202388398","Warn: release artifact 4.0.1 does not have provenance: https://api.github.com/repos/jshor/symbology/releases/131040538","Warn: release artifact 3.0.13 does not have provenance: https://api.github.com/repos/jshor/symbology/releases/84278874","Warn: release artifact 3.0.12 does not have provenance: https://api.github.com/repos/jshor/symbology/releases/84277417","Warn: release artifact 3.0.11 does not have provenance: https://api.github.com/repos/jshor/symbology/releases/84274958"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 13 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"28 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-x7hr-w5r2-h6wg","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-353f-5xf4-qw67","Warn: Project is vulnerable to: GHSA-c24v-8rfc-w8vw","Warn: Project is vulnerable to: GHSA-8jhw-289h-jh2g","Warn: Project is vulnerable to: GHSA-64vr-g452-qvp3","Warn: Project is vulnerable to: GHSA-9cwx-2883-4wfx","Warn: Project is vulnerable to: GHSA-vg6x-rcgg-rjx6","Warn: Project is vulnerable to: GHSA-x574-m823-4x7w","Warn: Project is vulnerable to: GHSA-4r4m-qw57-chr8","Warn: Project is vulnerable to: GHSA-xcj6-pq6g-qj4x","Warn: Project is vulnerable to: GHSA-356w-63v5-8wf4","Warn: Project is vulnerable to: GHSA-859w-5945-r5v3","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-f9xv-q969-pqx4"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T07:33:56.136Z","repository_id":30613262,"created_at":"2025-08-20T07:33:56.136Z","updated_at":"2025-08-20T07:33:56.136Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280901466,"owners_count":26410586,"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-10-25T02:00:06.499Z","response_time":81,"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":["aztec","barcode","code-128","data-matrix","ean","gs1","isbn","onecode","pdf417","qrcode","upc"],"created_at":"2024-07-31T08:01:00.397Z","updated_at":"2025-10-25T03:49:35.283Z","avatar_url":"https://github.com/jshor.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://symbology.dev/\"\u003e\n    \u003cimg src=\"https://symbology.dev/assets/hero.svg\" width=\"159\" height=\"95\" /\u003e\n  \u003c/a\u003e\n\n  \u003ch1 style=\"text-align: center;\" align=\"center\"\u003eSymbology\u003c/h1\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003eA Node.js module that generates barcode images. Supports 50+ different 1D or 2D symbologies in png, eps, or svg formats.\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://app.codecov.io/gh/jshor/symbology\"\u003e\u003cimg\n    src=\"https://img.shields.io/codecov/c/gh/jshor/symbology?style=for-the-badge\"\n    alt=\"Code coverage\"\n  /\u003e\u003c/a\u003e \u003ca href=\"https://github.com/jshor/symbology/actions/workflows/merge.yml\"\u003e\u003cimg\n    src=\"https://img.shields.io/github/actions/workflow/status/jshor/symbology/merge.yml?branch=main\u0026style=for-the-badge\"\n    alt=\"Build status\"\n  /\u003e\u003c/a\u003e \u003ca href=\"https://npmjs.com/package/symbology\"\u003e\u003cimg\n    src=\"http://img.shields.io/npm/v/symbology.svg?style=for-the-badge\"\n    alt=\"npm version\"\n  /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Introduction\n\nThis Node.js module will allow you to generate over 50+ different types of 1D or 2D symbologies, including barcodes for books, grocery, shipping carriers, healthcare, and international codes.\n\nIt can create a PNG, SVG, or EPS image file, or return a string containing SVG, PostScript, or base64-encoded PNG data.\n\n## Documentation\n\n[Read the docs →](https://symbology.dev/docs/)\n\n## Quick start\n\n```sh\nyarn add symbology\n```\n\n## Quick Examples\n\n### Code 11 Example\n\n```ts\nimport { SymbologyType, createStream } from 'symbology'\n\n(async () =\u003e {\n  const { data } = await createStream({\n    symbology: SymbologyType.CODE11\n  }, '8765432164')\n\n  console.log('Result: ', data)\n})()\n```\n\nThis will log:\n\n```json\n{\n  \"data\": \"data:image/png+data;base64,PHN [...] eFd==\",\n  \"message\": \"Symbology successfully created.\",\n  \"code\": 0\n}\n```\n\nAnd the base64 PNG generated will look like:\n\n![code 11](https://symbology.dev/assets/barcodes/barcode_14.png)\n\n### MaxiCode Example\n\n```ts\nimport { SymbologyType, createFile } from 'symbology'\n\n(async () =\u003e {\n  const { data } = await createFile({\n    symbology: SymbologyType.MAXICODE,\n    option1: 2,\n    primary: '999999999840012',\n    fileName: 'maxiCodeExample.svg'\n  }, 'Secondary Message Here')\n\n  console.log('Result: ', data)\n})()\n```\n\nThis creates `maxiCodeExample.svg` which looks like:\n\n![MaxiCode](https://symbology.dev/assets/barcodes/barcode_47.png)\n\n### USPS Example\n\n```ts\nimport { SymbologyType, createFile } from 'symbology'\n\n(async () =\u003e {\n  const { data } = await createFile({\n    symbology: SymbologyType.ONECODE\n    fileName: 'uspsExample.eps'\n  }, '01234567094987654321-01234')\n\n  console.log('Result: ', data)\n})()\n```\n\nThis creates `uspsExample.eps` which looks like:\n\n![USPS](https://symbology.dev/assets/barcodes/barcode_42.png)\n\n## License\n\n[GPL-3](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjshor%2Fsymbology","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjshor%2Fsymbology","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjshor%2Fsymbology/lists"}