initialize npm and index.js