# hpx

> Call the hacker pixel.

Latest version **1.0.0** (published 2018-07-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install hpx
pnpm add hpx
yarn add hpx
bun add hpx
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2018-07-27 |
| First published | 2018-07-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.2 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Giao Phan |
| Maintainers | casret |

## Links

- npm: https://www.npmjs.com/package/hpx
- Repository: https://github.com/Bright-Labs/hpx-node
- Homepage: https://github.com/Bright-Labs/hpx-node#readme
- Issues: https://github.com/Bright-Labs/hpx-node/issues
- npm.io page: https://npm.io/package/hpx

## Dependencies (1)

- [got](https://npm.io/package/got.md) ^8.3.2

## Recent versions

- 1.0.0 (latest) — 2018-07-27

## README

# hpx-node
HPX bindings for Node

Fire pixels to the [Hacker Pixel Stack](https://github.com/Bright-Labs/hpx).

## Install

```
$ npm install --save hpx
```


## Usage

```js
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

---
_Source: https://npm.io/package/hpx · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
