New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@nbcom/services

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nbcom/services

[![N|Solid](https://svgshare.com/i/nwR.svg)](nbcomputers.ru)

npmnpm
Version
0.2.25
Version published
Maintainers
1
Created
Source

Services

N|Solid

Installation

@nbcom/services requires Node.js v16+ to run.

Install the package

npm install @nbcom/services

1. Gtm - Google Tag Manager API

Usage

import { GTM } from "@nbcom/services"
const gtm = new GTM(`GTM_ID`);
...
useEffect(() => {
  // Downloading and initializing GTM
  gtm.init();
  
  // Pushing some datalayer to GTM
  gtm.push({ ... })
  
  // Remove GTM from page
  return () => gtm.destroy()
}, []);
...

FAQs

Package last updated on 08 Sep 2023

Did you know?

Socket

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