magicn

0.0.3 • Public • Published

magicn Build Status

Check whether using magic number in CSS code.

Installation

npm install magicn

Example

var magicn = require('magicn');
 
var css = ".site-nav > li:hover .dropdown{position:absolute;top:37px;left:0;}";
 
magicn(css);
/*
 * [
 *  { start: { line: 1, column: 1 },
 *    end: { line: 3, column: 2 },
 *    source: undefined }
 * ]
 */

or in command line:

$ magicn your-css-file.css

License

The MIT License (MIT)

Copyright (c) 2014 Masaaki Morishita

Readme

Keywords

Package Sidebar

Install

npm i magicn

Weekly Downloads

1

Version

0.0.3

License

MIT

Last publish

Collaborators

  • morishitter