File writer for aster.
This module is part of aster and is available via aster.dest
.
You use it in build scripts whenever you want to generate and write out processed files into folder:
var aster = require('aster');
aster.src([
'**/*.js',
'!node_modules/**'
])
.map(plugin1(optionsForPlugin1))
.map(plugin2(optionsForPlugin2))
// ...
.map(aster.dest('dist', {sourceMap: true}))
.subscribe(aster.runner);
Type: Rx.Observable
<{path: string, contents: string}>
Type: String
Destination folder.
Type: Object
aster-generate/escodegen code generation options.