2016-01-27 10:29:26 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
Event code definitions.
|
|
|
|
@module core/default-formats
|
|
|
|
@license MIT. See LICENSE.md for details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/** Supported resume formats. */
|
|
|
|
|
|
|
|
(function() {
|
|
|
|
module.exports = [
|
|
|
|
{
|
|
|
|
name: 'html',
|
|
|
|
ext: 'html',
|
|
|
|
gen: new (require('../generators/html-generator'))()
|
|
|
|
}, {
|
|
|
|
name: 'txt',
|
|
|
|
ext: 'txt',
|
|
|
|
gen: new (require('../generators/text-generator'))()
|
|
|
|
}, {
|
|
|
|
name: 'doc',
|
|
|
|
ext: 'doc',
|
|
|
|
fmt: 'xml',
|
|
|
|
gen: new (require('../generators/word-generator'))()
|
|
|
|
}, {
|
|
|
|
name: 'pdf',
|
|
|
|
ext: 'pdf',
|
|
|
|
fmt: 'html',
|
|
|
|
is: false,
|
|
|
|
gen: new (require('../generators/html-pdf-cli-generator'))()
|
|
|
|
}, {
|
|
|
|
name: 'png',
|
|
|
|
ext: 'png',
|
|
|
|
fmt: 'html',
|
|
|
|
is: false,
|
|
|
|
gen: new (require('../generators/html-png-generator'))()
|
|
|
|
}, {
|
|
|
|
name: 'md',
|
|
|
|
ext: 'md',
|
|
|
|
fmt: 'txt',
|
|
|
|
gen: new (require('../generators/markdown-generator'))()
|
|
|
|
}, {
|
|
|
|
name: 'json',
|
|
|
|
ext: 'json',
|
|
|
|
gen: new (require('../generators/json-generator'))()
|
|
|
|
}, {
|
|
|
|
name: 'yml',
|
|
|
|
ext: 'yml',
|
|
|
|
fmt: 'yml',
|
|
|
|
gen: new (require('../generators/json-yaml-generator'))()
|
|
|
|
}, {
|
|
|
|
name: 'latex',
|
|
|
|
ext: 'tex',
|
|
|
|
fmt: 'latex',
|
|
|
|
gen: new (require('../generators/latex-generator'))()
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
}).call(this);
|
2016-02-02 02:14:36 +00:00
|
|
|
|
|
|
|
//# sourceMappingURL=default-formats.js.map
|