EJSON.isBinary

Anywhere EJSON.isBinary(x) import { EJSON } from 'meteor/ejson' Source Returns true if x is a buffer of binary data, as returned from EJSON.newBinary. Arguments x Object The variable to check.

EJSON.newBinary

Anywhere EJSON.newBinary import { EJSON } from 'meteor/ejson' Source Allocate a new buffer of binary data that EJSON can serialize. Arguments size Number The number of bytes of binary data to allocate.

EJSON.fromJSONValue

Anywhere EJSON.fromJSONValue(val) import { EJSON } from 'meteor/ejson' Source Deserialize an EJSON value from its plain JSON representation. Arguments val JSON-compatible Object A value to deserialize into EJSON.

EJSON.addType

Anywhere EJSON.addType(name, factory) import { EJSON } from 'meteor/ejson' Source Add a custom datatype to EJSON. Arguments name String A tag for your custom type; must be unique among custom data types defined in your project, and must match the result of your type's typeName method. factory Function A function that deserializes a JSON-compatible value into an instance of your type. This should match the serialization performed by your type's toJSONValue method.

EJSON.equals

Anywhere EJSON.equals(a, b, [options]) import { EJSON } from 'meteor/ejson' Source Return true if a and b are equal to each other. Return false otherwise. Uses the equals method on a if present, otherwise performs a deep comparison. Arguments a EJSON-able Object b EJSON-able Object Options keyOrderSensitive Boolean Compare in key sensitive order, if supported by the JavaScript implementation. For example, {a: 1, b: 2} is equal to {b: 2, a: 1} only when keyOrderSensitive is fa

EJSON.clone

Anywhere EJSON.clone(val) import { EJSON } from 'meteor/ejson' Source Return a deep copy of val. Arguments val EJSON-able Object A value to copy.

ecmascript

ecmascript This package lets you use new JavaScript language features that are part of the ECMAScript 2015 specification but are not yet supported by all engines or browsers. Unsupported syntax is automatically translated into standard JavaScript that behaves the same way. This video from the July 2015 Meteor Devshop gives an overview of how the package works, and what it provides.

Deployment and Monitoring

After reading this guide, you’ll know: What to consider before you deploy a Meteor application. How to deploy to some common Meteor hosting environments. How to design a deployment process to make sure your application’s quality is maintained. How to monitor user behavior with analytics tools. How to monitor your application with Kadira. How to make sure your site is discoverable by search engines. Deploying Meteor Applications Once you’ve built and tested your Meteor application, you need to

dependency.depend

Client dependency.depend([fromComputation]) Source Declares that the current computation (or fromComputation if given) depends on dependency. The computation will be invalidated the next time dependency changes. If there is no current computation and depend() is called with no arguments, it does nothing and returns false. Returns true if the computation is a new dependent of dependency rather than an existing one. Arguments fromComputation Tracker.Computation An optional computation

dependency.hasDependents

Client dependency.hasDependents() Source True if this Dependency has one or more dependent Computations, which would be invalidated if this Dependency were to change.