Socket
Socket
Sign inDemoInstall

inspectlet-es

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

inspectlet-es

ES module for Inspectlet.


Version published
Maintainers
1
Weekly downloads
466
decreased by-1.06%

Weekly downloads

Readme

Source

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

Keywords

FAQs

Last updated on 18 Nov 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc