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

sheetjs

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sheetjs - npm Package Compare versions

Comparing version 1.0.13 to 1.0.14

2

package.json
{
"name": "sheetjs",
"description": "Easily create and manipulate CSSStyleDeclarations with javascript.",
"version": "1.0.13",
"version": "1.0.14",
"keywords": [

@@ -6,0 +6,0 @@ "CSSStyleDeclaration",

@@ -49,2 +49,22 @@ # SheetJS [![NPM version][npm-image]][npm-url] [![Build status][travis-image]][travis-url]

## Advanced Usage
```javascript
import StyleSheet from 'sheetjs/StyleSheet';
const styleSheet = new StyleSheet({
'html, body': {
margin: 0,
padding: 0
},
'.my-el': {
backgroundColor: 'green'
},
'.my-el:hover': {
backgroundColor: 'blue'
}
});
```
## API

@@ -54,4 +74,2 @@

import StyleSheet from 'sheetjs/StyleSheet';
// or
const StyleSheet = window.sheetjs.StyleSheet;

@@ -58,0 +76,0 @@ const styleSheet = new StyleSheet();

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