Setup Babel for casperjs
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.babelrc
.gitignore
LICENSE.txt
README.md
package-lock.json
package.json
yarn.lock

README.md

Casper.js Starter

This is a boilerplate for Casper.js with ES6. I use babel in order to transpile ES6 into ES5 for Phantom.js to understand.

Casper.js runs on phantom.js, it is not node.js! Although the syntax looks the same (both uses common js) but phantom does not support ES6.

Installation

  • Git clone this repo
  • npm install or yarn install in this repo
  • To start the project npm run start or yarn start

License

MIT