
Security News
Django Joins curl in Pushing Back on AI Slop Security Reports
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
transfer.js
Advanced tools
Fork of transfer-sh, a CLI tool for easy file sharing with https://transfer.sh
Node.js CLI tool for easy file sharing with transfer.sh
The easiest way to get transfer.js is with npm or yarn:
$ npm install -g transfer.js
$ yarn global add transfer.js
$ transfer-js hello.txt --copy
Will return a link to the resource and copy it to your clipboard.
Option | Description |
---|---|
-m, --max-days | Maximum number of days the file will stay on transfer.sh. |
-M, --max-downloads | Maximum number of downloads allowed. |
-D, --download | Download the file from the given URL. |
-n, --file-name | Name to use for the upload. |
-c, --copy | Copy the file URL or path to the clipboard. |
-N, --no-progress | Don't show the progress bar. |
-o, --output | Output path of the downloaded file. |
const Transfer = require('transfer.js');
// Upload
new Transfer('./Hello.txt')
.upload().progress((prog) => {
console.log((prog.current / prog.total * 100).toFixed(1) + '%');
}).then(console.log).catch(console.error);
// Download
new Transfer('https://transfer.sh/4bcD3/Hello.txt')
.download().progress((prog) => {
console.log((prog.current / prog.total * 100).toFixed(1) + '%');
}).then(console.log).catch(console.error);
The documentation is available here.
Based on transfer-sh by roccomuso.
FAQs
Fork of transfer-sh, a CLI tool for easy file sharing with https://transfer.sh
The npm package transfer.js receives a total of 0 weekly downloads. As such, transfer.js popularity was classified as not popular.
We found that transfer.js 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
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.