
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
multi-clasp2
Advanced tools
Google Clasp wrapper to push changes to multiple Apps Script projects at once.
This library is inspired by multi-clasp.
multi-clasp2 is meant to solve a specific problem:
You have multiple google artifacts (sheets, docs, etc.) that all use the same Apps Script project.
You want them to share the same code, but making this Apps Script project into a library significantly slows its performance.
The solution is to maintain a reference to each artifact's Apps Script project, and simultaneously push changes to these projects so they can receive updates while maintaining their non-library performance.
Install clasp:
npm install -g @google/clasp
Install multi-clasp2:
npm install -g multi-clasp2
Create a .multi-clasp.json file, which is just an array of JSON objects identical to the standard .clasp.json format.
You do not need a .clasp.json file anymore.
[
{
"scriptId": "1VBe_bo7OtOw1EQ_f86HBKSDEDdcGX3mYfCNIcp5L2tR1P-VAU8Sl7KX1",
"rootDir": "build"
},
{
"scriptId": "1VBe_bo7OtOw1EQ_f86HBKSDEDdcGX3mYfCNIcp5L2tR1P-VAU8Sl7KX2",
"rootDir": "build"
},
{
"scriptId": "1VBe_bo7OtOw1EQ_f86HBKSDEDdcGX3mYfCNIcp5L2tR1P-VAU8Sl7KX3",
"rootDir": "build"
}
]
The following clasp commands are supported. For the documentation refer to the official documentation
multi-clasp push [--force --retry <n>]
in addition to the clasp arguments there is the --retry option: If the push of an App Script fail with it will retry times. Default is 1.
multi-clasp deploy [--versionNumber <version>] [--description <description>]
multi-clasp run [functionName] [--nondev] [--params <StringArray>]
FAQs
Google Clasp wrapper to push changes to multiple Apps Script projects at once.
We found that multi-clasp2 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.