
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.
Build your code and ship it to S3
latest
copies.npm install delivr --save
Get it into your program.
const delivr = require('delivr');
Run the build.
const build = await delivr.prepare();
// Put stuff in here:
console.log('Temp dir:', build.path);
// ... some time later ...
// Move the temp dir to its permanent home, set up symlinks,
// and upload the files on disk to S3.
await build.finalize();
Please see Amazon's API documentation for details on bucket names and authenticating with AWS.
Returns a Promise
for an object with these fields:
path
is a newly created temporary directory for you to write the build to.finalize()
moves path
to its final location, links it, and uploads it to S3.Type: object
Settings and known build data.
Type: string
Default: process.cwd()
Parent directory of the build root.
Type: string
A git branch name, can be provided to improve performance or override git. Used to create paths for writing and deploying the build.
Type: string
A build version, can be provided to improve performance or use a specific version. Defaults to a newly generated version. Used to create paths for writing and deploying the build.
Type: string
Bucket name to use for deploying the build files to S3.
Type: boolean
Default: true
if running in CI
Whether to deploy the build files to S3.
See our contributing guidelines for more details.
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
Go make something, dang it.
FAQs
Build your code and ship it to S3
We found that delivr 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
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.