GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - bmeck/node-apm-loader-example

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
overloads
overloads
 
 
test
test
 
 
README.md
README.md
 
 
dirname.js
dirname.js
 
 
index.mjs
index.mjs
 
 
package.json
package.json
 
 

Repository files navigation

Example APM Loader

This loader overloads the fs module specifier to point to a new version with a different readFile implementation as an example for how to create tooling like APMs or mocking in ESM using loader hooks.

This loader can be used by passing in the --loader flag to node.

node --experimental-modules --loader ./index.mjs $MAIN

or

NODE_OPTIONS='--experimental-modules --loader ./index.mjs'
node $MAIN

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

3 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.