1.0.0 • Published 1 year ago
@skylernpm/id-facilis-aperiam v1.0.0
Inspectlet as ES module
ES module for Inspectlet.
Install
$ npm install --save @skylernpm/id-facilis-aperiam
If using TypeScript, also install the type definitions:
$ npm install --save @types/@skylernpm/id-facilis-aperiam
Usage
Pick your favorite:
const { insp, install } = require("@skylernpm/id-facilis-aperiam");
import insp, { install } from '@skylernpm/id-facilis-aperiam';
... 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"]);
1.0.0
1 year ago