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

postcss-roman-numerals

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-roman-numerals

PostCSS plugin that allows to use roman numerals in your CSS code

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

PostCSS Roman Numerals

PostCSS plugin that allows to use roman numerals in your CSS code.

Example

Input

.app {
  min-height: Cvh;
  max-width: MCCpx;
  padding: XIIpx IXpx;
}

.app__title {
  font-size: IIem;
}

.app__logo {
  width: C%;
}

Output

.app {
  min-height: 100vh;
  max-width: 1200px;
  padding: 12px 9px;
}

.app__title {
  font-size: 2em;
}

.app__logo {
  width: 100%;
}

Usage

Step 1: Install plugin:

npm install --save-dev postcss postcss-roman-numerals

Step 2: Check your project for existing PostCSS config: .postcssrc in the project root, "postcss" section in package.json or postcss in bundle config.

If you do not use PostCSS, add it according to official docs and set this plugin in settings.

Step 3: Add the plugin to your PostCSS config:

{
  "plugins": {
+    "postcss-roman-numerals": {},
    "autoprefixer": {}
  }
}

Contributing

Pull requests are welcome.

License

MIT © Azat S.

Keywords

FAQs

Package last updated on 10 May 2023

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