bandwidth-throttle-stream
Advanced tools
Comparing version 0.3.3 to 1.0.0
@@ -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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
254
61956
57
872