{"id":45182568,"url":"https://github.com/jubilee-works/ssml-tsx","last_synced_at":"2026-03-13T07:05:57.946Z","repository":{"id":37048757,"uuid":"232472743","full_name":"jubilee-works/ssml-tsx","owner":"jubilee-works","description":"Write SSML (Speech Synthesis Markup Language) inline within JSX or TSX","archived":false,"fork":false,"pushed_at":"2024-03-02T11:16:25.000Z","size":3342,"stargazers_count":8,"open_issues_count":9,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-08-09T16:45:37.147Z","etag":null,"topics":["jsx","ssml","tsx"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/jubilee-works.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2020-01-08T03:51:00.000Z","updated_at":"2024-05-03T11:04:11.000Z","dependencies_parsed_at":"2023-12-22T22:23:09.419Z","dependency_job_id":"f279a56e-b312-44c5-aba1-223ab5a740e7","html_url":"https://github.com/jubilee-works/ssml-tsx","commit_stats":{"total_commits":784,"total_committers":6,"mean_commits":"130.66666666666666","dds":"0.23852040816326525","last_synced_commit":"5e1d566af1e19a3b7140e3568ff1fd4a242c2832"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/jubilee-works/ssml-tsx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jubilee-works%2Fssml-tsx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jubilee-works%2Fssml-tsx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jubilee-works%2Fssml-tsx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jubilee-works%2Fssml-tsx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jubilee-works","download_url":"https://codeload.github.com/jubilee-works/ssml-tsx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jubilee-works%2Fssml-tsx/sbom","scorecard":{"id":540735,"data":{"date":"2025-08-11","repo":{"name":"github.com/jubilee-works/ssml-tsx","commit":"3a1e26f1288c81929d21e7cfcba4870fdf586050"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"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":"Code-Review","score":0,"reason":"Found 0/30 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":"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":"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/publish-release.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/jubilee-works/ssml-tsx/publish-release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-release.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/jubilee-works/ssml-tsx/publish-release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-release.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/jubilee-works/ssml-tsx/publish-release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/jubilee-works/ssml-tsx/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/jubilee-works/ssml-tsx/test.yml/main?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction 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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/publish-release.yml:1","Warn: no topLevel permission defined: .github/workflows/test.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":"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: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 'main'"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 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":"18 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-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","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-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","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-j8xg-fqg3-53r7"],"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-20T08:08:38.087Z","repository_id":37048757,"created_at":"2025-08-20T08:08:38.088Z","updated_at":"2025-08-20T08:08:38.088Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30460818,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T06:34:02.089Z","status":"ssl_error","status_checked_at":"2026-03-13T06:33:49.182Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["jsx","ssml","tsx"],"created_at":"2026-02-20T10:00:30.880Z","updated_at":"2026-03-13T07:05:57.941Z","avatar_url":"https://github.com/jubilee-works.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# ssml-tsx\n[![Version](https://img.shields.io/npm/v/ssml-tsx.svg)](https://www.npmjs.com/package/ssml-tsx)\n[![CircleCI](https://circleci.com/gh/jubilee-works/ssml-tsx.svg?style=shield)](https://circleci.com/gh/jubilee-works/ssml-tsx)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](#)\n\nWrite SSML (Speech Synthesis Markup Language) inline within JSX or TSX.\nThis module includes type definitions for SSML.\n\n## Install\n\n```sh\n$ npm install --save ssml-tsx\n```\n\nAdd `\"jsx\": \"react\"` into your `tsconfing.json` .\n\n```diff\n {\n   \"compilerOptions\": {\n     ...,\n+    \"jsx\": \"react\",\n   }\n }\n```\n\n## Usage\n\nFor simple usage, write ssml tag with the file name as `.tsx` extension. Don't forget the JSX pragma `@jsx ssml`.\n\nPassing it to `renderToString` renders it as a string.\n\n```tsx\n/** @jsx ssml */\nimport ssml, { rendetToString } from \"ssml-tsx\";\n\nconsole.log(renderToString(\n  \u003cspeak\u003e\n    \u003csay-as interpret-as=\"date\"\u003e10/1\u003c/say-as\u003e\n  \u003c/speak\u003e\n));\n// =\u003e \"\u003cspeak\u003e\u003csay-as interpret-as=\\\"date\\\"\u003e10/1\u003c/say-as\u003e\u003c/speak\u003e\"\n```\n\nIt also works with component styles. Currently only function components are supported.\n\n```tsx\n/** @jsx ssml */\nimport ssml, { rendetToString, FC } from \"ssml-tsx\";\n\nconst Foo: FC\u003c{ name: string }\u003e = ({ name }) =\u003e (\n  \u003cspeak\u003e\n    \u003csay-as interpret-as=\"characters\"\u003e{name}\u003c/say-as\u003e\n    \u003cbreak time=\"2s\" /\u003e\n    \u003cp\u003eWhat would you like to do today?\u003c/p\u003e\n  \u003c/speak\u003e\n);\nconsole.log(renderToString(\u003cFoo name=\"bar\" /\u003e));\n```\n\n## Supported tags\n\n- `\u003camazon-domain /\u003e` (amazon:domain)\n- `\u003camazon-effect /\u003e` (amazon:effect)\n- `\u003camazon-emotion /\u003e` (amazon:emotion)\n- `\u003caudio /\u003e`\n- `\u003cbreak /\u003e`\n- `\u003cemphasis /\u003e`\n- `\u003clang /\u003e`\n- `\u003cp /\u003e`\n- `\u003cphoneme /\u003e`\n- `\u003cprosody /\u003e`\n- `\u003cs /\u003e`\n- `\u003csay-as /\u003e`\n- `\u003cspeak /\u003e`\n- `\u003csub /\u003e`\n- `\u003cvoice /\u003e`\n- `\u003cw /\u003e`\n\n## Using with eslint\n\nUse [`eslint-pllugin-react`](https://github.com/yannickcr/eslint-plugin-react) to make lint work correctly.\n\n```sh\n$ npm install --save-dev eslint-pllugin-react\n```\n\nAdd this lines into your `.eslintrc.js`\n```diff\n plugins: [\n   ...,\n+  \"react\"\n ],\n rules: {\n   ...,\n+  \"react/jsx-uses-react\": \"error\",\n+  \"react/jsx-uses-vars\": \"error\",\n }\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjubilee-works%2Fssml-tsx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjubilee-works%2Fssml-tsx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjubilee-works%2Fssml-tsx/lists"}