Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/motemen/dts-google-apps-script
d.ts files for Google Apps Script
https://github.com/motemen/dts-google-apps-script
Last synced: 3 months ago
JSON representation
d.ts files for Google Apps Script
- Host: GitHub
- URL: https://github.com/motemen/dts-google-apps-script
- Owner: motemen
- Created: 2015-06-17T04:10:57.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-11-02T17:14:33.000Z (about 4 years ago)
- Last Synced: 2024-05-01T23:30:01.438Z (9 months ago)
- Language: JavaScript
- Size: 204 KB
- Stars: 29
- Watchers: 5
- Forks: 20
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dts-google-apps-script
d.ts files generator for [Google Apps Script](https://developers.google.com/apps-script/)
## How to generate `d.ts` files and update the `GoogleAppsScript` Type Definition
Scrape and generate Apps Script `d.ts` files.
```sh
# Clone this repo
node spider.js out.json # Scrape the Apps Script Reference Docs and create JSON files
cat out.json | node gen.js # Pipe the output from above into a generator. New d.ts files are written to google-apps-script/
```Create a PR to [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped) with these updated files.
## Included in DefinitelyTyped
You may want to use [definitions on DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/google-apps-script) unless you want to generate d.ts files manually.