stylus-lang-bundle-2

0.0.8 • Public • Published

Stylus Language Bundle

This 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.

Live demo

https://raw.githack.com/openstyles/stylus-lang-bundle/master/demo/

Install

Via npm:

$ npm install stylus-bundle

Or via unpkg CDN:

<script src="https://unpkg.com/stylus-lang-bundle@0.58.1/dist/stylus-renderer.min.js"></script>

Usage

// stylus-renderer.min.js exports a single class `StylusRenderer` to global
function render(input) {
  try {
    return new StylusRenderer(input).render();
  } catch (err) {
    console.error(err);
  }
}

Home page

Home page for this program with examples, documentation and a live demo: http://stylus-lang.com/

Changelog

  • 0.58.1 (Jun 23, 2022)

    • Bump stylus-lang to 0.58.1

Package Sidebar

Install

npm i stylus-lang-bundle-2

Weekly Downloads

1

Version

0.0.8

License

MIT

Unpacked Size

2.12 MB

Total Files

9

Last publish

Collaborators

  • tangfei0629