tschaub / es-main
Test if an ES module is run directly (require.main replacement)
☆86Updated this week
Alternatives and similar repositories for es-main:
Users that are interested in es-main are comparing it to the libraries listed below
- Monorepo for NodeLib libraries☆70Updated 3 weeks ago
- Write Pino transports easily☆35Updated 4 months ago
- Node 18's node:test, as an npm package☆95Updated last month
- ESLint JSON processor and rules☆91Updated last month
- Fix broken node modules instantly 🏃🏽♀️💨 fork with pnpm support https://github.com/ds300/patch-package/pull/302☆41Updated 2 years ago
- Polyfill of `util.parseArgs()`☆123Updated last month
- ESM import and globals mocking for unit tests☆201Updated this week
- Easily mock NodeJS process properties in Jest.☆27Updated 2 years ago
- JSON, JSONC and JSON5 parser for use with ESLint plugins.☆62Updated last month
- Create chart of dependencies in your bundle☆67Updated last month
- nvm + execa = nvexeca☆43Updated this week
- ECMAScript Modules Loaders☆132Updated 2 months ago
- Detect possibly catastrophic, exponential-time regular expressions☆37Updated 2 weeks ago
- get the file directory from import.meta.url☆115Updated last year
- ESLint plugin that validates data using JSON Schema Validator.☆74Updated this week
- Grouped Accessors and Auto-Accessors for ECMAScript☆57Updated last year
- JS formatter for dprint Wasm plugins.☆33Updated 6 months ago
- A Rollup/Vite plugin that automatically declares NodeJS built-in modules and npm dependencies as 'external'☆87Updated last month
- Test TypeScript projects using AVA.☆76Updated 8 months ago
- A nodejs loader for import maps☆57Updated last year
- provide stats for routes using perf_hooks, for fastify☆50Updated 2 weeks ago
- Supertest-like testing with a WHAT-WG fetch interface.☆41Updated 3 months ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆98Updated last year
- This ESLint plugin provides linting rules for YAML.☆128Updated this week
- ECMAScript proposal for String.cooked built-in template tag☆53Updated 2 years ago
- An opinionated package.json formatter plugin for Prettier☆87Updated last year
- Proposal to introduce discard bindings to ECMAScript☆48Updated 3 months ago
- Additional ESLint rules for Node.js☆253Updated last month
- JSON.parseImmutable for creating Records and Tuples from JSON strings☆40Updated 2 years ago
- ECMAScript Async Explicit Resource Management☆56Updated last year