rpominov · GitHub

ReScript bindings for picomatch

Installation

npm i rescript-picomatch

In your bsconfig.json add it to bs-dependencies

{
  ...,
  "bs-dependencies": [..., "rescript-picomatch"],
}

Example

let isMatch = Picomatch.match("*.js")
Js.log(isMatch("abcd")) //=> false
Js.log(isMatch("a.js")) //=> true
Js.log(isMatch("a.md")) //=> false
Js.log(isMatch("a/b.js")) //=> false

About

ReScript bindings for picomatch

Topics

Resources

Readme

MIT license

Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks

Releases

Packages

Used by

Contributors

Languages

Read the original on github.com ↗