making it work with npm