@locker/trusted-types
TypeScript icon, indicating that this package has built-in type declarations

0.23.14 • Public • Published

@locker/trusted-types

Lightning Web Security Trusted Policy

This package is meant to be small.

Signing Example:

  import { trusted } from '@locker/trusted-types'

  script.src = trusted.createScriptURL('...');

Create a policy using createPolicy utility. import { createPolicy } from '@locker/trusted-types'

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @locker/trusted-types

      Weekly Downloads

      2,029

      Version

      0.23.14

      License

      SEE LICENSE IN LICENSE.txt

      Unpacked Size

      11.2 kB

      Total Files

      7

      Last publish

      Collaborators

      • mjasso
      • caridy
      • jdalton
      • t.lau
      • dejang
      • rwaldron
      • garychangsf
      • achabot