Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dustinmichels/gas-snippets
Reusable snippets of Google Apps Scripts code
https://github.com/dustinmichels/gas-snippets
clasp google-apps-script javascript typescript
Last synced: 10 days ago
JSON representation
Reusable snippets of Google Apps Scripts code
- Host: GitHub
- URL: https://github.com/dustinmichels/gas-snippets
- Owner: dustinmichels
- Created: 2019-03-04T23:01:14.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-02T20:16:49.000Z (over 1 year ago)
- Last Synced: 2023-04-24T20:56:24.476Z (over 1 year ago)
- Topics: clasp, google-apps-script, javascript, typescript
- Language: HTML
- Homepage: https://dustinmichels.github.io/GAS-snippets/
- Size: 275 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GAS Snippets
![website-up-badge](https://img.shields.io/website/https/dustinmichels.github.io/GAS-snippets.svg)
Sharing some reusable [Google Apps Script](https://developers.google.com/apps-script/) snippets with the world.
![GAS logo](./media/logo.png ':size=300')
## Contents
[contents](_sidebar.md ':include')
## About
[Google Scripts](https://developers.google.com/apps-script/) allow you to combine Google services in powerful ways using JavaScript. Youn can write scripts to:
- Extend the functionality of services like Google Sheets, adding menu buttons and macros, or configuring automated tasks.
- Orchestrate tasks that combine Google services (eg, get data from a Google Sheet and use it to create a Google Calendar event and sent an email with Gmail.)
- Rapidly deploy scripts that run on a timer, or in response to user events.This is a collection of scripts I have written, made as legible and reusable as possible. Feel free to use them in your projects.
## How to use
I usually develop scripts locally, in TypeScript, then compile them into GAS-comptatible JavaScript using [clasp](https://developers.google.com/apps-script/guides/clasp). When I share code here, I will try to share the original TypeScript version and the compiled, JavaScript version.
- If you use clasp, copy the TypeScript code.
- If not, copy the plain JavaScript code into `.gs` files in the online editor.## Contact
This site was created/mainted by [Dustin Michels](http://dustinmichels.com/).
- You can reach me on [Twitter](https://twitter.com/Dustin_Michels), [LinkedIn](https://www.linkedin.com/in/dustin-michels), and [Keybase](https://keybase.io/dustinmichels).
- If you encounter issues are want to contribute code, you can use the [GitHub page](https://github.com/dustinmichels/GAS-snippets).