tschaub / es-mainLinks
Test if an ES module is run directly (require.main replacement)
☆96Updated last week
Alternatives and similar repositories for es-main
Users that are interested in es-main are comparing it to the libraries listed below
Sorting:
- Polyfill of `util.parseArgs()`☆125Updated 4 months ago
- Resolve things like Node.js — ponyfill for `import.meta.resolve`☆137Updated 3 months ago
- get the file directory from import.meta.url☆116Updated last year
- ESLint plugin that validates data using JSON Schema Validator.☆85Updated 2 weeks ago
- Monorepo for NodeLib libraries☆76Updated 10 months ago
- ECMAScript Modules Loaders☆138Updated 8 months ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆99Updated last year
- A Rollup/Vite plugin that automatically declares NodeJS built-in modules and npm dependencies as 'external'☆97Updated last month
- Zero-dependency nodejs config seeker.☆180Updated last year
- Test TypeScript projects using AVA.☆76Updated 5 months ago
- ESLint shareable config for TypeScript to be used with eslint-config-xo☆179Updated 3 months ago
- Trace the original position through a source map☆109Updated 5 months ago
- nvm + execa = nvexeca☆46Updated 2 weeks ago
- An opinionated package.json formatter plugin for Prettier☆92Updated 4 months ago
- ⏱️Zero CPU overhead, zero dependency, true event-loop blocking sleep ⏱️☆84Updated 5 years ago
- Detect possibly catastrophic, exponential-time regular expressions☆49Updated last month
- ESLint plugin about ECMAScript syntactic features.☆110Updated 3 years ago
- An implementation of window.fetch in Node.js using Minipass streams☆56Updated last month
- Shows how fat is a package☆104Updated 2 years ago
- A very strict and proper argument parser.☆57Updated 6 months ago
- ECMAScript Async Explicit Resource Management☆59Updated 2 years ago
- Write Pino transports easily☆40Updated last month
- Like `require-in-the-middle`, but for ESM import☆157Updated last month
- Draft specification for a proposed Array.fromAsync method in JavaScript.☆205Updated 4 months ago
- Dependency-free RFC 3986 URI toolbox☆102Updated last month
- Walk through a folder and figure out what goes in an npm package☆115Updated last week
- Run some code when the process exits☆298Updated 2 weeks ago
- SQL linting rules for ESLint.☆109Updated 7 months ago
- webpack plugin to resolve TypeScript files when importing with js file extension in ESM projects☆48Updated this week
- A tiny (183B to 210B) and fast utility to ascend parent directories☆153Updated last year