Skip to content

Commit a8428e0

Browse files
committed
Update readme with details on how to use with Parse
1 parent e90d755 commit a8428e0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@ You need to be running Node.js 0.8+ to use this library.
1010
$ npm install pusher
1111
```
1212

13+
### Parse Cloud
14+
15+
In order to use the library in a Parse Cloud module, download the file in `parse_cloud/pusher.js` into your `cloud/modules` path.
16+
17+
To import `Pusher`:
18+
19+
```js
20+
var Pusher = require('cloud/modules/pusher');
21+
```
22+
1323
## Configuration
1424

1525
There are 3 ways to configure the client. First one is just using the Pusher constructor:

0 commit comments

Comments
 (0)