write-stream

WebJar for write-stream

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

write-stream
Последняя версия

Последняя версия

0.4.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

write-stream
WebJar for write-stream
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/Raynos/write-stream

Скачать write-stream

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/write-stream/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>write-stream</artifactId>
    <version>0.4.3</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/write-stream/
implementation 'org.webjars.npm:write-stream:0.4.3'
// https://jarcasting.com/artifacts/org.webjars.npm/write-stream/
implementation ("org.webjars.npm:write-stream:0.4.3")
'org.webjars.npm:write-stream:jar:0.4.3'
<dependency org="org.webjars.npm" name="write-stream" rev="0.4.3">
  <artifact name="write-stream" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='write-stream', version='0.4.3')
)
libraryDependencies += "org.webjars.npm" % "write-stream" % "0.4.3"
[org.webjars.npm/write-stream "0.4.3"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.webjars.npm : readable-stream jar [0.0.2,0.1)

Модули Проекта

Данный проект не имеет модулей.

write-stream

Base class for writable streams

Example array

var toArray = require("write-stream").toArray
    , array = []
    , stream = toArray(array, function end() {
        /* never called as process.stdin does not end */
    })

process.stdin.pipe(stream)

setInterval(function () {
    // peek at the buffered array of chunks from stdin every second
    console.log(array)
}, 1000)

Example function

var WriteStream = require("write-stream")
    , stream = WriteStream(function write(chunk) {
        // chunks from stdin
    })

process.stdin.pipe(stream)

Installation

npm install write-stream

Contributors

  • Raynos

MIT Licenced

Версии библиотеки

Версия
0.4.3