wf-bridge
v1.0.4-wf.1
Published
Version 1.0.4 of the wf-bridge library
Readme
wf-bridge
Version 1.0.4 of the wf-bridge library
Installation
npm install wf-bridgeUsage
Automatic Popup
The popup will automatically appear when you import/require this package in a browser environment:
// Simply require the package - popup shows automatically!
require('wf-bridge');Or in your HTML:
<script src="node_modules/wf-bridge/index.js"></script>Manual Popup
You can also manually trigger the popup:
const { createPopup } = require('wf-bridge');
createPopup();Features
- ✅ Auto-displays popup when imported in browser
- ✅ Header: 'TDSPT-NPM'
- ✅ Message: 'It works!'
- ✅ Close button and overlay click to dismiss
- ✅ No external dependencies
- ✅ Works in Node.js (skips popup) and browser environments
License
MIT
