JSPM

moduleloadlist

0.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q32732F
  • License MIT

A list of all internal and user defined modules that are loaded/required

Package Exports

  • moduleloadlist

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 (moduleloadlist) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

moduleLoadList

Version npmBuild StatusDependenciesCoverage Status

Return a list of modules, bindings and native modules that have currently been loaded in your application. This gives you a greater understanding of the complexity of your application and possibly some useful information for debugging.

Installation

The module is released in npm and can therefor be installed by running:

npm install --save moduleloadlist

Usage

This module exposes one single function in the exports so you can require the module as illustrated in the example below:

'use strict';

var moduleLoadList = require('moduleloadlist');

To get a list of modules loaded you simply have to call the returned function:

console.log(moduleLoadList());

It would output something like:

[ 'Binding evals',
  'Binding natives',
  'NativeModule events',
  'NativeModule buffer',
  'Binding buffer',
  'NativeModule assert',
  'NativeModule util',
  'NativeModule path',
  'NativeModule module',
  'NativeModule fs',
  'Binding fs',
  'Binding constants',
  'NativeModule stream',
  'NativeModule _stream_readable',
  'NativeModule _stream_writable',
  'NativeModule _stream_duplex',
  'NativeModule _stream_transform',
  'NativeModule _stream_passthrough',
  'NativeModule child_process',
  'NativeModule string_decoder',
  'NativeModule net',
  'NativeModule timers',
  'Binding timer_wrap',
  'NativeModule _linklist',
  'Binding cares_wrap',
  'NativeModule dgram',
  'Binding udp_wrap',
  'Binding process_wrap',
  'NativeModule constants',
  'NativeModule tty',
  'Binding tty_wrap',
  'Binding signal_wrap',
  'NativeModule console',
  'UserModule mocha/bin/_mocha',
  'UserModule commander',
  'UserModule glob/glob',
  'UserModule graceful-fs/graceful-fs',
  'UserModule graceful-fs/polyfills',
  'UserModule minimatch/minimatch',
  'UserModule lru-cache/lib/lru-cache',
  'UserModule sigmund/sigmund',
  'UserModule inherits/inherits',
  'UserModule mocha',
  'UserModule mocha/lib/mocha',
  'UserModule mocha/lib/utils',
  'UserModule debug/node',
  'UserModule debug/debug',
  'UserModule ms',
  'UserModule mocha/lib/interfaces',
  'UserModule mocha/lib/interfaces/bdd',
  'UserModule mocha/lib/suite',
  'UserModule mocha/lib/ms',
  'UserModule mocha/lib/hook',
  'UserModule mocha/lib/runnable',
  'UserModule mocha/lib/test',
  'UserModule mocha/lib/interfaces/tdd',
  'UserModule mocha/lib/interfaces/qunit',
  'UserModule mocha/lib/interfaces/exports',
  'UserModule mocha/lib/reporters',
  'UserModule mocha/lib/reporters/base',
  'UserModule diff/diff',
  'UserModule mocha/lib/reporters/dot',
  'UserModule mocha/lib/reporters/doc',
  'UserModule mocha/lib/reporters/tap',
  'UserModule mocha/lib/reporters/json',
  'UserModule mocha/lib/reporters/html',
  'UserModule mocha/lib/browser/progress',
  'UserModule mocha/lib/reporters/list',
  'UserModule mocha/lib/reporters/min',
  'UserModule mocha/lib/reporters/spec',
  'UserModule mocha/lib/reporters/nyan',
  'UserModule mocha/lib/reporters/xunit',
  'UserModule mocha/lib/reporters/markdown',
  'UserModule mocha/lib/reporters/progress',
  'UserModule mocha/lib/reporters/landing',
  'UserModule mocha/lib/reporters/json-cov',
  'UserModule mocha/lib/reporters/html-cov',
  'UserModule mocha/lib/reporters/json-stream',
  'UserModule mocha/lib/context',
  'UserModule mocha/lib/runner',
  'UserModule ./test',
  'UserModule assume',
  'UserModule backtrace',
  'UserModule stacktrace-js/stacktrace',
  'UserModule assume/failure',
  'UserModule pathval',
  'UserModule deep-eql',
  'UserModule deep-eql/lib/eql',
  'UserModule type-detect',
  'UserModule type-detect/lib/type',
  'UserModule .' ]

License

MIT