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

stylis-prefixer

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylis-prefixer

prefixer for stylis

0.0.9
latest
Source
npm
Version published
Weekly downloads
2
-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

stylis-prefixer

  • custom prefixer for Emotion

Prefixer

  • mask-composite for webkit

Installation

$ npm i stylis-prefixer

Usage

import { CacheProvider } from "@emotion/react";
import prefixer from "stylis-prefixer";

export const prefixCache = createCache({
  key: "prefix",
  stylisPlugins: [prefixer],
});

function App() {
  return (
    <div className="App">
      <CacheProvider value={prefixCache}>
        <div>...children</div>
      </CacheProvider>
    </div>
  );
}

FAQs

Package last updated on 03 Jan 2023

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