More robust jvm-npm.