source-replacement
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

Source Replacement

semantic-release JavaScript Style Guide ts code style: prettier License: MIT

Module to enhance ability of source replacement for website

Note: Not using this in production environment

Installation

yarn add source-replacement

Usage

Attach source-replacement/build/executors/source-replacement on the script tag in <head> or mark it as async type=module

In your source import source-replacement/build/code-blocker.js to prevent executing your source during the process of replacement

On your browser

Enter page with the following example

https://example.com/#targetReplacementSource=https://your-target-js-source-url

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.0.12latest

Version History

VersionDownloads (Last 7 Days)Published
2.0.12
2.0.00
1.0.180
1.0.170
1.0.160
1.0.150
1.0.140
1.0.130
1.0.120
1.0.110
1.0.100
1.0.90
1.0.80
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i source-replacement

Weekly Downloads

2

Version

2.0.1

License

MIT

Unpacked Size

362 kB

Total Files

56

Last publish

Collaborators

  • reiiyuki