for npm packaging