/superwild

Extremely fast, optimized, compilable wildcard pattern matching without using RegExp, which is slow.

Primary LanguageTypeScriptMIT LicenseMIT

superwild

Extremely fast, optimized, compilable wildcard pattern matching without using RegExp (slow) with zero dependencies.

npm version npm npm type definitions Build Status Dependency Status GitHub

Get Started

npm install -D superwild

or

yarn add -D superwild

How to Use

import {
  BuildPath,
  ICompilePathOptions,
  IPathParams,
  compilePathWithParams,
  startsWith,
  WildcardPathMatcher,
  getWildcardStringPathMatcher,
  getWildcardStringMatcher
} from 'superwild';

License

MIT License