
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
electron and unix make friends
This is a simple wrapper around electron that kills boilerplate and allows stdio to work correct. Making electron a better unix citizen!
write stdin or the first file to the dom...
var path = require('path')
var pre = document.createElement('pre')
document.body.appendChild(pre)
;( process.stdin.isTTY
? require('fs').createReadStream(path.resolve(process.argv[2]))
: process.stdin
)
.on('data', function (data) {
pre.innerText += data.toString()
})
.resume()
you'll find this file in ./examples/cat.js
then run it with electro
# read the first file
electro ./examples/cat.js README.md
# OR, use pipes!
electro ./examples/cat.js < README.md
make sure electron is installed first!
npm install electron-prebuilt -g
electro [electro options] filename {options}
options work the same as in node.js.
any options passed before filename are options for
chrome or electron.
any BrowserWindow option can be set this way.
If no arguments are provided, electro will open a repl (aka, a browser window with devtools)
MIT
FAQs
electron and unix make friends
We found that electro demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.