UNPKG

berlioz

Version:

Berlioz - cloud deployment and migration services

10 lines (8 loc) 372 B
const Path = require('path'); module.exports.newNativeProcessor = function(logger, helper) { const NativeProcessor = require('./processing/native-processor'); return new NativeProcessor(logger.sublogger('NativeProcessor'), helper); } module.exports.getModelsDir = function(providerKind) { return Path.join(__dirname, 'processing', 'models', providerKind); }