
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@quantfive/network-speed
Advanced tools
git clone https://github.com/kenigbolo/network-speed.git or use ssh
git clone git@github.com:kenigbolo/network-speed.git.Basic Javascript Module used to check upload and download speed. Contributions are welcome.
This package has been published on
NPM and is freely available
according to the MIT license. To install via npm simply run
npm install network-speed.
const NetworkSpeed = require('network-speed');
const testNetworkSpeed = new NetworkSpeed();
getNetworkDownloadSpeed();
async function getNetworkDownloadSpeed() {
const baseUrl = 'http://eu.httpbin.org/stream-bytes/50000000';
const fileSize = 500000;
const speed = await testNetworkSpeed.checkDownloadSpeed(baseUrl, fileSize);
console.log(speed);
}
getNetworkUploadSpeed();
async function getNetworkUploadSpeed() {
const options = {
hostname: 'www.google.com',
port: 80,
path: '/catchers/544b09b4599c1d0200000289',
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
};
const speed = await testNetworkSpeed.checkUploadSpeed(options);
console.log(speed);
}
running npm start will trigger the test usage file to run and calculate your
upload/download speed See the test usage file
FAQs
Node/Browser module to check internet connectivity speed
We found that @quantfive/network-speed demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.