1.0.1 • Published 6 months ago

alto-xml v1.0.1

Weekly downloads
-
License
AGPL-3.0-or-later
Repository
github
Last release
6 months ago

ALTO.js

Build Status NPM version

JavaScript API to access ALTO XML documents in Node.js or in the browser.

Installation

    $ npm install alto-xml

Usage

In Node.js, please specify which XML parser to use. For example:

import { configure, Document } from 'alto-xml'
import { JSDOM } from 'jsdom'

let { DOMParser, XMLSerializer } = new JSDOM().window
configure(DOMParser, XMLSerializer)

let doc = Document.parse(ALTO_DATA)

License

ALTO.js is licensed under the terms of the AGPL-3.0 license.

1.0.1

6 months ago

1.0.0

6 months ago