Back to packages list

Vals using xastscript

Description from the NPM package:
xast utility to create trees
tmcw avatar
xastscriptExample
@tmcw
Script
xastscript xastscript is a great way to safely generate XML from within JavaScript - it provides a sort of 'Domain Specific Language' for building XML trees, and then you can encode that into XML using xast-util-to-xml . For example, we at Val Town use xastscript and these utilities to generate our sitemap.xml file for Google to discover vals.
1
Next