inspectlet-es
    DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/inspectlet-es package

    1.0.2 • Public • Published

    Inspectlet as ES module

    npm npm bundle size (minified)

    ES module for Inspectlet.

    Install

    $ npm install --save inspectlet-es

    If using TypeScript, also install the type definitions:

    $ npm install --save @types/inspectlet-es

    Usage

    Pick your favorite:

    const { insp, install } = require("inspectlet-es");
    import insp, { install } from 'inspectlet-es';

    ... then:

    install(12345678);    // Substitute your ID

    From there insp() can be used as a substitute to __insp.push(). window.__insp can also be used if you need access to the raw array:

    // Equivalent statements :
    insp(['identify', "john@example.com"]);
    window.__insp.push(['identify', "john@example.com"]);

    Install

    npm i inspectlet-es

    DownloadsWeekly Downloads

    279

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    3.74 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar