mirror of
https://github.com/cwinfo/hyperboria-peers.git
synced 2024-11-22 13:00:38 +00:00
require should use npm package name
This commit is contained in:
parent
fd95e35979
commit
c81996e32e
@ -62,7 +62,7 @@ It's available as a module on npm:
|
|||||||
### Usage
|
### Usage
|
||||||
|
|
||||||
```Javascript
|
```Javascript
|
||||||
var Peers = require("./index.js");
|
var Peers = require("hyperboria-peers");
|
||||||
|
|
||||||
/* return a list of public peers located in North America */
|
/* return a list of public peers located in North America */
|
||||||
Peers.filter(function (creds, path) {
|
Peers.filter(function (creds, path) {
|
||||||
|
Loading…
Reference in New Issue
Block a user