inspectlet-es
v1.0.6
Published
ES module for Inspectlet.
Maintainers
Readme
Inspectlet as ES module
ES module for Inspectlet.
Install
$ npm install --save inspectlet-esIf using TypeScript, also install the type definitions:
$ npm install --save @types/inspectlet-esUsage
Pick your favorite:
const { insp, install } = require("inspectlet-es");import insp, { install } from 'inspectlet-es';... then:
install(12345678); // Substitute your IDFrom 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', "[email protected]"]);
window.__insp.push(['identify', "[email protected]"]);