MCPcopy Index your code
hub / github.com/Flagsmith/flagsmith / fetchElixirVersions

Function fetchElixirVersions

docs/plugins/flagsmith-versions/index.js:64–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62};
63
64const fetchElixirVersions = async () => {
65 const data = await fetchJSON('https://hex.pm/api/packages/flagsmith_engine');
66 return data.releases.map((release) => release.version);
67};
68
69const fetchNpmVersions = async (pkg) => {
70 const data = await fetchJSON(new URL(pkg, 'https://registry.npmjs.org'));

Callers 1

loadContentFunction · 0.85

Calls 1

fetchJSONFunction · 0.85

Tested by

no test coverage detected