tschaub / es-mainLinks
Test if an ES module is run directly (require.main replacement)
☆95Updated 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 last month
- ESLint plugin to check Node.js dependencies.☆19Updated last week
- Monorepo for NodeLib libraries☆75Updated 8 months ago
- Resolve things like Node.js — ponyfill for `import.meta.resolve`☆136Updated 2 weeks ago
- ESLint plugin that validates data using JSON Schema Validator.☆84Updated this week
- ECMAScript Modules Loaders☆137Updated 5 months ago
- JSON, JSONC and JSON5 parser for use with ESLint plugins.☆67Updated last week
- noop functions to help formatters and syntax highlighters recognize embedded code☆96Updated last year
- Test TypeScript projects using AVA.☆76Updated 2 months ago
- ESLint JSON processor and rules☆93Updated this week
- Zero-dependency nodejs config seeker.☆178Updated 9 months ago
- ESLint rules extracted from SonarJS☆43Updated 6 months ago
- A Rollup/Vite plugin that automatically declares NodeJS built-in modules and npm dependencies as 'external'☆93Updated last week
- SQL linting rules for ESLint.☆108Updated 4 months ago
- webpack plugin to resolve TypeScript files when importing with js file extension in ESM projects☆48Updated last week
- Rules for Array functions and methods.☆98Updated last week
- Node 18's node:test, as an npm package☆97Updated 8 months ago
- ESLint plugin with ^? Twoslash, $ExpectError, and $ExpectType type assertions. 🧩☆116Updated last week
- Easily exclude node modules in Esbuild☆78Updated 7 months ago
- Trace the original position through a source map☆108Updated 2 months ago
- ESM import and globals mocking for unit tests☆208Updated this week
- ECMAScript Async Explicit Resource Management☆59Updated 2 years ago
- nvm + execa = nvexeca☆44Updated 3 months ago
- __dirname and __filename for ES Modules environment☆68Updated last year
- get the file directory from import.meta.url☆116Updated last year
- 🔌 Build Typescript declarations with ESBuild☆60Updated 10 months ago
- ⏱️Zero CPU overhead, zero dependency, true event-loop blocking sleep ⏱️☆83Updated 5 years ago
- Use @swc-node/register instead☆86Updated 3 years ago
- ESLint plugin about ECMAScript syntactic features.☆110Updated 3 years ago
- A very strict and proper argument parser.☆56Updated 3 months ago