Skip to content
The parser for MicroPad: https://getmicropad.com
Branch: master
Clone or download
Latest commit 1530dbd Feb 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
.idea Updating ts-jest Feb 6, 2019
src Updating snapshots Feb 18, 2019
.gitignore Working on automated deployment Jul 3, 2018
.npmignore
LICENCE
README.md
package.json
tsconfig.json
yarn.lock

README.md

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@^3/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>
You can’t perform that action at this time.