wavy2
v1.0.10
Published
use `~` in require and import calls
Downloads
5
Readme
wavy
use ~ in require and import calls
install
npm install --save wavy
This module let's you turn things like require('../../../../foo')
into something likerequire('~/foo')
. The way it works is that on postinstall it creates a symlink in app/node_modules/~
to point to app/
Tested on Mac, Linux and Windows