const {Bundler} = require('cara')
const bundler = new Bundler()
const project = bundler.project({
root: '/path/to/cwd',
types: ['js'],
})
const bundle = project.bundle({
dev: true,
platform: 'ios',
})
project.crawl({
exclude: ['*.test.js'],
})
const code = await bundle.read()
Ready to dive deeper? [Read this in-depth guide]() or view the [API documentation]().