BuckleScript bindings to node-glob.
Status: Very basic, but functional
Glob.glob("**/*.js", (_, files) => Array.iter(Js.log, files));
let _ = Glob.glob "**/*.js" (fun _ -> fun files -> Array.iter Js.log files)
npm install --save reasonml-community/bs-glob
Then add bs-glob
to bs-dependencies
in your bsconfig.json
:
{
...
"bs-dependencies": ["bs-glob"]
}