packaged for npm