We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0938ca0 commit af27d8eCopy full SHA for af27d8e
README.md
@@ -27,10 +27,11 @@ npm install postcss-values-parser --save-dev
27
- Node.js >= 20.19.0
28
- PostCSS >= 8.4.14 (peer dependency)
29
30
-Note: This package is ESM‑only. Use `import` in Node.js or load from CommonJS via dynamic import:
+Note: This package is ESM‑only. Use `import` in Node.js. In CommonJS on Node.js 20.19.0+ you can `require()` it:
31
32
```js
33
-const mod = await import('postcss-values-parser');
+// CommonJS (Node >= 20.19.0)
34
+const { parse } = require('postcss-values-parser');
35
```
36
37
## Benefits
0 commit comments