take options
include index and indexDeps when opts.index is true
document opts.index
forgot to track package.json, whoops