An implementation of CommonJS modules system for browsers.
This is alpha-version
The library provides an environment for CommonJS modules. Tries to achieve compatibility with the basic mechanisms of Node.js.
The library is not engaged in assembling the project. See, for example, axy-define-asm.
The library does not require any dependencies.
Developed on Node.js 0.12.
Synchronous / Asynchronous
The browser it is not server. Unlike node.js it can not just take a file from the local file system.
By default, it works as follows. All required modules and data statically included on the page load stage. The library creates the virtual file system and modules work with it as with a local FS.
If you need the dynamic loading of modules, you can define the asynchronous loader.
- Virtual File System
- Resolving module path
- Core modules
- Global variables
- Asynchronous I/O
- Using in Node.js