Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/noredink/find-elm-dependencies

Find elm dependencies for a given entry
https://github.com/noredink/find-elm-dependencies

Last synced: 3 months ago
JSON representation

Find elm dependencies for a given entry

Awesome Lists containing this project

README

        

find-elm-dependencies
=====================

> Find elm dependencies of a given entry file.

## Installation

```bash
$ npm i find-elm-dependencies -S
```

## Usage

```js
var findAllDependencies = require('find-elm-dependencies').findAllDependencies;

findAllDependencies('./path/to/Main.elm')
.then(function(dependencies) {
console.log(dependencies);
});

```

This was extracted from https://github.com/rtfeldman/node-elm-compiler