Documentation Index
Fetch the complete documentation index at: https://mintlify.com/meteor/meteor/llms.txt
Use this file to discover all available pages before exploring further.
Meteor Core API
The Core Meteor API provides the fundamental building blocks for creating reactive, real-time applications. This includes core methods, reactivity, and essential utilities.Meteor Namespace
The globalMeteor namespace contains all core functionality available on both client and server.
Meteor.isClient
Boolean variable that is true if running in a client environment.
Meteor.isServer
Boolean variable that is true if running in a server environment.
Meteor.startup()
A function to run on startup.
Meteor.wrapAsync()
Wrap an asynchronous function to run synchronously using fibers.An asynchronous function to wrap.
Optional
this context for the function.Meteor.defer()
Defer execution of a function to run asynchronously after the current method finishes.The function to defer.
Meteor.absoluteUrl()
Generate an absolute URL pointing to the application.A path to append to the root URL.
Options object.
Create an HTTPS URL.
Replace localhost with this hostname.
Override the default ROOT_URL.
Meteor.settings
Contains deployment-specific configuration. Settings are loaded from a JSON file specified with
--settings.Meteor.release
The name of the Meteor release with which the project was built, for example
"METEOR@1.2.3".Environment Variables
ROOT_URL
Set the root URL for the application.MONGO_URL
Specify the MongoDB connection string.PORT
Set the port on which the application listens.Development Utilities
Meteor._debug()
Log a message with Meteor’s logging system. Usesconsole.error on the client.
Meteor.Error
Create a Meteor-specific error.A numeric error code or string error type.
Optional description of the error.
Optional additional details.