0.1.8 • Published 1 year ago

@haskell-org/ghc-installer v0.1.8

Weekly downloads
-
License
BSD-3-Clause
Repository
gitlab
Last release
1 year 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

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago