
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@types/css-modules
Advanced tools
TypeScript definitions for css-modules
npm install --save @types/css-modules
This package contains type definitions for css-modules (https://github.com/css-modules/css-modules).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/css-modules.
interface CSSModule {
/**
* Returns the specific selector from imported stylesheet as string.
*/
[key: string]: string;
}
declare module "*.css" {
/**
* A CSS module.
*/
const styles: CSSModule;
export default styles;
}
declare module "*.scss" {
/**
* An SCSS based CSS module.
*
* https://sass-lang.com
*/
const styles: CSSModule;
export default styles;
}
declare module "*.sass" {
/**
* A Sass based CSS module.
*
* https://sass-lang.com
*/
const styles: CSSModule;
export default styles;
}
declare module "*.less" {
/**
* A Less based CSS module.
*
* http://lesscss.org
*/
const styles: CSSModule;
export default styles;
}
declare module "*.styl" {
/**
* A Stylus based CSS module.
*
* https://stylus-lang.com
*/
const styles: CSSModule;
export default styles;
}
These definitions were written by NeekSandhu, and Remco Haszing.
FAQs
TypeScript definitions for css-modules
The npm package @types/css-modules receives a total of 82,645 weekly downloads. As such, @types/css-modules popularity was classified as popular.
We found that @types/css-modules demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.