UNPKG

flowviz

Version:

A framework which provides seamless integration with other phylogenetic tools and frameworks, while allowing workflow scheduling and execution, through the Apache Airflow workflow system.

8 lines (6 loc) 186 B
function onSuccess(res, data, code = 200) { res.statusCode = code; res.setHeader("content-type", "application/json"); res.end(JSON.stringify(data)); } module.exports = onSuccess;