Socket
Book a DemoInstallSign in
Socket

sheetify-calc

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

sheetify-calc

Spec compliant CSS calc syntax for sheetify

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

sheetify-calc

NPM version build status Test coverage Downloads

A sheetify transform to add support for W3C-style CSS calc syntax. Uses rework-calc to perform the transformation. When multiple units are mixed together in the same expression, the calc() statement is left as is, to fallback to the CSS3 calc feature.

N.B. This is not a polyfill. This transform aims to provide a future-proof way of using a limited subset of the features provided by native CSS custom media queries.

Installation

npm install sheetify-calc

Usage

As a sheetify transform:

var calc = require('sheetify-calc');
var sheetify = require('sheetify');

sheetify('path/to/my/index.css')
  .transform(calc())
  .bundle();

License

MIT

Keywords

sheetify

FAQs

Package last updated on 05 Oct 2014

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