canirequire

canirequireESM-only › ember-source

Is ember-source ESM-only? Can you require() it?

A JavaScript framework for creating ambitious web applications

Last verified Sep 9, 2026 against ember-source@7.2.0. JSON

ESM-only ESM-only since 7.2.0 — last CommonJS version is 7.1.0

ember-source dropped its CommonJS build in 7.2.0 (August 2026). The last version you can require() on every Node.js version, including 18 and older, is 7.1.0, published Jun 22, 2026.

require("ember-source") failed in our probe on Node.js 20+ as well. See the runtime matrix below for the exact error.

ember-source@7.2.0 declares engines ">= 20.19", so Node.js 18 is outside its supported range regardless of module format.

Latest
7.2.0 (Aug 9, 2026)
Module format
ESM-only
Last CommonJS version
7.1.0
ESM-only since
7.2.0 (Aug 9, 2026)
TypeScript types
Bundled
Node engines
>= 20.19
Weekly downloads
293K
License
MIT

Does ember-source@7.2.0 actually load? Runtime test results

Installed and executed on Sep 9, 2026 with require("ember-source") from a CommonJS file and import "ember-source" from an ES module.

Runtimerequire("ember-source")import "ember-source"
Node.js 18✗ failsERR_PACKAGE_PATH_NOT_EXPORTED✗ failsERR_PACKAGE_PATH_NOT_EXPORTED
Node.js 20✗ failsERR_PACKAGE_PATH_NOT_EXPORTED✗ failsERR_PACKAGE_PATH_NOT_EXPORTED
Node.js 22✗ failsERR_PACKAGE_PATH_NOT_EXPORTED✗ failsERR_PACKAGE_PATH_NOT_EXPORTED
Node.js 24✗ failsERR_PACKAGE_PATH_NOT_EXPORTED✗ failsERR_PACKAGE_PATH_NOT_EXPORTED
Node.js 26✗ failsERR_PACKAGE_PATH_NOT_EXPORTED✗ failsERR_PACKAGE_PATH_NOT_EXPORTED
Bun 1.4✗ failserror: Cannot find package 'ember-source' from '/Users/boat/Projects/top-seo/data/probe-work/ember-source/req.cjs'✗ failserror: Cannot find package 'ember-source' from '/Users/boat/Projects/top-seo/data/probe-work/ember-source/imp.mjs'

How to import ember-source

ES modules (import)

import emberSource from "ember-source";

CommonJS (require)

// Node.js 20.19+ / 22.12+ / newer (package has no top-level await):
const emberSource = require("ember-source");

// Any Node.js version:
const emberSource = await import("ember-source");

// Or pin the last CommonJS release:
// npm install ember-source@7.1.0

Module format by version

Derived from the type, main and exports fields of every stable release on npm (231 versions; the newest 60 shown).

VersionsFormatFirst published
7.2.0ESM-onlyAug 9, 2026
4.8.0 – 7.1.0CommonJSOct 17, 2022

Frequently asked

Is ember-source ESM-only?

ember-source@7.2.0 is ESM-only. ember-source dropped its CommonJS build in 7.2.0 (August 2026). The last version you can require() on every Node.js version, including 18 and older, is 7.1.0, published Jun 22, 2026.

Which version of ember-source still supports CommonJS / require()?

7.1.0 is the last version of ember-source with a CommonJS build. Install it with "npm install ember-source@7.1.0". Every version from 7.2.0 on is ESM-only.

How do I use ember-source from a CommonJS file?

Use a dynamic import: const mod = await import("ember-source"). On Node.js 20.19+, 22.12+ and newer, a plain require("ember-source") also works for ESM packages that do not use top-level await. Alternatively pin ember-source@7.1.0.

Does ember-source work in Bun?

Importing ember-source failed in Bun 1.4 on Sep 9, 2026: error: Cannot find package 'ember-source' from '/Users/boat/Projects/top-seo/data/probe-work/ember-source/imp.mjs'

Does ember-source ship TypeScript types?

Yes. ember-source bundles its own type declarations; no @types package is needed.

Links

Other esm-only packages

Similar popularity