A library for parsing Apple Keynote file.
npm i keynote-parser2
Parse keynote (.key) file:
# output the parsed result to `keynote_file.key.parsed` by default
keynote-parser keynote_file.key
# specify the output directory
keynote-parser keynote_file.key keynote_file_parsed_directory
Parse keynote (.key) file:
import { parse } from 'keynote-parser2';
await parse(
'/path/to/keynote_file.key',
'/path/to/keynote_file_parsed_directory',
);
Parse IWA (.iwa) file:
import fs from 'node:fs/promises';
import { parseIwa } from 'keynote-parser2';
const data = await fs.readFile('/path/to/iwa_file.iwa');
const iwaData = parseIwa(data);
- obriensp/iWorkFileFormat
- psobot/keynote-parser (Python)
- pranaygp/keynote-parser (Node.js)
MIT © meteorlxy & Contributors