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 - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

2

package.json
{
"name": "nscss",
"version": "0.1.7",
"version": "0.1.8",
"description": "CSS for Components",

@@ -5,0 +5,0 @@ "main": "dist/src/nscss.js",

@@ -57,2 +57,4 @@ # NSCSS - CSS for Components

```tsx
import * as React from "react";
import { render } from "react-dom";
import { NSComponent, NSStateless, Stylesheet } from "nscss/react";

@@ -70,3 +72,2 @@

//NSComponent wraps react component

@@ -89,4 +90,3 @@ const App = NSComponent(class extends React.Component<any, any>{

//attach all css into the document and set theme variables
//set theme variables and attach all css into the document head
Stylesheet.context.attach({

@@ -96,2 +96,4 @@ myColor: "red"

render(<App/>, document.querySelector("#app"));
```

@@ -98,0 +100,0 @@

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