fix double first option
use latest npm pkg; other minor formatting