tschaub / es-main
Test if an ES module is run directly (require.main replacement)
☆91Updated 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 3 months ago
- Monorepo for NodeLib libraries☆70Updated 2 months ago
- JSON, JSONC and JSON5 parser for use with ESLint plugins.☆62Updated last month
- ESLint JSON processor and rules☆92Updated 3 weeks ago
- ESM import and globals mocking for unit tests☆205Updated 2 months ago
- nvm + execa = nvexeca☆43Updated this week
- Regular Expression Pattern Modifiers for ECMAScript☆46Updated 5 months ago
- A Rollup/Vite plugin that automatically declares NodeJS built-in modules and npm dependencies as 'external'☆88Updated 3 months ago
- ECMAScript Async Explicit Resource Management☆56Updated last year
- An opinionated package.json formatter plugin for Prettier☆88Updated last year
- noop functions to help formatters and syntax highlighters recognize embedded code☆98Updated last year
- Create chart of dependencies in your bundle☆70Updated 3 months ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- ADT enum proposal for ECMAScript☆97Updated 3 months ago
- ☆49Updated last week
- DEPRECATED: use https://www.npmjs.com/package/deno instead☆73Updated this week
- Node 18's node:test, as an npm package☆96Updated 3 months ago
- Resolve things like Node.js — ponyfill for `import.meta.resolve`☆131Updated 10 months ago
- ESLint plugin that validates data using JSON Schema Validator.☆75Updated last week
- Easily mock NodeJS process properties in Jest.☆27Updated 2 years ago
- Walk through a folder and figure out what goes in an npm package☆111Updated 3 months ago
- A very strict and proper argument parser.☆54Updated last month
- Generates single dts file for bundling TypeScript NPM packages☆139Updated last month
- Lightweight tsconfig.json parser & paths resolver☆202Updated 2 months ago
- Test TypeScript projects using AVA.☆76Updated 10 months ago
- Rollup plugin to display bundle contents & size information☆92Updated last month
- Grouped Accessors and Auto-Accessors for ECMAScript☆57Updated last year
- Permit Symbols as keys in WeakMaps, entries in WeakSets and WeakRefs, and registered in FinalizationRegistries☆89Updated 2 years ago
- Draft specification for a proposed Array.fromAsync method in JavaScript.☆188Updated last year
- Visual Studio Code extension for formatting code with dprint.☆65Updated 2 months ago