tschaub / es-mainLinks
Test if an ES module is run directly (require.main replacement)
☆96Updated 3 weeks ago
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 5 months ago
- Resolve things like Node.js — ponyfill for `import.meta.resolve`☆141Updated 4 months ago
- get the file directory from import.meta.url☆116Updated last year
- Test TypeScript projects using AVA.☆77Updated 6 months ago
- ESLint shareable config for TypeScript to be used with eslint-config-xo☆179Updated 4 months ago
- ECMAScript Modules Loaders☆138Updated 9 months ago
- ESLint plugin that validates data using JSON Schema Validator.☆87Updated this week
- ESLint plugin to check Node.js dependencies.☆21Updated last week
- JSON, JSONC and JSON5 parser for use with ESLint plugins.☆71Updated last week
- Monorepo for NodeLib libraries☆77Updated last year
- A Rollup/Vite plugin that automatically declares NodeJS built-in modules and npm dependencies as 'external'☆100Updated 2 months ago
- Zero-dependency nodejs config seeker.☆184Updated last month
- noop functions to help formatters and syntax highlighters recognize embedded code☆99Updated 2 years ago
- Rules for Array functions and methods.☆96Updated this week
- Draft specification for a proposed Array.fromAsync method in JavaScript.☆206Updated 5 months ago
- ESLint plugin about ECMAScript syntactic features.☆110Updated 3 years ago
- Write Pino transports easily☆43Updated 3 months ago
- ESM import and globals mocking for unit tests☆212Updated 2 months ago
- nvm + execa = nvexeca☆45Updated last month
- An opinionated package.json formatter plugin for Prettier☆92Updated 5 months ago
- ECMAScript Async Explicit Resource Management☆59Updated 2 years ago
- 🧹 Clean up/prune unnecessary files and reduce the size of your node_modules directory.☆129Updated last year
- Detect possibly catastrophic, exponential-time regular expressions☆50Updated 2 months ago
- Trace the original position through a source map☆109Updated 6 months ago
- ESLint rules extracted from SonarJS☆43Updated 10 months ago
- SQL linting rules for ESLint.☆111Updated this week
- Node 18's node:test, as an npm package☆97Updated last year
- ESLint JSON processor and rules☆95Updated last month
- ⏱️Zero CPU overhead, zero dependency, true event-loop blocking sleep ⏱️☆85Updated 5 years ago
- Permit Symbols as keys in WeakMaps, entries in WeakSets and WeakRefs, and registered in FinalizationRegistries☆93Updated 7 months ago