
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
grunt-cloudfile-to-vocab
Advanced tools
Takes vocab data from cloud spreadsheets and renders it into local json files.
Processes any spreadsheet in the cloud into a set of vocab json files.
cloudfile_to_vocab: {
default: {
options: {
output_directory: 'source/vocabs',
google_spreadsheet_id: '--google spreadsheet id--',
worksheets: ['Sheet1'],
whitelisted_services: ['english', 'mundo'],
serviceEmail: '--google service email--',
certLocation: '--full path to your service email certificate--'
}
}
}
Register a task, e.g.
grunt.registerTask('make_vocabs', ['cloudfile_to_vocab']);
Create a Google spreadsheet and start populating it with content (see examples below).
Run your task to automatically generate vocab JSON files from a Google spreadsheet.
To run the tests add a google account user name and password into the grunt config file.
NB: The 'ignore' in the left column ensures that that row is not included in the rendered output.
| english | persian
ignore | Instructions go here. | ...
project_header | Hello, World! | سلام جهان!
project_intro | This is my intro... | این مقدمه من است ...
english.json
{
"project_header": "Hello, World!",
"project_intro": "This is my intro..."
}
persian.json
{
"project_header": "سلام جهان!",
"project_intro": "این مقدمه من است ..."
}
You can now populate your project with these variables, thereby being able to deliver your project in a language-agnostic way, paving the way for delivering to multiple nationalities.
Make sure you are not on a proxy network or it cannot connect to Google.
FAQs
Takes vocab data from cloud spreadsheets and renders it into local json files.
We found that grunt-cloudfile-to-vocab demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.