package into npm module