Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

elm

Package Overview
Dependencies
Maintainers
3
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elm - npm Package Compare versions

Comparing version 0.19.0 to 0.19.1

download.js

28

package.json
{
"name": "elm",
"version": "0.19.0",
"description": "The Elm Platform: Binaries for the Elm programming language.",
"main": "index.js",
"version": "0.19.1",
"description": "Installer for Elm: just downloads the binary into node_modules",
"preferGlobal": true,

@@ -15,15 +14,15 @@ "license": "BSD-3-Clause",

"author": {
"name": "Richard Feldman",
"email": "richard.t.feldman@gmail.com",
"url": "https://github.com/rtfeldman"
"name": "Evan Czaplicki",
"email": "evan@elm-lang.org",
"url": "https://github.com/evancz"
},
"engines": {
"node": ">=4.0.0"
"node": ">=7.0.0"
},
"scripts": {
"install": "binwrap-install",
"prepublishOnly": "binwrap-test"
"install": "node install.js"
},
"files": [
"index.js",
"install.js",
"download.js",
"bin",

@@ -37,10 +36,9 @@ "bin/elm"

"elm",
"platform"
"install",
"installer"
],
"bin": {
"elm": "bin/elm"
},
"bin": "bin/elm",
"dependencies": {
"binwrap": "0.1.4"
"request": "^2.88.0"
}
}

@@ -1,38 +0,34 @@

npm install elm [![Travis build Status](https://travis-ci.org/elm-lang/elm-platform.svg?branch=master)](http://travis-ci.org/elm-lang/elm-platform) [![AppVeyor build status](https://ci.appveyor.com/api/projects/status/6mcub79i04ianpm9/branch/master?svg=true)](https://ci.appveyor.com/project/rtfeldman/elm-platform/branch/master)
===============
# npm install elm
Install the [Elm Platform](https://github.com/elm-lang/elm-platform) via [`npm`](https://www.npmjs.com).
[Elm](https://elm-lang.org) is a functional programming language that compiles to JavaScript.
## Installing
There are installers for Mac and Windows available [here](https://github.com/elm/compiler/releases/tag/0.19.1). There are also binaries for direct download. These are the most reliable ways to install Elm.
Run this to get the binaries:
This package tries to download those binaries with `npm`. It is sometimes used by people intergating Elm into existing projects or workflows.
```
$ npm install -g elm
```
<br/>
## Installing behind a proxy server
If you are behind a proxy server, set the environment variable "HTTPS_PROXY".
## Install
The following command should download the `elm` binary:
```
$ export HTTPS_PROXY=$YourProxyServer$
$ npm install -g elm
npm install -g elm
```
Or on Windows:
If this runs successfully, the `elm` binary should be available at:
```
$ set HTTPS_PROXY=$YourProxyServer$
$ npm install -g elm
```
- `/usr/local/bin/elm` on Mac and Linux
- `C:\Users\YOUR_NAME\AppData\Roaming\npm\` on Windows
## Troubleshooting
It should be possible to run `elm` from your terminal after this.
1. [Troubleshooting npm](https://github.com/npm/npm/wiki/Troubleshooting)
2. On Debian/Ubuntu systems, you may have to install the nodejs-legacy package: `apt-get install nodejs-legacy`.
3. If the installer says that it cannot find any usable binaries for your operating system and architecture, check the [Build from Source](https://github.com/elm-lang/elm-platform/blob/master/README.md#build-from-source) documentation.
If you run into trouble, check out [troubleshooting.md](troubleshooting.md).
## Getting Started
<br/>
Once everything has installed successfully, head over to the [Get Started](http://elm-lang.org/Get-Started.elm) page!
## What is next?
Head over to [The Official Guide](https://guide.elm-lang.org/) to start learning Elm!

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc