Skip to content

Commit

Permalink
Require influx from npm in example
Browse files Browse the repository at this point in the history
  • Loading branch information
bencevans committed Apr 10, 2015
1 parent 7dafbaf commit b559924
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ An [InfluxDB](http://influxdb.org/) Node.js Client
Create a client instance (`database` not required for all methods):

```js
var influx = require('influx')

var client = influx({

//cluster configuration
Expand All @@ -35,7 +37,7 @@ var client = influx({
username : 'dbuser',
password : 'f4ncyp4ass',
database : 'my_database'
});
})

```

Expand Down

0 comments on commit b559924

Please sign in to comment.