{"name":"elm","version":"0.19.1-6","description":"Installer for Elm: just downloads the binary into node_modules","license":"BSD-3-Clause","repository":{"type":"git","url":"git+https://github.com/elm/compiler.git"},"homepage":"https://github.com/elm/compiler/tree/master/installers/npm","bugs":{"url":"https://github.com/elm/compiler/issues"},"author":{"name":"Evan Czaplicki","email":"evan@elm-lang.org","url":"https://github.com/evancz"},"engines":{"node":">=7.0.0"},"scripts":{"install":"node install.js"},"keywords":["bin","binary","binaries","elm","install","installer"],"bin":{"elm":"bin/elm"},"optionalDependencies":{"@elm_binaries/darwin_arm64":"0.19.1-0","@elm_binaries/darwin_x64":"0.19.1-0","@elm_binaries/linux_x64":"0.19.1-0","@elm_binaries/win32_x64":"0.19.1-0"},"_id":"elm@0.19.1-6","gitHead":"2f6dd29258e880dbb7effd57a829a0470d8da48b","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-mKYyierHICPdMx/vhiIacdPmTPnh889gjHOZ75ZAoCxo3lZmSWbGP8HMw78wyctJH0HwvTmeKhlYSWboQNYPeQ==","shasum":"b6f51d0add8877de70592097a8f6efc4588c476a","tarball":"http://registry-npm.ywwl.com/elm/download/elm-0.19.1-6.tgz","fileCount":5,"unpackedSize":7745,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD96zHyjmQYIcJkyiw/XRWtMpbMFfr/foqWmhREokriPwIhAPeeDdjhKCQLfwJZstBqy/tgWUNF84mPKDQUY7yU7LAN"}],"size":3370,"noattachment":false,"key":"/elm/-/elm-0.19.1-6.tgz"},"_npmUser":{"name":"evancz","email":"evan@elm-lang.org"},"directories":{},"maintainers":[{"name":"evancz","email":"evan@elm-lang.org"},{"name":"rtfeldman","email":"oss@rtfeldman.com"},{"name":"brianhicks","email":"brian@brianthicks.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm_0.19.1-6_1698852378657_0.7828982580494503"},"_hasShrinkwrap":false,"readme":"# Elm Installer\n\n[Elm](https://elm-lang.org) is a functional programming language that compiles to JavaScript.\n\nHead over to [The Official Guide](https://guide.elm-lang.org/) to start learning Elm!\n\n\n<br/>\n\n## What is this package for?\n\nFor normal installs, I reccomend using the instructions [here](https://guide.elm-lang.org/install/elm.html) instead. This package is only for people who enjoy using `npm` even when it is not necessary, or for people who want to use `npm` for certain scenarios such as:\n\n**Multiple versions**\n\nPeople using Elm at work may use different versions of Elm in different projects. They can run `npm install elm@latest-0.19.1` in each project and use the binary at `./node_modules/.bin/elm` for compilation.\n\n**Continuous integration**\n\nThe `npm` installer works for this, but there are faster and more reliable options:\n\n1. You can download `elm` directly from GitHub with [this script](https://github.com/elm/compiler/blob/master/installers/linux/README.md). This allows you to skip `npm` entirely.\n2. Many continuous integration have ways to cache files ([example](https://docs.travis-ci.com/user/caching/)) to make builds faster and more reliable. This is the ideal setup.\n\nThat said, it works to use the `npm` installer on CI if you prefer that option.\n\n\n<br/>\n\n## Install Locally\n\nThe following command should download the latest Elm 0.19.1 binary:\n\n```\nnpm install elm@latest-0.19.1\n```\n\nYou should be able to run `./node_modules/bin/elm --version` within your project and see `0.19.1`. Now you can compile with `./node_modules/bin/elm make src/Main.elm` and not disrupt other packages.\n\nUse `npm install elm@latest-0.19.0` or `npm install elm@latest-0.18.0` for earlier versions.\n\n**Note:** The `latest-X.Y.Z` convention is used in case we need to publish patches for the `npm` installer within a given Elm release. For example, say `npm` decides that some transitive dependency is not secure. Nothing is changing about Elm or the binaries, but we need to publish a new `npm` installer that fixes this issue.\n\n","publish_time":1698852378933,"_cnpm_publish_time":1698852378933,"dist-tags":{"elm0.18.0":"0.18.0-exp5","elm0.19.0":"0.19.0-no-deps","latest":"0.19.3-0","latest-0.18.0":"0.18.0-exp5","latest-0.19.0":"0.19.0-no-deps","latest-0.19.1":"0.19.1-5","latest-0.19.2":"0.19.2-0","latest-0.19.3":"0.19.3-0"}}