[Home](./index.md) > [@keymanapp/kmc-package](./kmc-package.md) > [KmpCompiler](./kmc-package.kmpcompiler.md) > [write](./kmc-package.kmpcompiler.write.md) ## 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:** ```typescript write(artifacts: KmpCompilerArtifacts): Promise; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | artifacts | [KmpCompilerArtifacts](./kmc-package.kmpcompilerartifacts.md) | object containing artifact binary data to write out | **Returns:** Promise<boolean> true on success