{"library":"meteor-client-bundler","title":"Meteor Client Bundler","description":"A CLI tool and module bundler that combines Meteor Atmosphere packages into a single JavaScript module for use outside of the full Meteor platform. Version 0.6.0 is the latest stable release (last release in 2018). It uses the Meteor command-line tool to resolve and bundle packages, producing a standalone file that provides Meteor's client-side API (including DDP). Key differentiator: it enables frameworks like Angular CLI, React Native, or Ionic to use Meteor's real-time data features without running a Meteor server. Compared to alternatives like `ddp-client`, this bundles full Meteor client runtime including accounts and file upload packages.","language":"javascript","status":"maintenance","last_verified":"Sat May 09","install":{"commands":["npm install meteor-client-bundler"],"cli":{"name":"meteor-client-bundler","version":null}},"imports":["import { Meteor } from 'meteor-client'","import { Accounts } from 'meteor-client'","import { Mongo } from 'meteor-client'","const MeteorClient = require('meteor-client'); const { Meteor } = MeteorClient;"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// Install meteor-client globally\nnpm install -g meteor-client-bundler\n\n# Create a config file meteor-client.config.json\n{\n  \"release\": \"1.9\",\n  \"runtime\": {\n    \"DDP_DEFAULT_CONNECTION_URL\": \"http://localhost:3000\"\n  },\n  \"import\": [\"meteor-base\"]\n}\n\n# Run bundler\nmeteor-client bundle --destination meteor-bundle.js\n\n# In your app\nimport { Meteor } from './meteor-bundle';\nMeteor.connect('http://localhost:3000');\nMeteor.call('myMethod', (err, res) => {\n  if (err) console.error(err);\n  else console.log(res);\n});\n","lang":"typescript","description":"Shows installation, configuration, bundling with meteor-client-bundler, and client usage with Meteor.connect and Meteor.call.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}