Pub to npm2