# node-elm-interface-to-json

> A Javascript version of elm-interface-to-json

Latest version **0.0.3** (published 2017-08-07) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install node-elm-interface-to-json
pnpm add node-elm-interface-to-json
yarn add node-elm-interface-to-json
bun add node-elm-interface-to-json
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: insecure dependencies; abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2017-08-07 |
| First published | 2017-08-06 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 6 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | eeue56 |
| Maintainers | eeue56 |
| Keywords | elm, interface, json |

## Links

- npm: https://www.npmjs.com/package/node-elm-interface-to-json
- Repository: https://github.com/eeue56/node-elm-interface-to-json
- Homepage: https://github.com/eeue56/node-elm-interface-to-json#readme
- Issues: https://github.com/eeue56/node-elm-interface-to-json/issues
- npm.io page: https://npm.io/package/node-elm-interface-to-json

## Dependencies (6)

- [mz](https://npm.io/package/mz.md) ^2.6.0
- [@types/mz](https://npm.io/package/@types/mz.md) 0.0.31
- [@types/node](https://npm.io/package/@types/node.md) ^8.0.19
- [es6-promise](https://npm.io/package/es6-promise.md) ^4.1.1
- [binary-parser](https://npm.io/package/binary-parser.md) git://github.com/shamansir/binary-parser.git#with-loophole
- [@types/es6-promise](https://npm.io/package/@types/es6-promise.md) 0.0.32

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.0.3 (latest) — 2017-08-07
- 0.0.2 — 2017-08-07
- 0.0.1 — 2017-08-06

## README

# node-elm-interface-to-json

A Javascript version of elm-interface-to-json.

## Install

```
npm install --save node-elm-interface-to-json
```

The library is intended to be used in order to gain information about a compiled Elm project. 
This information is particularly useful in order to generate valid Elm code.

Unlike @stoeffel's [elm-interface-to-json](https://github.com/stoeffel/elm-interface-to-json/), this project is written only in JS, meaning that library interop is a little easier to work with.

The parser is based on @shamansir's [node-elm-repl](https://github.com/shamansir/node-elm-repl) project. 


## Usage

```
import getExportedInterfaces from "node-elm-interface-to-json";
getExportedInterfaces("./example", "0.18.0")
.then(modules => {
    modules.map((module) => {
        console.log(module.moduleName);
        console.log(module.exports);
    });
});

```

---
_Source: https://npm.io/package/node-elm-interface-to-json · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
