🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

css-selector-prefixer

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

css-selector-prefixer

css string to scoped

0.0.1
latest
npm
Version published
Weekly downloads
2
-71.43%
Maintainers
1
Weekly downloads
 
Created
Source

Css-Selector-Prefixer

Install

npm install

#build

mkdir lib 

npm run build-js

npm run prod-js

example

Input

str='h1{color:red;}'
cssSelectorPrefixer(str,'#id')

Output

#id h1{
color:red;
}

Command Line Execution

npm link
selectorprefixer ./test/test2.css \#id
  • https://github.com/vic/prefix-css

FAQs

Package last updated on 30 Dec 2015

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