
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
gce-output-stream
Advanced tools
Get a stream of output from a Google Compute Engine instance
$ npm install --save gce-output-stream
var outputStream = require('gce-output-stream')
outputStream({
zone: 'us-central1-a',
name: 'app-http-server'
})
.on('data', function (line) {
// `line` is a single line of output
})
This module uses google-auto-auth to get the required access token. If you don't meet the requirements for automatic authentication, you will need to provide the same configuration object detailed in that readme.
outputStream({
authConfig: {
keyFile: 'key.json'
}
})
Stream
An output stream with the results of iterative calls to getSerialPortOutput
. Each data event emitted is a single line.
String
The name of your instance.
String
The name of the zone the instance is running in. (Ex: us-central1-a
)
GoogleAutoAuth
If you want to re-use an auth client from google-auto-auth, pass an instance here.
object
See authConfig
.
Number
1
String
The projectId your instance is hosted under.
The COM or serial port to retrieve data from. Acceptable values are 1
-4
.
FAQs
Get a stream of output from a Google Compute Engine instance
The npm package gce-output-stream receives a total of 0 weekly downloads. As such, gce-output-stream popularity was classified as not popular.
We found that gce-output-stream demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 13 open source maintainers 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
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.