types-wm
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

Web Monetization Types

TypeScript types for Web Monetization.

Similar types will hopefully be added to lib.dom.d.ts if and when Web Monetization catches on.

Install

$ npm install types-wm --save-dev

or

$ yarn add types-wm --dev

Usage

Import for monetization to be added to document.

import 'types-wm'

or

import { MonetizationState } from 'types-wm'

/types-wm/

    Package Sidebar

    Install

    npm i types-wm

    Weekly Downloads

    34

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    4.2 kB

    Total Files

    5

    Last publish

    Collaborators

    • dacio