post-install-elm

1.1.0 • Public • Published

post-install-elm

Use NPM for managing elm deps

Install

npm install --save post-install-elm

How to use

This package is intendend to enable you to use npm to host your Elm packages. It works by downloading an Elm package from github when passed in.

Add this script as a post install script to your npm package, with the desired package and version.

const install = require('post-install-elm');
 
install("https://github.com/eeue56/elm-ffi", "1.0.0").then( () => {
    console.log('Installed!')
}).catch((err) => {
    console.error("Something went wrong when installing!");
    console.error(err);
});

Readme

Keywords

Package Sidebar

Install

npm i post-install-elm

Weekly Downloads

0

Version

1.1.0

License

BSD-3-Clause

Last publish

Collaborators

  • eeue56