canirequire › No JS entry point › normalize.css
Is normalize.css ESM-only? Can you require() it?
A modern alternative to CSS resets
Last verified Sep 9, 2026 against normalize.css@8.0.1. JSON
No JS entry point No JavaScript entry point
normalize.css does not expose a JavaScript entry point in package.json. It is likely a CLI, a stylesheet, a type-definition package, or an asset bundle, so require() and import are not the way to use it.
Does normalize.css@8.0.1 actually load? Runtime test results
Installed and executed on Sep 9, 2026 with require("normalize.css") from a CommonJS file and import "normalize.css" from an ES module.
| Runtime | require("normalize.css") | import "normalize.css" |
|---|---|---|
| Node.js 18 | ✗ failsSyntaxError | ✗ failsERR_UNKNOWN_FILE_EXTENSION |
| Node.js 20 | ✗ failsSyntaxError | ✗ failsERR_UNKNOWN_FILE_EXTENSION |
| Node.js 22 | ✗ failsSyntaxError | ✗ failsERR_UNKNOWN_FILE_EXTENSION |
| Node.js 24 | ✗ failsSyntaxError | ✗ failsERR_UNKNOWN_FILE_EXTENSION |
| Node.js 26 | ✗ failsSyntaxError | ✗ failsERR_UNKNOWN_FILE_EXTENSION |
| Bun 1.4 | ✓ works | ✓ works |
A failing require() on a CommonJS package usually means the package needs a browser/DOM global, a peer dependency, or a native binary that is not available in a bare Node.js process.
How to import normalize.css
ES modules (import)
import normalizeCss from "normalize.css";CommonJS (require)
Not applicable.
Module format by version
Derived from the type, main and exports fields of every stable release on npm (13 versions; the newest 13 shown).
| Versions | Format | First published |
|---|---|---|
| 4.1.0 – 8.0.1 | No JS entry point | Apr 12, 2016 |
| 4.0.0 | CommonJS | Mar 19, 2016 |
| 3.0.3 | No JS entry point | Mar 31, 2015 |
| 0.0.1 – 3.0.2 | CommonJS | Jun 8, 2012 |
Frequently asked
Is normalize.css ESM-only?
normalize.css@8.0.1 has no importable main entry. normalize.css does not expose a JavaScript entry point in package.json. It is likely a CLI, a stylesheet, a type-definition package, or an asset bundle, so require() and import are not the way to use it.
Does normalize.css work in Bun?
Yes. import "normalize.css" loaded successfully in Bun 1.4 on Sep 9, 2026.
Does normalize.css ship TypeScript types?
No. normalize.css ships no type declarations and there is no @types package for it.
Links
Other no js entry point packages
- type-fest 5.9.0No entry
- eslint-config-next 16.3.4No entry
- storybook 10.6.0No entry
- @storybook/addon-docs 10.6.0No entry
- @storybook/addon-a11y 10.6.0No entry
- eslint-plugin-storybook 10.6.0No entry
- tsup 8.5.1No entry
- typedoc 0.28.20No entry
Similar popularity
- @angular/language-service 22.1.5CommonJS
- vuedraggable 2.24.3CommonJS
- shx 0.4.0CommonJS
- rollup-plugin-postcss 4.0.2CommonJS
- babel-plugin-transform-object-rest-spread 6.26.0CommonJS
- vue-style-loader 4.1.3CommonJS
- size-limit 13.0.3ESM-only
- koa-router 14.0.0CommonJS