Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including modinst with all npm packages installed. Try it out:

var modinst = require("modinst")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

modinst v0.0.2

A highly experimental alternative module installer

modinst

A highly experimental alternative module installer

Installation

You can install this module normally using npm.

npm install --global modinst

Usage

Download and compile the Symlinks Just Work branch of node, if you haven't already.

git clone --branch v7.2.0-sjw https://github.com/zkochan/node

Be sure to set your path and environment correctly to enable its features.

# ~/.bashrc
# Note, I'm using git-bash on windows... adjust paths accordingly.
export PATH="/c/NodeJSSourceCode/node/Release/:$HOME/.store/v1/node_modules/.bin:$PATH"
export NODE_SUPPORT_SYMLINKS=1

For now, I will just provide an example:

TODO: embed asciinema demo

Tests

Tests presuppose that you know what to expect. I really don't know what to expect. Things could change dramatically.

License

Unless stated otherwise all works are:

  • Copyright © William Hilton

and licensed under:

Parts of this file are based on package-json-to-readme

README.md (and other files) are maintained using mos and projectz

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free