UNPKG

ibowankenobi-i-pv

Version:

Interactive Protein Sequence VIsualization/Viewer - Interactive Circos

17 lines (16 loc) 354 B
/* gets the full path string to a binary with fName ex: getNodeBinaries("cross-env-shell") */ const {getInfo} = require('./getInfo.js'), path = require("path"); module.exports = async function(...args){ const info = await getInfo(); return Object.assign( {}, ...args.map(d => { return {[d]: path.resolve(info.nodeBinaries, d)}; }) ); };