globjoin

WebJar for globjoin

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

globjoin
Last Version

Last Version

0.1.4
Release Date

Release Date

Type

Type

jar
Description

Description

globjoin
WebJar for globjoin
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/amobiz/globjoin

Download globjoin

How to add to project

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

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.

globjoin

Join paths and globs.

MIT npm version David Dependency Badge Build Status

NPM NPM

Install

$ npm install globjoin

API

globjoin(globs...)

Join paths and globs.

Like Node's path.join() that join all arguments together and normalize the resulting path, globjoin takes arbitrary number of paths and/or arrays of paths, join them together and take care of negative globs.

Context

Don't care.

Parameters

paths/globs

The paths/globs or arrays of paths/globs to join.

Returns

The result glob, or array of globs if any of paths/globs are array.

Example

var join = require('globjoin');
var globs1 = join(__dirname, ['**/*.js', '!**/test*.js']);
var globs2 = join('test', 'fixture', 'app', ['views', '!services'], ['**/*', '!*.{js,json,coffee,ts}']);

Check out test for more examples.

Issues

Issues

Test

$ npm test

Changelog

Changelog

License

MIT

Author

Amobiz

Versions

Version
0.1.4