modify for npm package