{"id":20208,"library":"meteor-babel-helpers","title":"Meteor Babel Helpers","description":"This package provides runtime helper functions used by meteor-babel to transpile JavaScript and TypeScript code within the Meteor framework. Version 0.0.3 is current and tied to Meteor's Babel integration. The package is a fork/subset of @babel/runtime helpers and is published automatically as part of the Meteor Babel toolchain. It is not intended for standalone use; it ships as a dependency of meteor-babel and is bundled into Meteor apps. There have been no updates since 2021, though Babel upstream has released newer versions. Key differentiator: it is the exact set of helpers used by Meteor's build system.","status":"maintenance","version":"0.0.3","language":"javascript","source_language":"en","source_url":"https://github.com/meteor/babel/tree/master/packages/helpers","tags":["javascript","meteor","babel","helpers","runtime"],"install":[{"cmd":"npm install meteor-babel-helpers","lang":"bash","label":"npm"},{"cmd":"yarn add meteor-babel-helpers","lang":"bash","label":"yarn"},{"cmd":"pnpm add meteor-babel-helpers","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"Helpers are auto-injected by Meteor; manual import is unnecessary and rarely used.","wrong":"","symbol":"extends","correct":"import 'meteor/meteor-babel-helpers'; const x = extends();"},{"note":"Not intended for direct import; included here for documentation completeness.","wrong":"","symbol":"objectSpread","correct":"import 'meteor/meteor-babel-helpers'; const obj = objectSpread({}, {a:1});"},{"note":"Replacement for typeof operator; primarily used internally.","wrong":"","symbol":"typeof","correct":"import 'meteor/meteor-babel-helpers'; const type = typeof('x');"}],"quickstart":{"code":"// This package is not meant to be used directly.\n// It is automatically installed by meteor-babel when needed.\n// In a Meteor app, you don't need to install or import it manually.\n\n// If you must verify it's present:\nimport 'meteor/meteor-babel-helpers';\n// The helpers are then available globally (e.g., __extends, __assign, etc.).\n\n// Example: using a helper (auto-injected by Babel)\nclass Child extends Parent {} // transpiled to use _inherits\n\n// To check the version number:\nconst pkg = require('meteor-babel-helpers/package.json');\nconsole.log(pkg.version); // 0.0.3","lang":"javascript","description":"Demonstrates that this package is not user-facing, only a runtime dependency."},"warnings":[{"fix":"Do not install or import this package manually. Let Meteor's build system manage it.","message":"This package is not for direct use; it's a runtime dependency of meteor-babel. Importing or relying on it explicitly is not supported and may break in future Meteor versions.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Wait for a newer Meteor release that updates this package, or use Meteor 2.x which may pin helpers.","message":"No updates since 2021; Babel upstream has newer helper versions. Meteor may update this package eventually.","severity":"deprecated","affected_versions":"0.0.3"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Remove manual installation. Ensure you are in a Meteor project and run 'meteor update' to get the correct helper package.","cause":"Manually installing the npm package does not make it work; it must be installed via Meteor's package system.","error":"Cannot find module 'meteor-babel-helpers'"},{"fix":"Run 'meteor npm install --save meteor-babel-helpers' (if using npm) but prefer 'meteor add meteor-babel-helpers' if available. Typically Meteor adds it automatically.","cause":"The package is not present or not properly linked in the Meteor app.","error":"Missing helper: \"extends\""}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}