Socket
Socket
Sign inDemoInstall

bandwidth-throttle-stream

Package Overview
Dependencies
0
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.3 to 1.0.0

2

dist/Util/readerToDenoReader.d.ts

@@ -14,2 +14,2 @@ /**

declare const readerToDenoReader: (reader: ReadableStreamDefaultReader<Uint8Array>, contentLength: number) => IDenoReader;
export default readerToDenoReader;
export { readerToDenoReader as default, IDenoReader };
{
"name": "bandwidth-throttle-stream",
"version": "0.3.3",
"version": "1.0.0",
"description": "A Node.js and Deno transform stream for throttling bandwidth",

@@ -10,11 +10,4 @@ "author": "KunkaLabs Limited",

"module": "./lib.mod.ts",
"exports": {
".": "./lib/mod.ts",
"./mod.ts": "./lib/mod.ts",
"./package.json": "./package.json"
},
"files": [
"dist",
"lib",
"!lib/**/index.ts"
"dist"
],

@@ -21,0 +14,0 @@ "repository": {

@@ -41,6 +41,6 @@ ![CI](https://github.com/patrickkunka/bandwidth-throttle-stream/workflows/CI/badge.svg) [![Coverage Status](https://coveralls.io/repos/github/patrickkunka/bandwidth-throttle-stream/badge.svg?branch=master)](https://coveralls.io/github/patrickkunka/bandwidth-throttle-stream?branch=master)

In Deno, all libraries are imported from URLs as ES modules. Versioned releases of `bandwidth-throttle-stream` are available from the [Pika](http://pika.dev) CDN:
In Deno, all libraries are imported from URLs as ES modules. Versioned releases of `bandwidth_throttle_stream` are available from [deno.land/x](https://deno.land/x):
```js
import {createBandwidthThrottleGroup} from 'https://cdn.pika.dev/bandwidth-throttle-stream/mod.ts';
import {createBandwidthThrottleGroup} from 'https://deno.land/x/bandwidth_throttle_stream/mod.ts';
```

@@ -51,5 +51,7 @@

```js
import {createBandwidthThrottleGroup} from 'https://cdn.pika.dev/bandwidth-throttle-stream@x.y.z/mod.ts';
import {createBandwidthThrottleGroup} from 'https://deno.land/x/bandwidth_throttle_stream@x.y.z/mod.ts';
```
Note that as per Deno convention, the package name is delineated with underscores (`_`).
## Usage

@@ -56,0 +58,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc