npm modularized