0.1.8 • Published 10 months ago

@haskell-org/ghc-installer v0.1.8

Weekly downloads
-
License
BSD-3-Clause
Repository
gitlab
Last release
10 months ago

ghc-installer

NPM wrapper for ghcup-hs.

Usage

At postinstall, the minimal installation of ghcup is being made in your local node_modules. The library exposes two functions:

// run the given currently-set component (ghc / cabal) with args and additional options for `execa`
async function run(component, args = [], opts = {})

// install and set a given component (ghc / cabal).
async function install(component, version)

Note installing ghc requires emsdk/emconfigure in PATH. The needed version is installed and activated accordingly. Similar functionality is also exposed if you use the package as executable.

0.1.8

10 months ago

0.1.7

10 months ago

0.1.6

10 months ago

0.1.5

10 months ago

0.1.4

10 months ago

0.1.3

10 months ago

0.1.2

10 months ago

0.1.1

10 months ago

0.1.0

10 months ago