New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nscss

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nscss

CSS for Components

  • 0.0.1
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-71.43%
Maintainers
1
Weekly downloads
 
Created
Source

NSCSS

CSS for Components

What is it?

How it works?

  • Static styles by source order

Features

  • Scoping for component
  • Override with scoped selector
  • Override by component
  • Override public scoped parts
  • Custom states
  • Theme - Global Theme / Per StyleSheet Theme (TODO)
  • Framework Agnostic
  • Easy debugging - readable CSS Class Names
  • Great Feedback
Native css support
  • @media query
  • @font-face
  • Animations (TODO)
  • Pseudo Classes / native states
  • Child & Attribute selectors

Syntax

  • Styles As Object Literals
  • As Template Literals?
  • Typescript

React integration

  • SSR
  • Component definition

Plugins

  • Vendor Prefixing hook
  • Extract CSS File
  • IDE Plugins

Concepts

Stylesheet defines semantic scope parts:

Single deceleration:

  • root - ?
  • class - ?
  • component - ?
  • scoped class - ?

Composition:

  • selector - composed from defined parts

Usage

{NSCSS}
{
    "component" : StyleShh
}

FAQs

Package last updated on 05 Jun 2017

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