Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
silvano-tests-gcloud
Advanced tools
Node idiomatic client for Google Cloud services.
This client supports the following Google Cloud services:
$ npm install gcloud
If you are running this client on Google Compute Engine, we handle authorization for you with no configuration. You just need to make sure that when you set up the GCE instance, you add the correct scopes for the APIs you want to access.
If you are not running this client on Google Compute Engine, you need a Google Developers service account. To create a service account:
Google Cloud Datastore is a fully managed, schemaless database for storing non-relational data. Cloud Datastore automatically scales with your users and supports ACID transactions, high availability of reads and writes, strong consistency for reads and ancestor queries, and eventual consistency for all other queries.
See the Google Cloud Datastore docs for more details on how to activate Cloud Datastore for your project.
See the gcloud-node API documentation to learn how to interact with the Cloud Datastore using this Client Library.
var gcloud = require('gcloud');
var datastore = gcloud.datastore;
var dataset;
// From Google Compute Engine:
dataset = new datastore.Dataset({
projectId: 'my-project',
});
// Or from elsewhere:
dataset = new datastore.Dataset({
projectId: 'my-project',
keyFilename: '/path/to/keyfile.json'
});
dataset.get(dataset.key('Product', 'Computer'), function(err, entity) {
console.log(err || entity);
});
Google Cloud Storage allows you to store data on Google infrastructure with very high reliability, performance and availability, and can be used to distribute large data objects to users via direct download.
You need to create a Google Cloud Storage bucket to use this client library. Follow the steps on the Google Cloud Storage docs to learn how to create a bucket.
See the gcloud-node API documentation to learn how to connect to the Cloud Storage using this Client Library.
var gcloud = require('gcloud');
var storage = gcloud.storage;
var bucket;
// From Google Compute Engine:
bucket = new storage.Bucket({
bucketName: YOUR_BUCKET_NAME
});
// Or from elsewhere:
bucket = new storage.Bucket({
bucketName: YOUR_BUCKET_NAME,
keyFilename: '/path/to/the/key.json'
});
bucket.write('demo.txt', 'Hello World', function(err) {
console.log(err || 'Created demo.txt');
});
Contributions to this library are always welcome and highly encouraged.
See CONTRIBUTING for more information on how to get started.
Apache 2.0 - See COPYING for more information.
FAQs
Google Cloud APIs Client Library for Node.js
The npm package silvano-tests-gcloud receives a total of 1 weekly downloads. As such, silvano-tests-gcloud popularity was classified as not popular.
We found that silvano-tests-gcloud 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.