tschaub / es-mainLinks
Test if an ES module is run directly (require.main replacement)
☆96Updated 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:
- Monorepo for NodeLib libraries☆76Updated 8 months ago
- Resolve things like Node.js — ponyfill for `import.meta.resolve`☆136Updated last month
- nvm + execa = nvexeca☆45Updated last week
- JSON, JSONC and JSON5 parser for use with ESLint plugins.☆67Updated last week
- ECMAScript Modules Loaders☆137Updated 6 months ago
- A very strict and proper argument parser.☆57Updated 4 months ago
- get the file directory from import.meta.url☆116Updated last year
- Polyfill of `util.parseArgs()`☆124Updated 2 months ago
- A Rollup/Vite plugin that automatically declares NodeJS built-in modules and npm dependencies as 'external'☆93Updated last month
- ESLint plugin that validates data using JSON Schema Validator.☆84Updated last week
- An opinionated package.json formatter plugin for Prettier☆91Updated 2 months ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆97Updated last year
- Zero-dependency nodejs config seeker.☆178Updated 10 months ago
- Walk through a folder and figure out what goes in an npm package☆114Updated last week
- Test TypeScript projects using AVA.☆76Updated 3 months ago
- ECMAScript Async Explicit Resource Management☆58Updated 2 years ago
- ESLint plugin to check Node.js dependencies.☆20Updated last week
- Node 18's node:test, as an npm package☆97Updated 9 months ago
- ESLint rules extracted from SonarJS☆43Updated 6 months ago
- Write Pino transports easily☆39Updated last year
- SQL linting rules for ESLint.☆108Updated 5 months ago
- ⏱️Zero CPU overhead, zero dependency, true event-loop blocking sleep ⏱️☆83Updated 5 years ago
- ESLint plugin with ^? Twoslash, $ExpectError, and $ExpectType type assertions. 🧩☆116Updated last week
- JS formatter for dprint Wasm plugins.☆38Updated last year
- An implementation of window.fetch in Node.js using Minipass streams☆56Updated 5 months ago
- Rules for Array functions and methods.☆97Updated last week
- 🔌 Build Typescript declarations with ESBuild☆60Updated 11 months ago
- Determine if your dependency graph's stated "engines" criteria is met.☆54Updated last year
- A configurable Prettier plugin to format embedded languages in JS/TS Files.☆74Updated last week
- Like `require-in-the-middle`, but for ESM import☆148Updated last week