-
Notifications
You must be signed in to change notification settings - Fork 83
Integrations
Krzysztof Kotowicz edited this page Oct 28, 2019
·
30 revisions
Here we list the open source projects we know of that already integrate with Trusted Types. We also link to the respective code commits to guide future integrations.
-
lit-html: Pull Request. Uses
lit-html
as a policy name. -
React: PRs for client-side and SSR.
Usage:
- Clone & setup React
-
enableTrustedTypesIntegration = true
inReactFeatureFlags.js
yarn build react/index,react-dom/index --type=UMD
-
Webpack (WIP): PR for hot update.
-
DOMPurify: Pull request. Use version >= 2.0.0 and
RETURN_TRUSTED_TYPE
config setting. -
Closure library: Compile with
--define goog.TRUSTED_TYPES_POLICY_NAME=myPolicyName
to enable the support. Commits -
TypeScript type annotations via DefinitelyTyped. Use via
npm install --save @types/trusted-types
Using Trusted Types in your projects? Let us know!