sgml

0.3.0-beta • Public • Published

sgmljs.net - a Node.js library for parsing, templating, and serving SGML

This package contains the following components:

  • an API for parsing and processing SGML

  • an app for parsing and processing SGML on the command line (sgmlproc)

  • an expressjs (or Node.js core http) middleware for serving SGML as HTML on the web (sgml.middleware); a basic default web app (sgmlweb-app) is included as well

  • a browser app (sgml-ua.js and sgml-ua.min.js) for templating SGML on a web browser designed to work along with sgmlweb-app and sgml.middleware for offloading SGML processing from a web server to the browser

See http://sgmljs.net for details on how to use sgmljs.net.

For reproducability, sgml-ua.min.js can be recreated from sgml-ua.js using Google's closure-compiler as follows (note for unknown reasons, npm install won't install closure-compiler as devDependency, even though manually unpacking the package using tar does).

tar xzf sgml-x.y.z.tgz
cd package
npm install --only=dev
npm run-script rebuild-sgmlua

Readme

Keywords

none

Package Sidebar

Install

npm i sgml

Homepage

sgmljs.net

Weekly Downloads

8

Version

0.3.0-beta

License

LGPL-3.0-or-later

Unpacked Size

3.9 MB

Total Files

83

Last publish

Collaborators

  • marcusreichardt