Using the mcpher library in your code

This Google Apps Script library contains a significant amount of the code you will need for most samples on this site. Here's how to include it in your code.

How to include mcpher library in your project

Create a new document that is going to access this library, and bring up the Manage Libraries dialog in the script editor.

Add a reference to the shared library. 

You'll see whichever versions are available. If you leave development mode off, then your usage will be frozen to the version you select. You can change the Identifier to something else if you like. Its purpose is to nominate the namespace you will use to reference the shared functions. In this library shown all calls will be prefixed with the Mcpher namespace identifier - for example Mcpher.isEmpty().

Project Key :

Source code: