UNPKG
apeman-doc
Version:
latest (5.0.5)
5.0.5
5.0.4
5.0.3
5.0.2
5.0.1
5.0.0
4.0.3
4.0.2
4.0.1
4.0.0
3.0.0
2.3.3
2.3.2
2.3.1
2.3.0
2.2.0
2.1.0
2.0.3
2.0.2
2.0.1
2.0.0
1.1.3
1.1.2
1.1.1
1.1.0
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Document generator for apeman.
github.com/apeman-cmd-labo/apeman-doc
apeman-cmd-labo/apeman-doc
apeman-doc
/
lib
/
bud
/
_tmpl.js
18 lines
(12 loc)
•
247 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/** * Resolve template. *
@function
_tmpl
*/
'use strict'
const
path =
require
(
'path'
)
let
tmplDir =
`
${__dirname}
/../../asset/tmpl`
/**
@lends
_tmpl */
function
_tmpl
(
name
) {
return
path.
resolve
(tmplDir, name) }
module
.
exports
= _tmpl