add `through` to package.json & fix extensions param error