npm

Need private packages and team management tools?Check out npm Orgs. »

sgml

0.0.14-alpha • Public • Published

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

This SGML module provides the following commands

  • sgmlproc - for parsing and processing SGML on the command line
  • sgmlweb-app - for serving SGML as HTML (or static SGML) on the web

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

Furthermore, the package contains sgml-ua.js (and it's minified variant sgml-ua.min.js) for processing SGML on a JavaScript (ECMAScript 5 or later) enabled web browser. 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

Keywords

none

install

npm i sgml

Downloadsweekly downloads

12

version

0.0.14-alpha

license

LGPL-3.0-or-later

homepage

sgmljs.net

last publish

collaborators

  • avatar
Report a vulnerability