Npm handler for composer