Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 20.0Version 19.0Version 18.0 (current version)Version 17.0

On this page

You are viewing an old version of this documentation. Click here to open the current version, 18.0.

KmpCompiler.write() method

Home > @keymanapp/kmc-package > KmpCompiler > write

KmpCompiler.write() method

Write artifacts from a successful compile to disk, via callbacks methods. The artifacts written may include:

  • .kmp file - binary keyboard package used by Keyman on desktop and touch platforms

Signature:

write(artifacts: KmpCompilerArtifacts): Promise<boolean>;

Parameters

Parameter Type Description
artifacts KmpCompilerArtifacts object containing artifact binary data to write out

Returns:

Promise<boolean>

true on success