from2-string

WebJar for from2-string

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

from2-string
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

from2-string
WebJar for from2-string
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/yoshuawuyts/from2-string

Download from2-string

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : from2 jar [2.0.3,3)

Project Modules

There are no modules declared in this project.

from2-string

NPM version build status Test coverage Downloads js-standard-style

Create a stream from a string. Sugary wrapper around from2.

Installation

$ npm install from2-string

Usage

const fromString = require('from2-string')

fromString('hello world').pipe(process.stdout)

Why

In order to use from2 with strings, you must write some boilerplate to break the string in correctly sized chunks. This module handles that boilerplate for you, so you can directly source from a string.

See Also

  • from2 - Convenience wrapper for ReadableStream, with an API lifted from "from" and "through2"
  • from2-array - Create a from2 stream based on an array of source values

License

MIT

Versions

Version
1.1.0