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

css-properly

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-properly - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

1

index.js

@@ -11,4 +11,5 @@ let postcss = require('postcss')

.replace('centre', 'center')
.replace('capitalise', 'capitalize')
})
}
})

2

package.json
{
"name": "css-properly",
"version": "0.1.0",
"version": "0.1.1",
"description": "PostCSS plugin for people who prefer to write English",

@@ -5,0 +5,0 @@ "keywords": [

@@ -7,8 +7,8 @@ # css-properly

```diff
```css
.foo {
- background-colour: white;
- text-align: centre;
+ background-color: white;
+ text-align: center;
colour: black;
background-colour: lightgrey;
text-align: centre;
}
```

@@ -20,7 +20,10 @@

|---------------|---------------|-----------|
| colour | `color` | There's a `u` in `colour` |
| centre | `center` | It's spelled `centre` |
| padding-ton | `padding-top` | When you're thinking of your favourite bear |
| z-index | `z-index` | It's the same but it's pronounced "zed", not "zee" |
| `colour` | `color` | There's a *u* in "colour" |
| `centre` | `center` | It's spelled "centre" |
| `capitalise` | `capitalize` | Don't even get me started |
| `padding-ton` | `padding-top` | When you're thinking of your favourite bear |
| `z-index` | `z-index` | It's the same but it's pronounced "zed", not "zee" |
Pull requests for further translations welcome!
## Usage

@@ -30,2 +33,8 @@

Assuming you are using npm to manage dependencies, install `css-properly` with:
```sh
npm install --save-dev css-properly
```
Check your project for existing PostCSS config: `postcss.config.js`

@@ -32,0 +41,0 @@ in the project root, `"postcss"` section in `package.json`

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