New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cssguard

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cssguard

> An easy way to test your CSS.

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-81.82%
Maintainers
1
Weekly downloads
 
Created
Source

CSS Guard

An easy way to test your CSS.

Install

npm install --save-dev cssguard

Usage

  1. cd into-my-project
  2. mkdir test && cd $_ && touch test.html
  3. Install with npm commands
  4. Load the csstest.css file into your html.
@import '../node_modules/cssguard/cssguard.css';

or

<link rel="stylesheet" href="../node_modules/cssguard/dist/cssguard.css">
  1. Create your test suite
<main class="test-suite">
  <h1 class="test-suite-title">Project name</h1>
  <section>
    <h1 class="test-module">Test section</h1>
    <h3 class="test-it">The test <code>.example-code</code></h3>
    <div class="test-run">
      <p>Some test here</p>
    </div>
  </section>
</main>
  1. Test your component :D

API

  • .test-suite
  • .test-suite-title
  • .test-module
  • .test-it
  • .test-run

License

MIT © Filipe Linhares

Keywords

FAQs

Package last updated on 02 Feb 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc