tschaub / es-main
Test if an ES module is run directly (require.main replacement)
☆91Updated 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:
- noop functions to help formatters and syntax highlighters recognize embedded code☆97Updated last year
- Monorepo for NodeLib libraries☆73Updated 4 months ago
- JSON, JSONC and JSON5 parser for use with ESLint plugins.☆64Updated 2 months ago
- An opinionated package.json formatter plugin for Prettier☆88Updated last year
- get the file directory from import.meta.url☆116Updated last year
- Polyfill of `util.parseArgs()`☆125Updated last week
- ESLint plugin to check Node.js dependencies.☆17Updated last week
- Easily mock NodeJS process properties in Jest.☆27Updated 2 years ago
- Utilities you'll need when migrating to ESModule.☆25Updated 2 weeks ago
- Resolve things like Node.js — ponyfill for `import.meta.resolve`☆133Updated 11 months ago
- Permit Symbols as keys in WeakMaps, entries in WeakSets and WeakRefs, and registered in FinalizationRegistries☆89Updated 2 years ago
- Generates single dts file for bundling TypeScript NPM packages☆139Updated 3 months ago
- Node 18's node:test, as an npm package☆96Updated 4 months ago
- Rules for Array functions and methods.☆96Updated this week
- A Rollup/Vite plugin that automatically declares NodeJS built-in modules and npm dependencies as 'external'☆89Updated 4 months ago
- Test TypeScript projects using AVA.☆75Updated last year
- A utility for ESLint respecting `.gitignore` files.☆40Updated 4 years ago
- ECMAScript Modules Loaders☆134Updated last month
- ESLint JSON processor and rules☆93Updated 2 weeks ago
- ECMAScript proposal for String.cooked built-in template tag☆57Updated 2 years ago
- Rollup Plugin to automatically resolve path aliases set in the compilerOptions section of tsconfig.json.☆46Updated last year
- An implementation of window.fetch in Node.js using Minipass streams☆56Updated 2 weeks ago
- Create chart of dependencies in your bundle☆72Updated 4 months ago
- nvm + execa = nvexeca☆43Updated last month
- Zero-dependency nodejs config seeker.☆161Updated 5 months ago
- Easily exclude node modules in Esbuild☆75Updated 3 months ago
- ESLint plugin that validates data using JSON Schema Validator.☆76Updated last week
- Draft specification for a proposed Array.fromAsync method in JavaScript.☆194Updated last week
- A nodejs loader for import maps☆57Updated last year
- Test your TypeScript types easily☆43Updated last year