Sunday, February 21, 2016

Google Apps Script Library Underscore

 


 

.

Underscore

Underscore for Google Apps Script is a library that enables the use of the underscore.js library in Google Apps Script. API docs are available here.


Adding the library to your project

Underscore for Google Apps Script is made available as a script library. This is how you add it to your project:


Select "Resources" > "Libraries..." in the Google Apps Script editor.

Enter the script id (1PcEHcGVC1njZd8SfXtmgQk19djwVd2GrrW1gd7U5hNk033tzi6IUvIAV) in the "Find a Library" field, and choose "Select". (If you have copied the library, enter instead the project key of your copy.)

Select the highest version number, and choose Underscore as the identifier. (Do not turn on Development Mode unless you know what you are doing. The development version may not work.)

Press Save. You can now use the Underscore library in your code.

If you want to combine Underscore with Underscore.string for Google Apps Script, then also add its project key by following these instructions.

.

Reference:

https://github.com/simula-innovation/gas-underscore


Read More

Google Apps Script Library Lodash

.

LodashGS

Lodash for Google Apps Script is a library that enables the use of the lodash.js library in Google Apps Script. API docs are available here.


Adding the library to your project

Lodash for Google Apps Script is made available as a script library. This is how you add it to your project:


Select "Resources" > "Libraries..." in the Google Apps Script editor.

Enter the project key (1SQ0PlSMwndIuOAgtVJdjxsuXueECtY9OGejVDS37ckSVbMll73EXf2PW) in the "Find a Library" field, and choose "Select". (If you have copied the library, enter instead the project key of your copy.)

Select the highest version number, and choose Lodash as the identifier. (Do not turn on Development Mode unless you know what you are doing. The development version may not work.)

Press Save. You can now use the Lodash library in your code.



Reference:

https://github.com/contributorpw/lodashgs

Read More

Wednesday, February 10, 2016

Google Apps Script Library Code Sample









Reference:
Read More