{"id":20331107,"url":"https://github.com/comcast/scte35-js","last_synced_at":"2025-08-28T23:33:10.623Z","repository":{"id":33881579,"uuid":"94109850","full_name":"Comcast/scte35-js","owner":"Comcast","description":"A SCTE 35 Parser for JavaScript","archived":false,"fork":false,"pushed_at":"2024-01-11T05:24:09.000Z","size":7409,"stargazers_count":51,"open_issues_count":16,"forks_count":22,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-15T13:44:53.151Z","etag":null,"topics":["browser","javascript","nodejs","scte-marker","typescript"],"latest_commit_sha":null,"homepage":"https://comcast.github.io/scte35-js/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Comcast.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2017-06-12T15:10:13.000Z","updated_at":"2025-04-03T19:25:33.000Z","dependencies_parsed_at":"2024-04-22T22:33:28.947Z","dependency_job_id":null,"html_url":"https://github.com/Comcast/scte35-js","commit_stats":{"total_commits":134,"total_committers":10,"mean_commits":13.4,"dds":"0.29104477611940294","last_synced_commit":"81f2d14f8d25104cb126068065790c4d830d8aec"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Comcast%2Fscte35-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Comcast%2Fscte35-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Comcast%2Fscte35-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Comcast%2Fscte35-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Comcast","download_url":"https://codeload.github.com/Comcast/scte35-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253150084,"owners_count":21861831,"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":["browser","javascript","nodejs","scte-marker","typescript"],"created_at":"2024-11-14T20:18:46.761Z","updated_at":"2025-05-08T21:21:41.213Z","avatar_url":"https://github.com/Comcast.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"![ANSI/SCTE-35 JS](assets/scte35-logo.png)\n\n\u003ch2 align=\"center\"\u003eANSI/SCTE35 JS PARSER\u003c/h2\u003e\n\nSCTE35 tools for parsing in CLI using NodeJS or in a \"modern\" browser.\n\n## Demo\n\nVisit https://comcast.github.io/scte35-js/ and paste the following in the text box and hit the `Parse` button:\n\n`/DBGAAET8J+pAP/wBQb+AAAAAAAwAi5DVUVJQAErgX+/CR9TSUdOQUw6OGlTdzllUWlGVndBQUFBQUFBQUJCQT09NwMDaJ6RZQ==`\n\nIn order to deploy changes to the demo read the README found at https://github.com/Comcast/scte35-js/tree/master/ui.\n\n## SCTE35 Module\n\n    // See ISCTE35 for methods \u0026 ISpliceInfoSection for results.\n\n```typescript\n    import { SCTE35 } from \"scte35\";\n    const scte35: SCTE35 = new SCTE35();\n    const result = scte35.parseFromB64(\"\u003cbase64 string\u003e\");\n```\n\n## CLI\n\nThe parser can be executed from the bin by first installing it globally and then executing the `scte35` command:\n\n```bash\n    npm i scte35 -g\n    scte35\n    \u003e ? Please provide the SCTE-35 tag that you would like to parse\n```\n\nParsing defaults to base 64, however hexadecimal can easily be parsed as well using the `--hex` flag\n\n```bash\n\n    #default base64\n    scte35 /DBGAAET8J+pAP/wBQb+AAAAAAAwAi5DVUVJQAErgX+/CR9TSUdOQUw6OGlTdzllUWlGVndBQUFBQUFBQUJCQT09NwMDaJ6RZQ==\n\n    #hexadecimal\n    scte35 --hex fc3046000113f09fa900fff00506fe000000000030022e4355454940012b817fbf091f5349474e414c3a386953773965516946567741414141414141414242413d3d370303689e9165\n\n    #both will output the formatted JSON\n    \u003e {\n        \"tableId\": 252,\n        \"selectionSyntaxIndicator\": false,\n        \"privateIndicator\": false,\n        ...\n    }\n```\n\n### Piping\n\nThe parser output can be piped into other tools, such as a JSON display utility like `fx` in order to visualize the JSON object and interact with it.\n\n```bash\n    npm i -g fx\n    scte35 /DBGAAET8J+pAP/wBQb+AAAAAAAwAi5DVUVJQAErgX+/CR9TSUdOQUw6OGlTdzllUWlGVndBQUFBQUFBQUJCQT09NwMDaJ6RZQ== | fx\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomcast%2Fscte35-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomcast%2Fscte35-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomcast%2Fscte35-js/lists"}