Specify Node.js version for npm pages


#1

Is there a way to specify which Node version should be used as default on npm package pages?

I have this in my package.json, yet the “try it out” link always defaults to Node v4:

  "engines": {
    "node": ">=6"
  },

If this isn’t implemented, I’d suggest looking at the engines key for the default version, and also allowing it to be overridden with a URL parameter.

(Props for the great service.)


#2

Can you tell us what package this is? This SHOULD already work, not sure what is up.

Thanks,

Francisco


#3

The package is unix-path: npmjs.com, runkit.com.


#4

Hi @lleaff. I think I know what the issue is on our end and will push a fix shortly. Thanks for your patience!