Skip to content

Instantly share code, notes, and snippets.

@younes200
Last active November 21, 2015 13:44
Show Gist options
  • Save younes200/31f61e207d2d39ee1bde to your computer and use it in GitHub Desktop.
Save younes200/31f61e207d2d39ee1bde to your computer and use it in GitHub Desktop.
mkdir my-app
cd my-app
npm install electron-prebuilt --global
npm install casperjs --save
echo "console.log(require('casper'))" > index.js
electron .
# { noop: [Function],
# send: [Function],
# db: [Function],
# respond: [Function],
# create: [Function],
# check: { [Function] params: [Function], body: [Function], query: [Function] },
# rm: { [Function] body: [Function] },
# allow: { [Function] body: [Function] },
# error: { [Function] badRequest: [Function] },
# log: { [Function] the: [Circular] },
# util: { atString: [Function], at: [Function] } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment