🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

inline-css-cli

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

inline-css-cli

Inline css like a pro

0.0.1
latest
npm
Version published
Weekly downloads
62
12.73%
Maintainers
1
Weekly downloads
 
Created
Source

inline-css

inline your css like a pro

 inline-css -i {souce_file} -o {output/path}

Example

index.html

  <!DOCTYPE html>
  <html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Document</title>
    <link rel="stylesheet" href="style.css">
  </head>
  <body>
  </body>
  </html>

style.css

 body {
  color: rebeccapurple; /* lol */
 }
 .some-class-style {
  margin: 0 0 999px 0;  
 }
 

will result in

build.html

  <!DOCTYPE html>
  <html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        body {
          color: rebeccapurple; /* lol */
        }
        .some-class-style {
          margin: 0 0 999px 0;  
        }
    </style>
  </head>
  <body>
  </body>
  </html>

###Install

  $ npm i inline-css-cli
  $ inline-css

FAQs

Package last updated on 25 May 2016

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