@puya/ts 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- 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