Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

paf31/purescript-sammy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

purescript-sammy

Maintainer: paf31 Sammy: 0.7.6

PureScript bindings for Sammy.js, a Javascript, browser-based Sinatra-clone.

Features

  • HTTP verbs: GET, PUT, POST, DELETE
  • Extraction of parameters with params, returns a list of parameters with a name, empty list if no parameter present, single element if only one parameter exists.
  • Sammy.js events and event bindings (only by string-name for now)
  • Redirect to a route

Usage

To build the test project, clone this repo and then run:

pulp dep update
pulp build
pulp test -r cat > examples/index.js

To use this library in your own project:

pulp dep i purescript-sammy

About

PureScript bindings for Sammy.js, a Javascript, browser-based Sinatra-clone.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •