upad-parse
TypeScript icon, indicating that this package has built-in type declarations

7.5.2 • Public • Published

upad-parse

This is the parser used for MicroPad.

You can find the docs here: https://getmicropad.com/docs/upad-parse.

Install

JavaScript

npm install --save upad-parse or yarn add upad-parse

const Notepad = require('upad-parse').Notepad;

let notepad = new Notepad('Test Notepad');
notepad.toXml().then(xml => console.log(xml));

Typescript

import { Notepad } from 'upad-parse/dist';

let notepad = new Notepad('Test Notepad');
notepad.toXml().then(xml => console.log(xml));

Browser

<script type="text/javascript" src="https://unpkg.com/upad-parse@^7/dist/upad-parse.browser.js"></script>
<script type="text/javascript">
	let notepad = new NPXParser.Notepad('Test Notepad');
	notepad.toXml().then(xml => console.log(xml));
</script>

Package Sidebar

Install

npm i upad-parse

Weekly Downloads

7

Version

7.5.2

License

MPL-2.0

Unpacked Size

1.62 MB

Total Files

51

Last publish

Collaborators

  • nick_webster