passkit-generator
Version:
The easiest way to generate custom Apple Wallet passes in Node.js
22 lines (21 loc) • 431 B
TypeScript
import { Buffer } from "node:buffer";
/**
* Parses a string file to convert it to
* an object
*
* @param buffer
* @returns
*/
export declare function parse(buffer: Buffer): {
translations: [placeholder: string, value: string][];
comments: string[];
};
/**
* Creates a strings file buffer
*
* @param translations
* @returns
*/
export declare function create(translations: {
[key: string]: string;
}): Buffer;