KeyboardInfoCompiler.write() method
Home > @keymanapp/kmc-keyboard-info > KeyboardInfoCompiler > write
KeyboardInfoCompiler.write() method
Write artifacts from a successful compile to disk, via callbacks methods. The artifacts written may include:
- .keyboard_info file - metadata file used by keyman.com
Signature:
write(artifacts: KeyboardInfoCompilerArtifacts): Promise<boolean>;
Parameters
Parameter | Type | Description |
---|---|---|
artifacts | KeyboardInfoCompilerArtifacts | object containing artifact binary data to write out |
Returns:
Promise<boolean>
true on success