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

0.24.9 • 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 (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @locker/trusted-types

    Weekly Downloads

    1,884

    Version

    0.24.9

    License

    SEE LICENSE IN LICENSE.txt

    Unpacked Size

    13 kB

    Total Files

    7

    Last publish

    Collaborators

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