Revert "revert back to npm package"

This reverts commit ff84343ec7cdea2abc9eec67e659a7352795b393.