rescript-picomatch

0.1.1 • Public • Published

rescript-picomatch

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

Readme

Keywords

Package Sidebar

Install

npm i rescript-picomatch

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

9.64 kB

Total Files

6

Last publish

Collaborators

  • pozadi