Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inspectlet as ES module

npm npm bundle size (minified)

ES module for Inspectlet.

Install

$ npm install --save 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"]);

About

ES module for Inspectlet.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages