Public by default In our examples, we’ve been able to freely access the members that we declared throughout our programs. If you’re familiar
Consuming Dependencies There are several kinds of dependencies you might have.
Symbol.hasInstance A method that determines if a constructor object recognizes an object as one of the constructor’s instances
const declarations const declarations are another way of declaring variables.
Modular Libraries Some libraries only work in a module loader environment. For example, because express only works in Node.js and
Re-exports Often modules extend other modules, and partially expose some of their features. A re-export does not import it locally, or introduce
Publish to npm The Publishing section explains how to publish
/// <amd-dependency /> Note: this directive has been deprecated. Use import "moduleName";
Lay out the project Let’s start out with a new directory. We’ll name it proj for now, but you can change it to whatever you want
Browserify Now let’s move this project from Node to the browser. To do this, we’d like to bundle all our modules into one JavaScript file. Fortunately
Page 1 of 29