keynote-parser2
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

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

Package Sidebar

Install

npm i keynote-parser2

Weekly Downloads

83

Version

0.5.0

License

none

Unpacked Size

32.9 MB

Total Files

35

Last publish

Collaborators

  • meteorlxy