Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joonhocho/superwild
Extremely fast, optimized, compilable wildcard pattern matching without using RegExp, which is slow.
https://github.com/joonhocho/superwild
Last synced: about 1 month ago
JSON representation
Extremely fast, optimized, compilable wildcard pattern matching without using RegExp, which is slow.
- Host: GitHub
- URL: https://github.com/joonhocho/superwild
- Owner: joonhocho
- License: mit
- Created: 2019-08-02T19:28:22.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T06:11:51.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T23:46:29.715Z (2 months ago)
- Language: TypeScript
- Size: 895 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# superwild
Extremely fast, optimized, compilable wildcard pattern matching without using RegExp (slow) with zero dependencies.[![npm version](https://badge.fury.io/js/superwild.svg)](https://badge.fury.io/js/superwild)
[![npm](https://img.shields.io/npm/dw/superwild.svg)](https://www.npmjs.com/package/superwild)
![npm type definitions](https://img.shields.io/npm/types/superwild.svg)
[![Build Status](https://travis-ci.org/joonhocho/superwild.svg?branch=master)](https://travis-ci.org/joonhocho/superwild)
[![Dependency Status](https://david-dm.org/joonhocho/superwild.svg)](https://david-dm.org/joonhocho/superwild)
[![GitHub](https://img.shields.io/github/license/joonhocho/superwild.svg)](https://github.com/joonhocho/superwild/blob/master/LICENSE)## Get Started
```
npm install -D superwild
```
or
```
yarn add -D superwild
```## How to Use
```typescript
import {
BuildPath,
ICompilePathOptions,
IPathParams,
compilePathWithParams,
startsWith,
WildcardPathMatcher,
getWildcardStringPathMatcher,
getWildcardStringMatcher
} from 'superwild';
```## License
[MIT License](https://github.com/joonhocho/superwild/blob/master/LICENSE)