UNPKG

deepdash

Version:

➔ 𝐃eep standalone lib / 𝐋odash extension: ✓ eachDeep ✓ filterDeep ✓ mapDeep ✓ reduceDeep ✓ pickDeep ✓ omitDeep ✓ keysDeep ✓ index ✓ condenseDeep ⋮ Parents stack ⋮ Circular check ⋮ Leaves only mode ⋮ Children mode ⋮ cherry-pick ⋮ esm

12 lines (9 loc) 304 B
var arstr = require('../arstr'); module.exports = function (methodName) { let capMethodName = arstr.upFirst(methodName); return `/* build/tpl */ import deps from '../deps/${methodName}.js'; import get${capMethodName} from './get${capMethodName}.js'; export default get${capMethodName}(deps); `; };