Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

Hanami

Build Status

A Clojure utility library for Heroku web applications.

Installation

Add the following dependency to your project.clj:

[hanami "0.1.0"]

Usage

Hanami currently just has one multimethod, jdbc-uri, that can be used to change a Heroku DATABASE_URL value into a JDBC connection string.

(require '[hanami.core :as hanami])

(hanami/jdbc-uri "postgres://foo:foo@heroku.com:5432/hellodb")
=> "jdbc:postgresql://heroku.com:5432/hellodb?user=foo&password=foo"

License

Copyright © 2014 James Reeves

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

A Clojure utility library for Heroku web applications

Resources

Packages

No packages published