import { Meteor } from 'meteor/meteor'; Meteor.startup(() => { console.log('Meteor app started up!'); });
import { Meteor } from 'meteor/meteor'; Meteor.methods({ sayHello(name: string) { console.log(`Hello, ${name}!`); } });Here, we define a Meteor method called sayHello that takes a name argument and logs a message to the console. To call this method from the client, we would use the Meteor.call function. Overall, the meteor/meteor package is a core part of the Meteor framework and provides access to many important functions and APIs.