{"name":"electron-prebuilt","version":"0.28.0","description":"Install electron (formerly called atom-shell) prebuilts using npm","repository":{"type":"git","url":"git+https://github.com/mafintosh/electron-prebuilt.git"},"scripts":{"cache-clean":"rm -rf ~/.electron && rm -rf dist","postinstall":"node install.js","pretest":"npm run cache-clean && node install.js","test":"tape test/*.js"},"bin":{"electron":"cli.js"},"main":"index.js","dependencies":{"extract-zip":"^1.0.3","electron-download":"^1.0.0"},"devDependencies":{"home-path":"^0.1.1","path-exists":"^1.0.0","tape":"^3.0.1"},"author":{"name":"Mathias Buus"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/electron-prebuilt/issues"},"homepage":"https://github.com/mafintosh/electron-prebuilt","gitHead":"d1ab3f26ac4661f38e8c23dcef35d6f51bf07564","_id":"electron-prebuilt@0.28.0","_shasum":"31c6ed71c54732bb5e160f8c55f8ed09e61dd071","_from":".","_npmVersion":"2.9.0","_nodeVersion":"1.8.2","_npmUser":{"name":"maxogden","email":"max@maxogden.com"},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"},{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"zcbenz","email":"zcbenz@gmail.com"},{"name":"mattdesl","email":"dave.des@gmail.com"}],"dist":{"shasum":"31c6ed71c54732bb5e160f8c55f8ed09e61dd071","tarball":"http://registry-npm.ywwl.com/electron-prebuilt/download/electron-prebuilt-0.28.0.tgz","integrity":"sha512-yymqQmXhtKgTXgibENqdJJ5ClEO9YDhu86sml7G87jg/wkutfOKNC3pSH/alN4ee9U/VTfZMdt+lf4k0TTLGpQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFJb3lOhMD+kSimi8gE3qHUE30XsbNYrii7dMzjZ6IVDAiB2imTdzqAycGidppgxhUDYAuUT1/fDcV8uUCMXXE+fOQ=="}],"size":2413,"noattachment":false,"key":"/electron-prebuilt/-/electron-prebuilt-0.28.0.tgz"},"directories":{},"readme":"# electron-prebuilt\n\n[![Travis build status](http://img.shields.io/travis/electron-userland/electron-prebuilt.svg?style=flat)](http://travis-ci.org/electron-userland/electron-prebuilt)\n[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/qd978ky9axl8m1m1?svg=true)](https://ci.appveyor.com/project/Atom/electron-prebuilt)\n\n[![badge](https://nodei.co/npm/electron-prebuilt.png?downloads=true)](https://www.npmjs.com/package/electron-prebuilt)\n\nInstall [Electron](https://github.com/electron/electron) prebuilt binaries for\ncommand-line use using npm. This module helps you easily install the `electron`\ncommand for use on the command line without having to compile anything.\n\n[Electron](http://electron.atom.io) is a JavaScript runtime that bundles Node.js\nand Chromium. You use it similar to the `node` command on the command line for\nexecuting JavaScript programs. For more info you can read [this intro blog post](http://maxogden.com/electron-fundamentals.html)\nor dive into the [Electron documentation](http://electron.atom.io/docs).\n\n## Installation\n\n**Note** As of version 1.3.1, this package is published to npm under two names:\n`electron` and `electron-prebuilt`. You can currently use either name, but\n`electron` is recommended, as the `electron-prebuilt` name is deprecated, and\nwill only be published until the end of 2016.\n\nDownload and install the latest build of Electron for your OS and add it to your\nproject's `package.json` as a `devDependency`:\n\n```shell\nnpm install electron --save-dev\n```\n\nThis is the preferred way to use Electron, as it doesn't require users to\ninstall Electron globally.\n\nYou can also use the `-g` flag (global) to symlink it into your PATH:\n\n```shell\nnpm install -g electron\n```\n\nIf that command fails with an `EACCESS` error you may have to run it again with `sudo`:\n\n```shell\nsudo npm install -g electron\n```\n\nNow you can just run `electron` to run electron:\n\n```shell\nelectron\n```\n\nIf you need to use an HTTP proxy you can [set these environment variables](https://github.com/request/request/tree/f0c4ec061141051988d1216c24936ad2e7d5c45d#controlling-proxy-behaviour-using-environment-variables).\n\nIf you want to change the architecture that is downloaded (e.g., `ia32` on an\n`x64` machine), you can use the `--arch` flag with npm install or set the\n`npm_config_arch` environment variable:\n\n```shell\nnpm install --arch=ia32 electron\n```\n\n## About\n\nWorks on Mac, Windows and Linux OSes that Electron supports (e.g. Electron\n[does not support Windows XP](https://github.com/electron/electron/issues/691)).\n\nThe version numbers of this module match the version number of the [official\nElectron releases](https://github.com/electron/electron/releases), which\n[do not follow semantic versioning](http://electron.atom.io/docs/tutorial/electron-versioning/).\n\nThis module is automatically released whenever a new version of Electron is\nreleased thanks to [electron-prebuilt-updater](https://github.com/electron/electron-prebuilt-updater),\noriginally written by [John Muhl](https://github.com/johnmuhl/).\n\n## Usage\n\nFirst, you have to [write an Electron application](http://electron.atom.io/docs/tutorial/quick-start/).\n\nThen, you can run your app using:\n\n```shell\nelectron your-app/\n```\n\n## Related modules\n\n- [electron-packager](https://github.com/electron-userland/electron-packager) -\n  Package and distribute your Electron app with OS-specific bundles\n  (.app, .exe etc)\n- [electron-builder](https://github.com/electron-userland/electron-builder) -\n  create installers\n- [menubar](https://github.com/maxogden/menubar) - high level way to create\n  menubar desktop applications with electron\n\nFind more at the [awesome-electron](https://github.com/sindresorhus/awesome-electron) list.\n\n## Programmatic usage\n\nMost people use this from the command line, but if you require `electron` inside\nyour **Node app** (not your Electron app) it will return the file path to the\nbinary. Use this to spawn Electron from Node scripts:\n\n```javascript\nvar electron = require('electron')\nvar proc = require('child_process')\n\n// will print something similar to /Users/maf/.../Electron\nconsole.log(electron)\n\n// spawn Electron\nvar child = proc.spawn(electron)\n```\n","publish_time":1434386272230,"_cnpm_publish_time":1434386272230,"dist-tags":{"latest":"1.4.13"}}