init(package): add npm packages and set up index.js