Browser friendly version of Stylus Language
npm install stylus-lang-bundleThis repository bundles Stylus language compiler into a single file that can be used in the browser.
The current version of the compiler is 0.58.1.
https://raw.githack.com/openstyles/stylus-lang-bundle/master/demo/
Via npm:
``bash`
$ npm install stylus-bundle
Or via unpkg CDN:
`html`
`jsStylusRenderer
// stylus-renderer.min.js exports a single class to global``
function render(input) {
try {
return new StylusRenderer(input).render();
} catch (err) {
console.error(err);
}
}
Home page for this program with examples, documentation and a live demo: http://stylus-lang.com/
* 0.58.1 (Jun 23, 2022)
- Bump stylus-lang to 0.58.1