New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

cssmetrics

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cssmetrics

Tool for CSS metrics.

latest
Source
npmnpm
Version
0.0.0
Version published
Weekly downloads
6
500%
Maintainers
1
Weekly downloads
 
Created
Source

cssmetrics

The pluggable analyze utility for CSS.

Build Status NPM version Dependency Status devDependency Status

Install

$ npm install --save cssmetrics

Usage

CLI

Process passing file names.

$ cssmetrics --use pluginName foo.css bar.css

Process standard input.

$ cat foo.css | cssmetrics --use pluginName --stdin

Node.js

const cssmetrics = require('cssmetrics');
const cssmetricsConfig = require('./.cssmetricsrc');

cssmetrics.process({
  source: '.foo { display: block; }',
  plugins: [],
  config: cssmetricsConfig
}).then(metrics => {
  console.log(metrics);
});

License

MIT © Shogo Sensui

Keywords

css

FAQs

Package last updated on 29 Dec 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