8000 Auto-generated commit · stdlib-js/streams-node-split@d5825e0 · GitHub
[go: up one dir, main page]

10000 Skip to content

Commit d5825e0

Browse files
committed
Auto-generated commit
1 parent 5fd90bc commit d5825e0

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,19 @@ limitations under the License.
4141

4242
## Usage
4343

44+
```javascript
45+
import splitStream from 'https://cdn.jsdelivr.net/gh/stdlib-js/streams-node-split@deno/mod.js';
46+
```
47+
The previous example will load the latest bundled code from the deno branch. Alternatively, you may load a specific version by loading the file from one of the [tagged bundles](https://github.com/stdlib-js/streams-node-split/tags). For example,
48+
4449
```javascript
4550
import splitStream from 'https://cdn.jsdelivr.net/gh/stdlib-js/streams-node-split@v0.2.2-deno/mod.js';
4651
```
4752

4853
You can also import the following named exports from the package:
4954

5055
```javascript
51-
import { factory, objectMode } from 'https://cdn.jsdelivr.net/gh/stdlib-js/streams-node-split@v0.2.2-deno/mod.js';
56+
import { factory, objectMode } from 'https://cdn.jsdelivr.net/gh/stdlib-js/streams-node-split@deno/mod.js';
5257
```
5358

5459
<a name="split-stream"></a>
@@ -177,7 +182,7 @@ This method accepts the same `options` as [`splitStream()`](#split-stream); howe
177182
```javascript
178183
import transformStream from 'https://cdn.jsdelivr.net/gh/stdlib-js/streams-node-transform@deno/mod.js';
179184
import stdout from 'https://cdn.jsdelivr.net/gh/stdlib-js/streams-node-stdout@deno/mod.js';
180-
import splitStream from 'https://cdn.jsdelivr.net/gh/stdlib-js/streams-node-split@v0.2.2-deno/mod.js';
185+
import splitStream from 'https://cdn.jsdelivr.net/gh/stdlib-js/streams-node-split@deno/mod.js';
181186
182187
function append( chunk, enc, clbk ) {
183188
clbk( null, chunk.toString()+'\n' );

0 commit comments

Comments
 (0)
0