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

0.22.8 • 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'

Readme

Keywords

none

Package Sidebar

Install

npm i @locker/trusted-types

Weekly Downloads

2,486

Version

0.22.8

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