tschaub / es-mainLinks
Test if an ES module is run directly (require.main replacement)
☆93Updated 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☆96Updated last year
- Polyfill of `util.parseArgs()`☆125Updated last week
- A Rollup/Vite plugin that automatically declares NodeJS built-in modules and npm dependencies as 'external'☆93Updated last month
- ECMAScript Modules Loaders☆136Updated 4 months ago
- Resolve things like Node.js — ponyfill for `import.meta.resolve`☆134Updated last year
- ESLint plugin to check Node.js dependencies.☆19Updated last week
- Monorepo for NodeLib libraries☆74Updated 6 months ago
- get the file directory from import.meta.url☆116Updated last year
- Test TypeScript projects using AVA.☆76Updated last month
- ESLint plugin about ECMAScript syntactic features.☆110Updated 3 years ago
- nvm + execa = nvexeca☆43Updated 2 months ago
- ESLint plugin that validates data using JSON Schema Validator.☆80Updated last week
- Draft specification for a proposed Array.fromAsync method in JavaScript.☆203Updated last week
- A very strict and proper argument parser.☆56Updated 2 months ago
- ESLint shareable config for TypeScript to be used with eslint-config-xo☆176Updated 2 months ago
- Rollup plugin for loading files with existing source maps☆68Updated 11 months ago
- Node 18's node:test, as an npm package☆98Updated 7 months ago
- Easily exclude node modules in Esbuild☆77Updated 5 months ago
- JSON, JSONC and JSON5 parser for use with ESLint plugins.☆66Updated this week
- Syntax highlighting for JS and TS tagged template strings using comments to specify language☆181Updated last year
- Run some code when the process exits☆292Updated last year
- An opinionated package.json formatter plugin for Prettier☆88Updated last year
- ECMAScript Async Explicit Resource Management☆58Updated 2 years ago
- Regular Expression Pattern Modifiers for ECMAScript☆48Updated 9 months ago
- Rules for Array functions and methods.☆96Updated this week
- An implementation of window.fetch in Node.js using Minipass streams☆56Updated 3 months ago
- A nodejs loader for import maps☆57Updated 2 years ago
- ⏱️Zero CPU overhead, zero dependency, true event-loop blocking sleep ⏱️☆82Updated 5 years ago
- ESLint rules extracted from SonarJS☆43Updated 4 months ago
- Importing TypeScript files dynamically into JavaScript requires additional compilation step, which is troublesome to write for many. Popu…☆55Updated 5 months ago