OMPX JavaScript SDK
    Preparing search index...

    Create an OmpxClient and optionally polyfill global fetch immediately.

    import { Ompx, tempo } from 'ompx-js/client'

    Ompx.create({
    methods: [tempo({ account })],
    }).polyfill()

    // Now all fetch() calls auto-pay
    const data = await fetch('https://api.example.com/resource').then(r => r.json())
    Index

    Constructors

    Methods

    Constructors

    Methods