Huge News!Announcing our $40M Series B led by Abstract Ventures.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.5 to 0.1.6

2

package.json
{
"name": "nscss",
"version": "0.1.5",
"version": "0.1.6",
"description": "CSS for Components",

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

@@ -57,9 +57,5 @@ # NSCSS - CSS for Components

```tsx
import { nscssReact } from "nscss/react";
import { NSComponent, NSStateless, Stylesheet } from "nscss/react";
//Create your instance of nscss
//You can create module that exports these deps to your app.
const { NSComponent, NSStateless, Stylesheet } = nscssReact();
//NSStateless warps a stateless component

@@ -93,3 +89,3 @@ const HelloWorld = NSStateless(()=>{

//put all stylesheets from this context into the document
//attach all css into the document
Stylesheet.context.attach();

@@ -96,0 +92,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