Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

whitespace css pre-processor for finn

License

NotificationsYou must be signed in to change notification settings

observing/white

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Version npmBuild StatusDependenciesCoverage Status

White is a small conditional significant whitespace processor forfinn andrework. It performs a really basic check to see if a given file alreadyprocessed for significant whitespace.

Install

The module is released in npm and can be installed using:

npm install --save white

It's advised to usefinn as processing engine as that's what we're using ourtests.

Usage

As white is a plugin forfinn we need to setup afinn instance first.I assume you've already got it required an setup like:

'use strict';varfinn=require('finn')(),whitespace=require('white');

Now that we have afinn instance we can assignwhite as pre filter:

finn.pre.use(whitespace);

If you are using modules that process@import statements you might also wantto pre-process those files, usually you can just supply thewhite functiondirection as transform method:

finn.use('import',require('rework-import')({transform:whitespace}));

And that's all you need to know about this module!

License

MIT

About

whitespace css pre-processor for finn

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp