using npm on the client side