UNPKG

@modyo/widget

Version:

is a widget boilerplater

8 lines (6 loc) 235 B
import path from 'path' import { ls } from './fs-helpers.js' export default ({ widgetCategory, tempGitPath }) => { const list = ls(path.resolve(tempGitPath, widgetCategory)) return list.filter((element) => !element.match(/\./)) }