tschaub / es-main
Test if an ES module is run directly (require.main replacement)
☆90Updated last week
Alternatives and similar repositories for es-main:
Users that are interested in es-main are comparing it to the libraries listed below
- Polyfill of `util.parseArgs()`☆123Updated 2 months ago
- nvm + execa = nvexeca☆43Updated 3 weeks ago
- Like `require-in-the-middle`, but for ESM import☆128Updated this week
- Monorepo for NodeLib libraries☆70Updated last month
- Generates single dts file for bundling TypeScript NPM packages☆139Updated 3 weeks ago
- Use @swc-node/register instead☆86Updated 2 years ago
- A Rollup/Vite plugin that automatically declares NodeJS built-in modules and npm dependencies as 'external'☆88Updated 2 months ago
- ESLint plugin that validates data using JSON Schema Validator.☆75Updated last month
- Supertest-like testing with a WHAT-WG fetch interface.☆41Updated 4 months ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆98Updated last year
- Easily mock NodeJS process properties in Jest.☆27Updated 2 years ago
- Rollup plugin to automatically exclude package.json dependencies and peerDependencies from your bundle☆69Updated 4 years ago
- An implementation of window.fetch in Node.js using Minipass streams☆55Updated this week
- 🔌 Build Typescript declarations with ESBuild☆60Updated 4 months ago
- Resolve things like Node.js — ponyfill for `import.meta.resolve`☆131Updated 9 months ago
- get the file directory from import.meta.url☆116Updated last year
- Test your TypeScript types easily☆43Updated last year
- An opinionated package.json formatter plugin for Prettier☆87Updated last year
- Write Pino transports easily☆35Updated 6 months ago
- A simple Node.js task runner☆129Updated this week
- ECMAScript Modules Loaders☆135Updated last month
- A tiny (183B to 210B) and fast utility to ascend parent directories☆153Updated 6 months ago
- ☆56Updated this week
- Trace the original position through a source map☆107Updated 11 months ago
- Test TypeScript projects using AVA.☆76Updated 9 months ago
- Lightweight tsconfig.json parser & paths resolver☆197Updated last month
- Proposal to introduce discard bindings to ECMAScript☆50Updated 5 months ago
- Additional ESLint rules for directive comments of ESLint.☆63Updated 4 months ago
- Configure esbuild targets based on a browserslist query☆48Updated last week
- JS formatter for dprint Wasm plugins.☆33Updated 8 months ago