File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -40,9 +40,22 @@ otherwise application shutdown might hang or it might exit with a non-zero exit
4040## Include in web browser
4141
4242We build a special browser version of the driver, which supports connecting to Neo4j over WebSockets.
43+ It can be included in an HTML page using one of the following tags:
4344
4445``` html
46+ <!-- Direct reference -->
4547<script src =" lib/browser/neo4j-web.min.js" ></script >
48+
49+ <!-- unpkg CDN non-minified -->
50+ <script src =" https://unpkg.com/neo4j-driver" ></script >
51+ <!-- unpkg CDN minified for production use, version X.Y.Z -->
52+ <script src =" https://unpkg.com/neo4j-driver@X.Y.Z/lib/browser/neo4j-web.min.js" ></script >
53+
54+ <!-- jsDelivr CDN non-minified -->
55+ <script src =" https://cdn.jsdelivr.net/npm/neo4j-driver" ></script >
56+ <!-- jsDelivr CDN minified for production use, version X.Y.Z -->
57+ <script src =" https://cdn.jsdelivr.net/npm/neo4j-driver@X.Y.Z/lib/browser/neo4j-web.min.js" ></script >
58+
4659```
4760
4861This will make a global ` neo4j ` object available, where you can access the ` v1 ` API at ` neo4j.v1 ` :
You can’t perform that action at this time.
0 commit comments