0.0.2 • Published 6 years ago

cara v0.0.2

Weekly downloads
6
License
-
Repository
-
Last release
6 years ago

cara v0.0.2 experimental

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.