meteor remove autopublish insecure meteor add accounts-password 6.1 Package Structure meteor create --package myusername:my-package cd packages/my-package 6.2 package.js Example Package.describe( name: 'myusername:my-package', version: '1.0.0', summary: 'A brief description', documentation: 'README.md' ); Package.onUse(function(api) api.versionsFrom('2.8'); api.use('ecmascript'); api.use('mongo'); // Use Mongo collections api.use('accounts-base'); // Use accounts system
In the Meteor JavaScript framework, "add-ons" extend functionality for frontend reactivity, database operations, authentication, build tools, and mobile integration. 1. Understanding the Ecosystem Meteor supports two main sources of add-ons:
import fs from 'fs'; For isomorphic packages (client + server), ensure they work without DOM/Browser APIs. These are included in meteor create but can be removed: