https://github.com/thierrymichel/esbuild-plugin-unprefix-core-modules
An esbuild plugin to remove 'node:*' prefix for older Node.js versions.
https://github.com/thierrymichel/esbuild-plugin-unprefix-core-modules
Last synced: 4 months ago
JSON representation
An esbuild plugin to remove 'node:*' prefix for older Node.js versions.
- Host: GitHub
- URL: https://github.com/thierrymichel/esbuild-plugin-unprefix-core-modules
- Owner: thierrymichel
- License: unlicense
- Created: 2021-11-05T15:07:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-06T11:43:57.000Z (over 3 years ago)
- Last Synced: 2025-03-11T10:17:53.929Z (4 months ago)
- Language: JavaScript
- Size: 53 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# esbuild-plugin-unprefix-core-modules
> An [esbuild](https://esbuild.github.io/) plugin to remove 'node:\*' prefix for older Node.js versions.
[](https://www.npmjs.org/package/esbuild-plugin-unprefix-core-modules)
[](http://commitizen.github.io/cz-cli/)
[](https://conventionalcommits.org)
[](https://github.com/thierrymichel/esbuild-plugin-unprefix-core-modules/blob/main/UNLICENSE)## Install
```sh
yarn add -D esbuild-plugin-unprefix-core-modules
```or
```sh
npm i -D esbuild-plugin-unprefix-core-modules
```## Usage
```js
const esbuild = require('esbuild')
const unprefixNodeCoreModules = require('esbuild-plugin-unprefix-core-modules')esbuild.build({
plugins: [unprefixNodeCoreModules],
})
```