into-stream

WebJar for into-stream

Лицензия

Лицензия

MIT
Группа

Группа

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

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

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

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

3.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

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

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

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

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

https://github.com/sindresorhus/into-stream

Скачать into-stream

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

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

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.webjars.npm : from2 jar [2.1.1,3)
org.webjars.npm : p-is-promise jar [1.1.0,2)

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

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

into-stream Build Status

Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream

Correctly chunks up the input and handles backpressure.

Install

$ npm install into-stream

Usage

const intoStream = require('into-stream');

intoStream('unicorn').pipe(process.stdout);
//=> 'unicorn'

API

intoStream(input)

Type: Buffer | TypedArray | ArrayBuffer | string | Iterable<Buffer | string> | AsyncIterable<Buffer | string> | Promise
Returns: Readable stream

Adheres to the requested chunk size, except for array where each element will be a chunk.

intoStream.object(input)

Type: object | Iterable<object> | AsyncIterable<object> | Promise
Returns: Readable object stream

Related

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

Версия
3.1.0