
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@serverless/client
Advanced tools
The Serverless Platform Client makes it easy to access all Serverless Platform Services, wherever they are hosted.
The Serverless Platform Client makes it easy to access all Serverless Platform Services, wherever they are hosted.
const { Registry } = require('@serverless/client')
const config = {
accessKey: 'xxx', // required only if you need to make authenticated calls.
endpoint: 'xxx' // required only if you're using a self hosted version of the platform.
stage: 'dev' // optional and overwritten by the SERVERLESS_PLATFORM_STAGE. Default is prod
}
const registry = new Registry(config)
const { Registry } = require('@serverless/client')
const config = {
accessKey: 'xxx', // required only if you need to make authenticated calls.
endpoint: 'xxx' // required only if you're using a self hosted version of the platform.
stage: 'dev' // optional and overwritten by the SERVERLESS_PLATFORM_STAGE. Default is prod
}
const registry = new Registry(config)
const component = {
name: 'myComponent', // required
version: '1.0.0', // if not provided, default is dev
org: 'serverlessinc' // required
}
const res = await registry.prePublish(prePublishInputs)
// res.url - s3 url to upload the component package to
// res.method - method to use when uploading the component package
const { Registry } = require('@serverless/client')
const config = {
accessKey: 'xxx', // required only if you need to make authenticated calls.
endpoint: 'xxx' // required only if you're using a self hosted version of the platform.
stage: 'dev' // optional and overwritten by the SERVERLESS_PLATFORM_STAGE. Default is prod
}
const registry = new Registry()
const component = {
name: 'myComponent', // required
version: '1.0.0', // if not provided, default is dev
org: 'serverlessinc' // required
}
const res = await registry.prePublish(prePublishInputs)
// res.url - s3 url to upload the component package to
// res.method - method to use when uploading the component package
FAQs
The Serverless Platform Client makes it easy to access all Serverless Platform Services, wherever they are hosted.
We found that @serverless/client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.