make it work with npm