🚀 Launch Week Day 5:Introducing Immutable Scans.Learn More →
Socket
Book a DemoInstallSign in
Socket

pseudos

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pseudos

List of CSS pseudo-classes (selectors).

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
2.4K
1.36%
Maintainers
1
Weekly downloads
 
Created
Source

pseudos NPM version

List of CSS pseudo-classes (selectors).

Install with npm

npm i pseudos --save

Usage

All CSS3 UI pseudos and HTML5 candidates are exported by default.

var pseudos = require('pseudos');
//=> ['after', 'before', ...]

Selectors Level 4

CSS4 pseudos are exposed on the .css4 property:

var pseudos = require('pseudos');
console.log(pseudos.css4);
//=> ['any-link', 'future', 'current', ...]

See the Mozilla docs on Pseudo-classes for more info.

Run tests

npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Jon Schlinkert

License

Copyright (c) 2014 Jon Schlinkert
Released under the MIT license

This file was generated by verb on December 30, 2014.

FAQs

Package last updated on 31 Dec 2014

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