0
I Use This!
Activity Not Available
Analyzed 11 months ago. based on code collected 12 months ago.

Project Summary

Load, parse and cascade CSS rule sets in Ruby.

Install the gem from RubyGems.

gem install css_parser

An example

require 'css_parser'
include CssParser

parser = CssParser::Parser.new
parser.load_file!('http://example.com/styles/style.css')

# lookup a rule by a selector
parser.find('#content')
#=> 'font-size: 13px; line-height: 1.2;'

# lookup a rule by a selector and media type
parser.find('#content', [:screen, :handheld])

# iterate through selectors by media type
parser.each_selector(:screen) do |selector, declarations, specificity|
...
end

Made on Vancouver Island.

Tags

css gem parser premailer ruby site_management

Badges

In a Nutshell, ruby css_parser...

MIT License
Permitted

Commercial Use

Modify

Distribute

Sub-License

Private Use

Forbidden

Hold Liable

Required

Include Copyright

Include License

These details are provided for information only. No information here is legal advice and should not be used as such.

Project Security

Vulnerabilities per Version ( last 10 releases )

There are no reported vulnerabilities

Project Vulnerability Report

Security Confidence Index

Poor security track-record
Favorable security track-record

Vulnerability Exposure Index

Many reported vulnerabilities
Few reported vulnerabilities

Did You Know...

  • ...
    nearly 1 in 3 companies have no process for identifying, tracking, or remediating known open source vulnerabilities
  • ...
    learn about Open Hub updates and features on the Open Hub blog
  • ...
    use of OSS increased in 65% of companies in 2016
  • ...
    data presented on the Open Hub is available through our API
About Project Security

Languages

Ruby
89%
CSS
11%

30 Day Summary

Dec 18 2023 — Jan 17 2024

12 Month Summary

Jan 17 2023 — Jan 17 2024
  • 11 Commits
    Down -5 (31%) from previous 12 months
  • 4 Contributors
    Up + 1 (33%) from previous 12 months