npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

moduleloadlist

v0.0.2

Published

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

Downloads

89

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