タグ

CSSとnode.jsに関するo_hiroyukiのブックマーク (5)

  • uncss: Find Unused CSS

    You know what's better than adding features to a website or app, from a code perspective?  Removing stuff you don't need.  Whether it be code, images, or dependencies, getting rid of the crap stale code is like the first sip of a big glass of wine after a long day of stressful work.  Running a directory of images through ImageOptim is a euphoric experience, am I right?  What if there was a tool, h

    uncss: Find Unused CSS
    o_hiroyuki
    o_hiroyuki 2014/04/07
    未使用のcssを削除
  • 自分の書いたコードが即座に解析できる「StyleStats」でCSSを測ろう!

    自分の書いたコードが即座に解析できる「StyleStats」でCSSを測ろう! 石 光司(Kaizen Platform, Inc...) こんにちわ、@t32kだよ! 私は仕事では主にHTML/CSSコーディングを担当しているのですが、自分の書いたCSSがイケてるのか、そうでないのか、気になります。私、気になります!そうでなくても、他プロジェクトCSSのレビューをお願いされたりすることもあるので、そのCSSがどのような状態であるのか、すばやく簡単に理解する必要性がありました。 そこで私は、StyleStatsというNode.js製のツールを作りました。 t32k/stylestats – GitHub StyleStatsの使い方はとても簡単です。ターミナルから下記コマンドを打てば、すぐにCSSを解析した結果が得られます。 $ npm install -g stylestats $

    自分の書いたコードが即座に解析できる「StyleStats」でCSSを測ろう!
  • GitHub - t32k/stylestats: StyleStats is a library to collect CSS statistics.

    $ stylestats path/to/stylesheet.css StyleStats! ┌─────────────────────────────────┬──────────────────────────┐ │ Published │ June 14, 2017 10:35 AM │ ├─────────────────────────────────┼──────────────────────────┤ │ Paths │ path/to/stylesheet.css │ ├─────────────────────────────────┼──────────────────────────┤ │ Style Sheets │ 1 │ ├─────────────────────────────────┼──────────────────────────┤ │ Sty

    GitHub - t32k/stylestats: StyleStats is a library to collect CSS statistics.
  • StyleStats - MOL

    スタイルシートの統計情報を出力するNode Packageを作った。 t32k/stylestats Node.js 0.10以上が必要で、CLIだとこんな感じの情報を出力してくれる。 $ npm install -g stylestats $ stylestats path/to/stylesheet.css StyleStats! ┌────────────────────────┬──────────┐ │Size │ 498.0B │ ├────────────────────────┼──────────┤ │Rules │ 7 │ ├────────────────────────┼──────────┤ │Selectors │ 11 │ ├────────────────────────┼──────────┤ │Simplicity │ 63.64% │ ├───────

    StyleStats - MOL
  • Myth - CSS the way it was imagined.

    This domain is registered and protected by Markmonitor More than half the Fortune 100 trust Markmonitor to protect their brands online.

  • 1