Package Exports
- globalyzer
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (globalyzer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
globalyzer 

Detect and extract the static part of a glob string
Utility to detect if a string contains a glob and then split it in a glob and none-glob part.
Install
npm install globalyzer --saveUsage
const globalyzer = require('globalyzer');
globalyzer('foo/bar/.git/');
// => { base: 'foo/bar/.git/', glob: '', isGlob: false }
globalyzer('foo/bar/**/baz');
// => { base: 'foo/bar', glob: '**/baz', isGlob: true }API
globalyzer(glob, options)
Type: function
Returns: { base, glob, isGlob }
Returns an object with the (non-glob) base path and the actual pattern and a is-glob flag.
options.strict
Type: Boolean
Default: true
Be strict about what's a glob and what's not
glob
Type: String
Glob string to analyze.
Credit
This is a fork of is-glob and glob-base
License
MIT © Terkel Gjervig