zeptomatch-is-static
A little utility for checking if a glob is fully static.
Last updated a year ago by fabiospampinato .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install zeptomatch-is-static 
SYNC missed versions from official npm registry.

Zeptomatch Is Static

A little utility for checking if a glob is fully static.

Escapes are considered to be static, so you should probably use this package in combination with zeptomatch-unescape to remove them.

Install

npm install zeptomatch-is-static

Usage

import isStatic from 'zeptomatch-is-static';

// Checking if a glob is fully static

isStatic ( 'foo' ); // true
isStatic ( 'foo/bar' ); // true
isStatic ( 'foo\\*bar' ); // true

isStatic ( '*' ); // false
isStatic ( '**' ); // false
isStatic ( 'foo*' ); // false
isStatic ( 'foo/**/*' ); // false
isStatic ( 'foo*bar' ); // false

License

MIT © Fabio Spampinato

Current Tags

  • 1.0.1                                ...           latest (a year ago)

2 Versions

  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (3)

Copyright 2013 - present © cnpmjs.org | Home |