regenerate lib/index.js