0.0.3 • Published 7 years ago

elm-interface-to-json v0.0.3

Weekly downloads
2
License
BSD-3-Clause
Repository
github
Last release
7 years ago

elm-interface-to-json

Reads all elm files of a project and returns a list of modules with there functions.

Installation

$ npm i elm-interface-to-json -g

Usage

$ elm-interface-to-json --path ./test/ # default path is current working dir

Output

[
   {
      "moduleName":"Foo.Bar",
      "types":[
         {
            "signature":"Int -> Int -> Int",
            "name":"moo"
         }
      ]
   },
   {
      "moduleName":"Main",
      "types":[
         {
            "signature":"Int -> Int -> Int",
            "name":"add"
         },
         {
            "signature":"Int -> Int -> Int",
            "name":"addHelper"
         }
      ]
   }
]
0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago