Skip to content

Files

Latest commit

 

History

History
 
 

juration

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

cljsjs/juration

A cljs interface to juration - A simple natural language duration parser written in javascript.

[cljsjs/juration "0.0.1-0"] ;; latest release

This jar comes with deps.cljs as used by the Foreign Libs feature of the ClojureScript compiler. After adding the above dependency to your project you can require the packaged library like so:

(ns application.core
  (:require cljsjs.juration))

Note: This extern pulls directly from a commit for 0.0.1 as there are no released downloads. If you know of one please submit a PR.

Example usage

(.parse js/juration "45m")
(.stringify js/juration 2000))