MCPcopy Create free account
hub / github.com/violentmonkey/violentmonkey / getLanguages

Function getLanguages

scripts/transifex.mjs:134–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132}
133
134async function getLanguages() {
135 const { result } = await request(`/projects/${PROJECT_ID}/languages`);
136 return result.data.map(({ attributes: { code } }) => code);
137}
138
139async function loadRemote(lang) {
140 let { resp, result } = await request('/resource_translations_async_downloads', {

Callers 1

batchHandleFunction · 0.85

Calls 2

requestFunction · 0.85
mapMethod · 0.80

Tested by

no test coverage detected