You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

inject-ga

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inject-ga - npm Package Compare versions

Comparing version

to
0.2.4

2

cli.js

@@ -22,3 +22,3 @@ #!/usr/bin/env node

var html = injectGa.insert(args.c, toHead)
var html = injectGa.insert(code, toHead)
, outputName = args.o || args.output

@@ -25,0 +25,0 @@

{
"name": "inject-ga",
"version": "0.2.1",
"version": "0.2.4",
"description": "Inject Google Analytics tracking code in HTML pages.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -42,2 +42,7 @@ Inject Google Analytics tracking code in HTML pages.

</html>
```
```
Tests:
```sh
npm test
```