Show:

Main entry point for Parsoid's JavaScript API.

Note that Parsoid's main interface is actually a web API, as defined by ParsoidService (and the files in the api directory).

But some users would like to use Parsoid as a NPM package using a native JavaScript API.

Source:

Members

(static) name

Name of the NPM package.

Name of the NPM package.

Source:

(static) parse

Expose parse method.

Expose parse method.

Source:
See:

(static) version

Version of the NPM package.

Version of the NPM package.

Source:

Methods

(inner) apiServiceWorker(options) → {Promise}

Start an API service worker as part of a service-runner service.

Start an API service worker as part of a service-runner service.

Parameters:
Name Type Description
options Object
Source:
Returns:

A Promise for an http.Server.

Type
Promise