Summarises opts types into index.js