Package Exports
- node-libs-browser
- node-libs-browser/mock/_console
- node-libs-browser/mock/_process
- node-libs-browser/mock/buffer
- node-libs-browser/mock/tls
- node-libs-browser/mock/tty
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-libs-browser) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
node-libs-browser
The node core libs for in browser usage.
They are in CommonJs exports style and may have dependencies to other files with a CommonJs require
. Shared util functions are layed out in shared modules.
Formats
Modules exist in up to four formats:
full
fully featured
part
(optional)
a comprimise of features and file size
minimal
a minimal export without any features, just to make other modules happy.
test
(optional)
version for testing, you may have to provide test data.
Module exports
{
full: {
assert: "/absolute/path/to/assert",
events: "/absolute/path/to/events",
/* ... */
},
part: {
/* ... */
},
minimal: {
/* ... */
},
test: {
/* ... */
},
best: {
/* full or part or minimal in this order whatever available */
assert: "/absolute/path/to/assert",
events: "/absolute/path/to/events",
/* ... */
},
modules: {
/* absolute paths to available types */
assert: {
full: "/absolute/path/to/assert",
minimal: "/absolute/path/to/assert-minimal"
},
events: {
full: "/absolute/path/to/assert"
},
/* ... */
}
}