
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
grunt-docs-archieml
Advanced tools
Generate JSON file from Google Docs with ArchieML
npm install grunt-docs-archieml --save
Dashboard
and then click on ENABLE API
b. Click on DRIVE API
and if it’s not enabled just click on ENABLE
Credentials
Create credentials
, select oAuth client ID
and then select Web Application
https://developers.google.com/oauthplayground
as an authorized redirect URLClient ID
and Client Secret
readyStep 1
check all Drive API v3
Use your own OAuth credentials
Client ID
and Client secret
Step 1
section on the left and click Authorize APIs
Exchange authorization code for tokens
and copy the generated refresh token..credentials.json
and add the following with your info:{
"client_id": "your_CLIENT_ID",
"client_secret": "your_CLIENT_SECRET",
"oAuthTokens":{"refresh_token": "your_REFRESH_TOKEN"}
}
The file can be saved anywhere. Recommended that you save it in your home folder so that your your secret credentials are not uploaded with your project.
Grab the Google Doc ID of the ArchieML ready document
With the Google Doc open, go to File > Publish to web, click on
PUBLISH
under the Link section and copy the ID from the URL. The ID is in between the ‘d’ and ‘pub’ section of the URL.
Enable the plugin inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-docs-archieml');
Add the following within the grunt.initConfig()
and modify the options as needed.
grunt.initConfig({
gdocs: {
options: {
credentials:'.credentials.json',
docsID: 'GOOGLE_DOC_ID',
dest: 'DIRECTORY_FOR_JSON_FILE'
}
},
});
Default settings:
credentials
defaults to your home folder and will look for a .credentials.json filedocsID
has no defaultdest
defaults to a directory named json
$ grunt gdocs
Run the command to generate the JSON file. The file name will be the title of your Google Doc (all lowercase with underscores).
FAQs
Generate JSON file from Google Doc with ArchieML
The npm package grunt-docs-archieml receives a total of 11 weekly downloads. As such, grunt-docs-archieml popularity was classified as not popular.
We found that grunt-docs-archieml demonstrated a not healthy version release cadence and project activity because the last version was released 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.