Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/epost/unjsxml
- Owner: epost
- Created: 2015-11-16T16:43:21.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-22T19:57:26.000Z (about 9 years ago)
- Last Synced: 2024-11-03T23:13:27.962Z (2 months ago)
- Topics: xforms
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
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