File tree 2 files changed +12
-6
lines changed
2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 2
2
3
3
# TemplGen
4
4
5
- <img alt =" TemplGen Logo " width =" 300px " height =" 300px " src =" /media/logo.png " >
5
+ <img alt =" TemplGen Logo " width =" 300px " height =" 300px " src =" . /media/logo.png" >
6
6
7
7
Extensible template based file generator
8
8
@@ -16,9 +16,15 @@ Extensible template based file generator
16
16
17
17
<hr />
18
18
19
+ TemplGen is a small and extensible template based file generator module that
20
+ provides a simple API for creating code scaffolding tools.
21
+
22
+ It borrows some ideas from [ Nx] ( https://nx.dev/ ) but it is meant to be used as a
23
+ building block for creating CLI tools rather than being a full fledged tool
24
+ itself.
25
+
19
26
## Features
20
27
21
- - Easy to use TypeScript API
22
28
- ESM and CommonJS support
23
29
- Support for copying binary files as well as rendering template files
24
30
- Variable substitution in file names
@@ -61,7 +67,7 @@ await fileGenerator.generate(
61
67
);
62
68
```
63
69
64
- See [ example] ( https://github.com/fardjad/node-templgen/tree/main /example) for a working example.
70
+ See [ example] ( . /example) for a working example.
65
71
66
72
### Advanced Usage
67
73
Original file line number Diff line number Diff line change 7
7
" generate" ,
8
8
" generator"
9
9
],
10
- "homepage" : " https://github.com/fardjad/templgen" ,
10
+ "homepage" : " https://github.com/fardjad/node- templgen" ,
11
11
"bugs" : {
12
- "url" : " https://github.com/fardjad/templgen/issues"
12
+ "url" : " https://github.com/fardjad/node- templgen/issues"
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
16
- "url" :
" git+ssh://[email protected] /fardjad/templgen.git"
16
+ "url" :
" git+ssh://[email protected] /fardjad/node- templgen.git"
17
17
},
18
18
"license" : " MIT" ,
19
19
"author" :
" Fardjad Davari <[email protected] >" ,
You can’t perform that action at this time.
0 commit comments