New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

typed-css

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typed-css

[![Screenshot.png](https://s8.postimg.org/8j703536t/1490534341_1.png)](https://s8.postimg.org/8j703536t/1490534341_1.png)

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

typed-css

a webpack plugin that automatically generates definition files from css (or less) files when using css-modules. Currently, only :local is supportive.

Screenshot

Screenshot.png

Getting started

  • install
npm i -D typed-css
// or if you prefer yarn
yarn add -D typed-css
  • add it to plugins in webpack configuration
const typedCss = require('typed-css');

module.exports = {
    entry: ''
    // balabala
    plugins: [
        /**
        * set it to false if you omit extensions when importing css. i.e. you use `require('myStyle')` instead of `require('myStyle.css')` 
        */
        new typedCss( { reserveExtension: true } ),
    ]
}

  • enjoy!

FAQs

Package last updated on 26 Mar 2017

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