# web-phantom

> Simple bridge between Node.js and PhantomJS

Latest version **0.0.6** (published 2016-06-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install web-phantom
pnpm add web-phantom
yarn add web-phantom
bun add web-phantom
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.6 |
| Published | 2016-06-11 |
| First published | 2016-03-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | > 0.12.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Daeren |
| Maintainers | daeren |
| Keywords | node, phantom, phantomjs |

## Links

- npm: https://www.npmjs.com/package/web-phantom
- Repository: https://github.com/Daeren/web-phantom
- Homepage: https://666.io
- Issues: https://github.com/Daeren/web-phantom/issues
- npm.io page: https://npm.io/package/web-phantom

## Dependencies (1)

- [socket.io](https://npm.io/package/socket.io.md) >=0.9.6

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 0.0.6 (latest) — 2016-06-11
- 0.0.5 — 2016-04-15
- 0.0.4 — 2016-04-15
- 0.0.3 — 2016-04-14
- 0.0.2 — 2016-04-11
- 0.0.1 — 2016-03-26
- 0.0.0 — 2016-03-19

## README

```
npm install web-phantom
```

```js
const rWebPhantom   = require("web-phantom"),
      rCo           = require("co");
      
rCo(function* () {
    const ph        = yield rWebPhantom();

    const page      = yield ph.createPage();

    const status    = yield page.open("https://db.gg"),
          content   = yield page.content();

    console.log("Page (%s):\n\n%s", status, content);

    yield page.close();
    yield ph.exit();
}).catch(console.error);
```


1. Download [PhantomJS][3] (2.x)
2. Run PhantomJS in the console: "> phantomjs -v"
3. Run node.js applications


### Doc

* API [PhantomJS][4]
* Command-line [PhantomJS][5]


## License

MIT

----------------------------------
[@ Daeren][1]
[@ Telegram][2]


[1]: http://666.io
[2]: https://telegram.me/io666

[3]: http://phantomjs.org
[4]: http://phantomjs.org/api/webpage/
[5]: http://phantomjs.org/api/command-line.html

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