/bs-glob

BuckleScript bindings to node-glob

Primary LanguageOCamlMIT LicenseMIT

bs-glob

BuckleScript bindings to node-glob.

Status: Very basic, but functional

Example

Glob.glob("**/*.js", (_, files) => Array.iter(Js.log, files));

Installation

npm install --save reasonml-community/bs-glob

Then add bs-glob to bs-dependencies in your bsconfig.json:

{
  ...
  "bs-dependencies": ["bs-glob"]
}