diff --git a/README.md b/README.md index 48666d1c5..217034119 100644 --- a/README.md +++ b/README.md @@ -40,9 +40,22 @@ otherwise application shutdown might hang or it might exit with a non-zero exit ## Include in web browser We build a special browser version of the driver, which supports connecting to Neo4j over WebSockets. +It can be included in an HTML page using one of the following tags: ```html + + + + + + + + + + + + ``` This will make a global `neo4j` object available, where you can access the `v1` API at `neo4j.v1`: diff --git a/package.json b/package.json index 98951ef99..41829beb5 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,8 @@ "browser": "gulp browser && gulp test-browser" }, "main": "lib/index.js", - "unpkg": "lib/browser/neo4j-web.min.js", + "unpkg": "lib/browser/neo4j-web.js", + "jsdelivr": "lib/browser/neo4j-web.js", "types": "types/index.d.ts", "devDependencies": { "async": "^2.4.0",