tschaub / es-main
Test if an ES module is run directly (require.main replacement)
☆85Updated this week
Related projects ⓘ
Alternatives and complementary repositories for es-main
- Monorepo for NodeLib libraries☆70Updated this week
- Polyfill of `util.parseArgs()`☆122Updated 2 months ago
- Write Pino transports easily☆34Updated 2 months ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆98Updated 11 months ago
- get the file directory from import.meta.url☆114Updated 9 months ago
- Resolve things like Node.js — ponyfill for `import.meta.resolve`☆129Updated 5 months ago
- Test TypeScript projects using AVA.☆73Updated 6 months ago
- Create chart of dependencies in your bundle☆67Updated 10 months ago
- Permit Symbols as keys in WeakMaps, entries in WeakSets and WeakRefs, and registered in FinalizationRegistries☆90Updated 2 years ago
- Grouped Accessors and Auto-Accessors for ECMAScript☆57Updated last year
- Easily exclude node modules in Esbuild☆72Updated last month
- Node 18's node:test, as an npm package☆95Updated 3 weeks ago
- ☆54Updated last year
- ECMAScript Abstract Syntax Tree format☆50Updated last month
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- If you use globs, this will make your code faster. Returns `true` if the given string looks like a glob pattern or an extglob pattern. Th…☆91Updated last year
- SQL linting rules for ESLint.☆94Updated 3 months ago
- nvm + execa = nvexeca☆42Updated this week
- Trace the original position through a source map☆103Updated 8 months ago
- Proposal to introduce discard bindings to ECMAScript☆48Updated last month
- A fast source map manipulation, generation and consumption library written in Rust and Node.js☆104Updated 9 months ago
- Methods for working with async iterators in ECMAScript☆107Updated 5 months ago
- Draft specification for a proposed Array.fromAsync method in JavaScript.☆181Updated 10 months ago
- ECMAScript Proposal, specs, and reference implementation for Error.isError☆85Updated last week
- ADT enum proposal for ECMAScript☆89Updated 2 years ago
- Additional ESLint rules for Node.js☆234Updated this week
- A Rollup/Vite plugin that automatically declares NodeJS built-in modules and npm dependencies as 'external'☆83Updated 2 weeks ago
- ECMAScript Async Explicit Resource Management☆56Updated last year
- Generates single dts file for bundling TypeScript NPM packages☆138Updated 3 months ago
- Proposal for Bare Module Specifier Resolution in node.js☆130Updated last month