gasup 1.0.3 → 1.0.4

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.
Files changed (2) hide show
  1. package/README.md +8 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -17,9 +17,15 @@ To make your functions executable in Google Apps Script, you need to expose them
17
17
  ```typescript
18
18
  // src/index.ts
19
19
 
20
+ import dayjs from "dayjs";
21
+
20
22
  (global as any).helloWorld = () => {
21
- console.log('Hello world!');
22
- }
23
+ console.log('Hello World!');
24
+ };
25
+
26
+ (global as any).today = () => {
27
+ console.log(dayjs().format('YYYY-MM-DD'));
28
+ };
23
29
  ```
24
30
 
25
31
  ## Installation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gasup",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",