Fix npm integration