UNPKG

vscode-projects-plus

Version:

An extension for managing projects. Feature rich, customizable, automatically finds your projects

27 lines (14 loc) 420 B
/* IMPORT */ import * as path from 'path'; import Utils from '../../utils'; import {fetchNPMDescription} from './npm'; /* PATH */ async function fetchPathDescription ( folderPath ) { const fetchers = [fetchNPMDescription]; for ( let fetcher of fetchers ) { const description = await fetcher ( folderPath ); if ( description ) return description; } } /* EXPORT */ export {fetchPathDescription};