@puya/ts 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -0
- package/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
@@ -119,3 +119,16 @@ if (result.success) {
|
|
119
119
|
console.error('Failed to generate timestamp:', result.err);
|
120
120
|
}
|
121
121
|
```
|
122
|
+
|
123
|
+
### Variables
|
124
|
+
|
125
|
+
You can pass this variables:
|
126
|
+
```javascript
|
127
|
+
locale: "en", // or "fa"
|
128
|
+
outputFileName: "output.json", //file will created at current dir
|
129
|
+
templatePath: "", //template file path
|
130
|
+
format: "YYYYMMDDHHmm", //timestamp format
|
131
|
+
inlineTemplate: "", //inline template (without path)
|
132
|
+
skipOutput: false
|
133
|
+
```
|
134
|
+
|
package/index.js
CHANGED