Skip to content

Commit

Permalink
fix(readme): Added correct way to use package for Node projects
Browse files Browse the repository at this point in the history
  • Loading branch information
rafa8626 committed Sep 28, 2018
1 parent ec5a27f commit c7582ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ If you are planning to use OpenPlayer in a Node project, you can:

```javascript
// Using as module
var openplayer = require('/path/to/openplayer');
var openplayer = require('/path/to/openplayerjs');

// or importing the library (ES6)
import OpenPlayer from 'openplayer';
import OpenPlayer from 'openplayerjs';
```

## Usage with Javascript
Expand Down

0 comments on commit c7582ee

Please sign in to comment.