Socket
Socket
Sign inDemoInstall

stylus-lang-bundle

Package Overview
Dependencies
23
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    stylus-lang-bundle

Browser friendly version of Stylus Language


Version published
Weekly downloads
7
increased by40%
Maintainers
2
Install size
1.97 MB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 23 Jun 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc