postcss-calc
- Version 11.0.0
- Published
- 85.3 kB
- 2 dependencies
- MIT license
Install
npm i postcss-calcyarn add postcss-calcpnpm add postcss-calcOverview
PostCSS plugin to reduce calc()
Index
Variables
Functions
Type Aliases
Namespaces
Variables
variable _default
const _default: any;Functions
function pluginCreator
pluginCreator: typeof pluginCreator;Parameter opts
{import('postcss').Plugin}
Type Aliases
type PostCssCalcOptions
type PostCssCalcOptions = { precision?: number | false; warnWhenCannotResolve?: boolean; mediaQueries?: boolean; selectors?: boolean; /** * Invoked when parse/simplify throws. Replaces the default `result.warn`. */ onParseError?: (error: Error, input: string) => void;};type ResolvedOptions
type ResolvedOptions = Required<Omit<PostCssCalcOptions, 'onParseError'>> & Pick<PostCssCalcOptions, 'onParseError'>;type TransformContext
type TransformContext = { options: ResolvedOptions; result: import('postcss').Result; item: import('postcss').ChildNode; value: string;};Namespaces
namespace pluginCreator
namespace pluginCreator {}variable postcss
var postcss: boolean;Package Files (1)
Dependencies (2)
Dev Dependencies (8)
Peer Dependencies (1)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/postcss-calc.
- Markdown[](https://www.jsdocs.io/package/postcss-calc)
- HTML<a href="https://www.jsdocs.io/package/postcss-calc"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2991 ms. - Missing or incorrect documentation? Open an issue for this package.
