0.0.1-7ae0484 • Published 11 months ago

@eclipse-che/devfile-converter v0.0.1-7ae0484

Weekly downloads
-
License
EPL-2.0
Repository
github
Last release
11 months ago

devfile-converter

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>