fstream-ignore

WebJar for fstream-ignore

License

License

ISC
Categories

Categories

FST Data Data Formats Serialization
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

fstream-ignore
Last Version

Last Version

1.0.5
Release Date

Release Date

Type

Type

jar
Description

Description

fstream-ignore
WebJar for fstream-ignore
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/npm/fstream-ignore

Download fstream-ignore

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
org.webjars.npm : fstream jar [1.0.0,2)
org.webjars.npm : inherits jar [2,3)
org.webjars.npm : minimatch jar [3.0.0,4)

Project Modules

There are no modules declared in this project.

fstream-ignore

A fstream DirReader that filters out files that match globs in .ignore files throughout the tree, like how git ignores files based on a .gitignore file.

Here's an example:

var Ignore = require("fstream-ignore")
Ignore({ path: __dirname
       , ignoreFiles: [".ignore", ".gitignore"]
       })
  .on("child", function (c) {
    console.error(c.path.substr(c.root.path.length + 1))
  })
  .pipe(tar.Pack())
  .pipe(fs.createWriteStream("foo.tar"))

This will tar up the files in __dirname into foo.tar, ignoring anything matched by the globs in any .iginore or .gitignore file.

org.webjars.npm

npm

node package manager

Versions

Version
1.0.5
1.0.3