Skip to content
This repository was archived by the owner on Dec 4, 2019. It is now read-only.

Commit 7ec45c9

Browse files
author
Amir
committed
Updates readme
1 parent 1a24e8d commit 7ec45c9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,15 @@ Using Node v7.9.0+ you can run the above example with `node file.js`
3434

3535
See [examples](examples) folder for more ways to use this module.
3636

37+
## Use it with npx
38+
You can quickly test any website with phantomjs-node without needing to install the package.
39+
40+
```
41+
$ npx phantom@latest https://stackoverflow.com/
42+
```
43+
44+
The above command is very useful to test if your website works on older browsers. I frequently use it to ensure [polyfills](https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills) have been installed correctly.
45+
3746
## Installation
3847

3948
### Node v6.x and later

0 commit comments

Comments
 (0)