Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/epost/unjsxml

A tool for unpacking .js.xml files as used in the XSLTForms project.
https://github.com/epost/unjsxml

xforms

Last synced: 19 days ago
JSON representation

A tool for unpacking .js.xml files as used in the XSLTForms project.

Awesome Lists containing this project

README

        

# #+title:unjsxml

Alain Couthures' [[https://github.com/AlainCouthures/xsltforms][xsltforms]] uses a custom ~.js.xml~ format for storing javascript source code, import dependencies and documentation. This tool converts such ~.js.xml~ files into plain ~.js~ files. For more information, see the notes on the ~txs~ tool on the [[https://github.com/AlainCouthures/xsltforms][xsltforms]] README.

Basic usage:

: node index.js /path/to/xsltforms /path/to/output/dir

This will 'unpack' the ~.js.xml~ files to ~.js~ files in ~ /path/to/output/dir~ and write a list of imports to stdout that can be concatenated:

: node index.js /path/to/xsltforms /path/to/output/dir | xargs cat > /path/to/output/dir/xsltforms.bundle.js