simple-concat

WebJar for simple-concat

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

simple-concat
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

simple-concat
WebJar for simple-concat
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/feross/simple-concat

Download simple-concat

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

simple-concat travis npm downloads javascript style guide

Super-minimalist version of concat-stream. Less than 15 lines!

install

npm install simple-concat

usage

This example is longer than the implementation.

var s = new stream.PassThrough()
concat(s, function (err, buf) {
  if (err) throw err
  console.error(buf)
})
s.write('abc')
setTimeout(function () {
  s.write('123')
}, 10)
setTimeout(function () {
  s.write('456')
}, 20)
setTimeout(function () {
  s.end('789')
}, 30)

license

MIT. Copyright (c) Feross Aboukhadijeh.

Versions

Version
1.0.1
1.0.0