0.5.0 • Published 10 months ago

keynote-parser2 v0.5.0

Weekly downloads
-
License
-
Repository
-
Last release
10 months ago

keynote-parser2

github check npm license

A library for parsing Apple Keynote file.

Install

npm i keynote-parser2

Usage

Command Line

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

Node.js API

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);

Credits

License

MIT © meteorlxy & Contributors

0.5.0

10 months ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago

0.0.1

1 year ago