tschaub / es-mainLinks
Test if an ES module is run directly (require.main replacement)
☆96Updated this 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()`☆124Updated 2 months ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆97Updated last year
- Resolve things like Node.js — ponyfill for `import.meta.resolve`☆136Updated last month
- An opinionated package.json formatter plugin for Prettier☆91Updated 2 months ago
- Monorepo for NodeLib libraries☆76Updated 9 months ago
- JSON, JSONC and JSON5 parser for use with ESLint plugins.☆68Updated last week
- get the file directory from import.meta.url☆116Updated last year
- A Rollup/Vite plugin that automatically declares NodeJS built-in modules and npm dependencies as 'external'☆94Updated 2 weeks ago
- ESLint plugin to check Node.js dependencies.☆20Updated last week
- ESLint plugin that validates data using JSON Schema Validator.☆84Updated last week
- Zero-dependency nodejs config seeker.☆179Updated 10 months ago
- Run some code when the process exits☆296Updated last week
- ECMAScript Modules Loaders☆137Updated 6 months ago
- __dirname and __filename for ES Modules environment☆68Updated last year
- nvm + execa = nvexeca☆46Updated last month
- Draft specification for a proposed Array.fromAsync method in JavaScript.☆204Updated 2 months ago
- SQL linting rules for ESLint.☆108Updated 6 months ago
- Trace the original position through a source map☆109Updated 3 months ago
- Like `require-in-the-middle`, but for ESM import☆152Updated last week
- webpack plugin to resolve TypeScript files when importing with js file extension in ESM projects☆48Updated last week
- ESLint rules extracted from SonarJS☆43Updated 7 months ago
- Jest runner to test TypeScript typings☆78Updated this week
- ESLint JSON processor and rules☆94Updated last month
- ESLint shareable config for TypeScript to be used with eslint-config-xo☆179Updated 2 months ago
- Test TypeScript projects using AVA.☆76Updated 4 months ago
- ☆63Updated 3 months ago
- Permit Symbols as keys in WeakMaps, entries in WeakSets and WeakRefs, and registered in FinalizationRegistries☆93Updated 5 months ago
- making fetch happen for npm☆203Updated last month
- utility to create a new trees with a nice syntax☆79Updated 2 years ago
- Node 18's node:test, as an npm package☆97Updated 10 months ago