Socket
Socket
Sign inDemoInstall

node-elm-compiler

Package Overview
Dependencies
1
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    node-elm-compiler

A Node.js interface to the Elm compiler binaries. Supports Elm versions 0.15 - 0.16.


Version published
Weekly downloads
21K
increased by4.19%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

node-elm-compiler

Wraps Elm and exposes a Node API to compile Elm sources.

Obtains the elm-make executable to use in the following way:

  1. If you programmatically specify a path to elm-make through the API, runs that.
  2. If you do not, looks for an elm installation in node_modules and runs that.
  3. If that is not present, assumes elm-make is on your PATH and runs that.

Supports Elm versions 0.15 - 0.16

Example

$ npm install
$ cd examples
$ node compileHelloWorld.js

Keywords

FAQs

Last updated on 17 Oct 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc