Typedefs commandline tool
Last updated a year ago by wires .
AGPL-3.0-or-later · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install typedefs 
SYNC missed versions from official npm registry.

Build Status

Typedefs Commandline Tool

Use the Typedefs JS library from the commandline.

Note: this is for the convenience of NPM users, there is nothing JS or NPM specific about the Typedefs compiler and it can be installed without NPM. See https://github.com/typedefs/typedefs for more information.


To install this tool globally from NPM, run

# https://npm.im/typedefs
npm install -g typedefs


Usage: typedefs-cli [options] [command]

  -V, --version  output the version number
  -h, --help     output usage information

  codegen        generate code from S-expression
  help [cmd]     display help for [cmd]

Using the code generator:

echo "(name Bit (+ 1 1))" | typedefs codegen --target json


  -i, --input [filename]   File to read input from
  -o, --output [filename]  File to write output to
  --force                  Force file overwrite
  -t, --target [platform]  Target platform: "haskell", "reasonml" or "json"

Current Tags

  • 0.0.3                                ...           latest (a year ago)

3 Versions

  • 0.0.3                                ...           a year ago
  • 0.0.2                                ...           a year ago
  • 0.0.1                                ...           a year ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 3
Dependencies (3)
Dev Dependencies (0)
Dependents (0)

Copyright 2014 - 2016 © taobao.org |