Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

had it the wrong way around

  • Loading branch information...
commit 3c950e26a722f12e6fff3f6368c01f57b9a5e856 1 parent b1f7f3c
@iandouglas iandouglas authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -15,7 +15,7 @@ npm install sendgrid-nodejs
### It can be this easy ###
```javascript
-var SendGrid = require('sendgrid-nodejs').SendGrid;
+var SendGrid = require('sendgrid').SendGrid;
var sendgrid = new SendGrid(user, key);
sendgrid.send({
to: 'example@example.com',
@@ -41,7 +41,7 @@ for use in both the `sendgrid.send` and `sendgrid.smtp` functions.
To get started create an Email object:
```javascript
-var Email = require('sendgrid-nodejs').Email;
+var Email = require('sendgrid').Email;
var email = new Email(optionalParams);
```
Please sign in to comment.
Something went wrong with that request. Please try again.