devfile-converter

April 27, 2023 ยท View on GitHub

This library allows to convert devfile v1 to devfile v2 or the opposite.

import * as devfileConverter from '@eclipse-che/devfile-converter';
async function v2ToV1(devfileV2: Devfile, externalContentAccess?: (filename: string) => Promise<string>): Promise<che.workspace.devfile.Devfile>
async function v1ToV2(devfileV1: che.workspace.devfile.Devfile): Promise<Devfile>

Trademark

"Che" is a trademark of the Eclipse Foundation.