Skip to content

aleclarson/cara

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cara v0.1.0 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.