llafuente / curt

Minify Javascript just enough to be readable and you can write better oneliners.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

curt

adjective

rudely brief.

Minify Javascript just enough to be readable and you can write better oneliners.

Globals

|----------|---------------| | curt | 'myself' :) | | stdout | console.log | | stderr | console.error | | _ | lodash | | _m | moment |

Prototypes

|----------|-------------------| | [].each | [].forEach |

Exports

require("curt").stdin(callback, format)

read everything from stdin and call callback with it.

format: json, null

require("curt").stdin_get(json_path)

read everything from stdin (json) and print given path

require("curt").escape(arg)

Escape argument for bash usage

About

Minify Javascript just enough to be readable and you can write better oneliners.


Languages

Language:JavaScript 100.0%