Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-06T11:43:57.000Z (about 3 years ago)
- Last Synced: 2024-10-14T17:16:41.675Z (3 months ago)
- Language: JavaScript
- Size: 53 MB
- Stars: 0
- Watchers: 3
- 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.
[![npm version](https://img.shields.io/npm/v/esbuild-plugin-unprefix-core-modules.svg?style=flat-square)](https://www.npmjs.org/package/esbuild-plugin-unprefix-core-modules)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](http://commitizen.github.io/cz-cli/)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=flat-square)](https://conventionalcommits.org)
[![License](https://img.shields.io/badge/license-UNLICENSE-green.svg?style=flat-square)](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],
})
```