@@ -19,7 +19,7 @@ Extensible template based file generator
19
19
TemplGen is a small and extensible template based file generator module that
20
20
provides a simple API for creating code scaffolding tools.
21
21
22
- It borrows some ideas from [ Nx] ( https://nx.dev/ ) but it is meant to be used as a
22
+ It borrows some ideas from [ Nx] [ 1 ] but it is meant to be used as a
23
23
building block for creating CLI tools rather than being a full fledged tool
24
24
itself.
25
25
@@ -28,10 +28,10 @@ itself.
28
28
- ESM and CommonJS support
29
29
- Support for copying binary files as well as rendering template files
30
30
- Variable substitution in file names
31
- - Use EJS (default) or any other template engine
32
- - Overridable file system methods. You can override the default functions used
31
+ - Use EJS (by default) or [ any other template engine] [ 2 ]
32
+ - Overridable file system methods. You can [ override] [ 3 ] the default functions used
33
33
to create directories, read files, write files, and copy files. That is
34
- useful for testing, logging, implementing interactive prompts, etc.
34
+ useful for [ testing] [ 4 ] , logging, implementing interactive prompts, etc.
35
35
36
36
## Installation
37
37
@@ -143,3 +143,8 @@ await fileGenerator.generate(
143
143
variables,
144
144
);
145
145
```
146
+
147
+ [ 1 ] : https://nx.dev/core-features/plugin-features/use-code-generators
148
+ [ 2 ] : #custom-template-engine
149
+ [ 3 ] : #custom-file-system-functions
150
+ [ 4 ] : ./src/index.test.ts
0 commit comments