Skip to content

bkase/bs-director

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bs-director

BuckleScript bindings to the Director router.

npm i bs-director

Usage

let router =
  DirectorRe.makeRouter {
    "/": fun () => Js.log "Navitaged to tasks list",
    "/active": fun () => Js.log "Navitaged active tasks list",
    "/completed": fun () => Js.log "Completed a task"
  };

DirectorRe.init router "/";

About

BuckleScript bindings to the Director router

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • OCaml 100.0%