tschaub / es-mainLinks
Test if an ES module is run directly (require.main replacement)
☆96Updated last month
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()`☆125Updated 6 months ago
- Resolve things like Node.js — ponyfill for `import.meta.resolve`☆142Updated 5 months ago
- Zero-dependency nodejs config seeker.☆184Updated 2 months ago
- nvm + execa = nvexeca☆45Updated 2 weeks ago
- SQL linting rules for ESLint.☆111Updated 3 weeks ago
- ESLint plugin to check Node.js dependencies.☆21Updated this week
- Test TypeScript projects using AVA.☆77Updated 7 months ago
- get the file directory from import.meta.url☆116Updated 2 years ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆99Updated 2 years ago
- An opinionated package.json formatter plugin for Prettier☆93Updated 6 months ago
- Monorepo for NodeLib libraries☆77Updated last year
- ESLint plugin that validates data using JSON Schema Validator.☆91Updated last week
- ESLint plugin about ECMAScript syntactic features.☆110Updated 4 years ago
- A Rollup/Vite plugin that automatically declares NodeJS built-in modules and npm dependencies as 'external'☆101Updated 3 months ago
- Rules for Array functions and methods.☆96Updated this week
- Remove indentation from ES6 template strings☆181Updated last year
- ECMAScript Async Explicit Resource Management☆59Updated 2 years ago
- Tool to gather all dependents of a package and filter by npm weekly downloads, github forks, stars and watchers☆75Updated last year
- JSON, JSONC and JSON5 parser for use with ESLint plugins.☆71Updated this week
- ESLint JSON processor and rules☆95Updated 2 months ago
- ☆63Updated 7 months ago
- Run some code when the process exits☆300Updated last week
- ESM import and globals mocking for unit tests☆212Updated 3 months ago
- A very strict and proper argument parser.☆58Updated this week
- ECMAScript Modules Loaders☆138Updated 10 months ago
- Test your TypeScript types easily☆44Updated last year
- Serialize objects to JSON with handling for circular references☆162Updated last week
- ⏱️Zero CPU overhead, zero dependency, true event-loop blocking sleep ⏱️☆85Updated 5 years ago
- Detect possibly catastrophic, exponential-time regular expressions☆50Updated 3 months ago
- Permit Symbols as keys in WeakMaps, entries in WeakSets and WeakRefs, and registered in FinalizationRegistries☆93Updated 8 months ago