module-ify for npm