gs-require
Use Node.js require
in Googlescript.
Install
Paste at the top of your script (requires new runtime):
;
Usage
; const _ = ; _//=> [1, 2]
API
require(file)
file
Type: string
The package to import. If a url is provided, it is treated as a js file; otherwise it is resolved through unpkg.