glob2base

WebJar for glob2base

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

glob2base
Last Version

Last Version

0.0.12
Release Date

Release Date

Type

Type

jar
Description

Description

glob2base
WebJar for glob2base
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/wearefractal/glob2base

Download glob2base

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : find-index jar [0.1.1,0.2)

Project Modules

There are no modules declared in this project.

glob2base NPM version Downloads Support us Build Status Coveralls Status

Information

Package glob2base
Description Extracts a base path from a node-glob instance
Node Version >= 0.10

Usage

The module is a function that takes in a node-glob instance and returns a string. Basically it just gives you everything before any globbing/matching happens.

var glob2base = require('glob2base');
var glob = require('glob');

// js/
glob2base(new glob.Glob('js/**/*.js'));

// css/test/
glob2base(new glob.Glob('css/test/{a,b}/*.css'));

// pages/whatever/
glob2base(new glob.Glob('pages/whatever/index.html'));
org.webjars.npm

Fractal

Versions

Version
0.0.12