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

0.22.7 • 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

      1,565

      Version

      0.22.7

      License

      SEE LICENSE IN LICENSE.txt

      Unpacked Size

      11.2 kB

      Total Files

      7

      Last publish

      Collaborators

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