hpx

1.0.0 • Public • Published

hpx-node

HPX bindings for Node

Fire pixels to the Hacker Pixel Stack.

Install

$ npm install --save hpx

Usage

const hpx = require('hpx');
 
hpx("http://mypixel.cloudfront.net/1x1.gif", "first", "second",  "third", "fourth", true);

API

hpx(pixel, a, b, c, d, cache_buster)

Returns a Promise for the pixel fire. In many use cases it's fire and forget.

pixel

The pixel URL provided by HPX stack.

a,b,c,d

The parameters to the pixel

cache_buster

Add a cache_buster

Dependencies (1)

Dev Dependencies (2)

Package Sidebar

Install

npm i hpx

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

4.33 kB

Total Files

7

Last publish

Collaborators

  • casret