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

1.0.6 • 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"]);

/inspectlet-es/

    Package Sidebar

    Install

    npm i inspectlet-es

    Weekly Downloads

    368

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    3.63 kB

    Total Files

    4

    Last publish

    Collaborators

    • idmadj