Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@stylable/core

Package Overview
Dependencies
Maintainers
7
Versions
218
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stylable/core

CSS for Components

  • 4.8.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5K
decreased by-1.04%
Maintainers
7
Weekly downloads
 
Created
Source

@stylable/core

npm version

@stylable/core is at the center of how Stylable operates. It provides the basic capabilities required for Stylable to parse stylesheets and transform their output to valid plain CSS.

Running Stylable

Follow these instructions in order to run Stylable in development mode, this allows you to run the package tests with hot-loading enabled.

  1. Clone this repo
  2. cd stylable
  3. yarn
  4. cd ./packages/stylable
  5. yarn start
  6. Open your browser to http://localhost:8080/tests.bundle

How it works

Stylable's workflow contains two main parts that together perform the CSS transpilation.

  • stylable-processor - Parses each stylesheet separately into its own AST (abstract syntax tree, extracting the required data without any resolution of dependencies in other files.
  • stylable-transformer - Processes each stylesheet using the previously created data including other file dependencies. Transforms our Stylable CSS into vanilla CSS.

License

Copyright (c) 2017 Wix.com Ltd. All Rights Reserved. Use of this source code is governed by a MIT license.

FAQs

Package last updated on 17 Nov 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc