Socket
Book a DemoInstallSign in
Socket

@start-dev/rewrite-imports

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@start-dev/rewrite-imports

Rewrite import paths in ESModules without a full parser like babel

latest
npmnpm
Version
1.0.0
Version published
Maintainers
2
Created
Source

@start-dev/rewrite-imports

A very fast utility for rewriting ES Modules import paths. This uses a Web Assembly library that lexes (but does not fully parse) the JavaScript to find thee locations of imports, making it much faster than applying a similar transformation using babel or similar.

FAQs

Package last updated on 13 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts