Skip to content

Commit

Permalink
update require example
Browse files Browse the repository at this point in the history
  • Loading branch information
evanshortiss committed Dec 23, 2017
1 parent e359a3c commit a5e3f25
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ too.
```js
'use strict'

const Bittrex = require('bittrex.js')
const Bittrex = require('@evanshortiss/bittrex.js')

const client = new Bittrex.RestClient({
apikey: 'YOUR KEY GOES HERE',
Expand Down Expand Up @@ -105,7 +105,8 @@ $ npm run browserify
```

This will produce a file at `dist/bittrex.js` that you can add to your project.
You can `require('bittrex.js')` it, or access it via `window.Bittrex`.
You can `require('@evanshortiss/bittrex.js')` it, or access it via
`window.Bittrex`.

## TypeScript
Since this module is written in TypeScript it works great in other TypeScript
Expand Down

0 comments on commit a5e3f25

Please sign in to comment.