Background: I'm working on a native plugin mechanism for LevelDOWN, the pure-native component of LevelUP. Module authors can write native code and communicate with LevelDOWN via JS to provide a plugin to extends its functionality. LevelDOWN has to export symbols in its gyp build and plugins have to be able to find LevelDOWN in the require()
path in order to link to it and include header files. The majority of people will be using/installing LevelUP which installs LevelDOWN. The is an additional JS-layer plugin mechanism being developed for LevelUP but that's a separate matter.
Make a new directory, put the package.json below in it and npm install
. At first it breaks, run npm install
again and it's fine.
The desired npm ls
is this:
tmp@0.0.0