@auraxy/cef-bridge
Version:
cefCore, boundAsync, cefEnviroment, cefPopupEnvironment, cefJsWebBridge
50 lines (37 loc) • 1.93 kB
Markdown
# @auraxy/cef-bridge
[](https://www.npmjs.com/package/@auraxy/cef-bridge)
[](https://www.npmjs.com/package/@auraxy/cef-bridge)



> `pkg.module supported`, which means that you can apply tree-shaking in you project
cefCore, boundAsync, cefEnviroment, cefPopupEnvironment, cefJsWebBridge
如果是从 1.0.0 迁移到 2.0.0 以上版本请注意接口名称的变化,将所有相关变动的接口名一并修改掉
## repository
https://git.yipiaoyun.com/front/cef-bridge.git
## Demo
https://git.yipiaoyun.com/front/cef-bridge#readme
## Run Example
Your can see the usage by run the example of the module, here is the step:
1. Clone the library `git clone https://git.yipiaoyun.com/front/cef-bridge.git`
2. Go to the directory `cd your-module-directory`
3. Install npm dependencies `npm i`(use taobao registry: `npm i --registry=http://registry.npm.taobao.org`)
4. Open service `npm run dev`
5. See the example(usually is `http://127.0.0.1/examples/test.html`) in your browser
## Installation
```bash
npm i -S git+ssh://git@git.yipiaoyun.com:front/cef-bridge.git[#tagName]
```
## Global name
`CefBridge`
## Interface
See in [index.d.ts](./index.d.ts)
## Usage
```js
import * as CefBridge from '@auraxy/cef-bridge'
```
Use in html, see what your can use in [CDN: unpkg](https://unpkg.com/@auraxy/cef-bridge/lib/umd/)
```html
<-- use what you want -->
<script src="https://unpkg.com/@auraxy/cef-bridge/lib/umd/<--module-->.js"></script>
```