
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
@types/css-modules-require-hook
Advanced tools
TypeScript definitions for css-modules-require-hook
npm install --save @types/css-modules-require-hook
This package contains type definitions for css-modules-require-hook (https://github.com/css-modules/css-modules-require-hook).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/css-modules-require-hook.
declare module "css-modules-require-hook" {
interface Options {
/** Helps you to invalidate cache of all require calls. */
devMode?: boolean | undefined;
/** Attach the require hook to additional file extensions. */
extensions?: string | string[] | undefined;
/** Provides possibility to exclude particular files from processing. */
ignore?: string | RegExp | ((filepath: string) => boolean) | undefined;
/** In rare cases you may want to precompile styles, before they will be passed to the PostCSS pipeline. */
preprocessCss?: Function | undefined;
/** In rare cases you may want to get compiled styles in runtime, so providing this option helps. */
processCss?: Function | undefined;
/** Provides possibility to pass custom options to the LazyResult instance. */
processorOpts?: Object | undefined;
/** Camelizes exported class names. */
camelCase?: boolean | undefined;
/** Appends custom plugins to the end of the PostCSS pipeline. */
append?: any[] | undefined;
/** Prepends custom plugins to the beginning of the PostCSS pipeline. */
prepend?: any[] | undefined;
/** Provides the full list of PostCSS plugins to the pipeline. */
use?: any[] | undefined;
/** Short alias for the postcss-modules-extract-imports plugin's createImportedName option. */
createImportedName?: Function | undefined;
/** Short alias for the postcss-modules-scope plugin's option. */
generateScopedName?: string | Function | undefined;
/** Short alias for the generic-names helper option. */
hashPrefix?: string | undefined;
/** Short alias for the postcss-modules-local-by-default plugin's option. */
mode?: string | undefined;
/** Provides absolute path to the project directory. */
rootDir?: string | undefined;
}
var requireHook: (options?: Options) => void;
export = requireHook;
}
These definitions were written by Cedric van Putten.
FAQs
TypeScript definitions for css-modules-require-hook
The npm package @types/css-modules-require-hook receives a total of 58,820 weekly downloads. As such, @types/css-modules-require-hook popularity was classified as popular.
We found that @types/css-modules-require-hook 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
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.