Skip to content

Commit 7606f54

Browse files
committed
Ran .md files through Grammer.ly an updated accordingly
1 parent 2edce07 commit 7606f54

File tree

6 files changed

+71
-32
lines changed

6 files changed

+71
-32
lines changed

CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,30 @@
11
# Change Log
2+
23
All notable changes to this project will be documented in this file.
34

45
## [1.3.1] - 2017-4-10
6+
57
### Fixed
6-
- #16 fix issue where concat was used incorrectly
8+
9+
- #16 Fixed issue where concat was used incorrectly.
710
- Thanks to [Limian Wang](https://github.com/limianwang) for the PR!
811

912
## [1.3.0] - 2017-4-6
13+
1014
### Added
11-
- #19 Adds setBatchId method
15+
16+
- #19 Adds setBatchId method.
1217
- Thanks to [mell0kat](https://github.com/mell0kat) for the PR!
1318

1419
## [1.2.0] - 2015-7-19
20+
1521
### Added
22+
1623
- IP Pool support
1724

1825
## [1.1.0] - 2015-2-3
26+
1927
### Added
28+
2029
- ASM Group ID support
2130
- CHANGELOG.md

CODE_OF_CONDUCT.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,49 @@
11
# SendGrid Community Code of Conduct
22

3-
The SendGrid open source community is made up of members from around the globe with a diverse set of skills, personalities, and experiences. It is through these differences that our community experiences successes and continued growth. When you're working with members of the community, we encourage you to follow these guidelines, which help steer our interactions and strive to maintain a positive, successful and growing community.
3+
The SendGrid open source community is made up of members from around the globe with a diverse set of skills, personalities, and experiences. It is through these differences that our community experiences successes and continued growth. When you're working with members of the community, we encourage you to follow these guidelines, which help steer our interactions and strive to maintain a positive, successful and growing community.
44

55
### Be Open
6+
67
Members of the community are open to collaboration, whether it's on pull requests, code reviews, approvals, issues or otherwise. We're receptive to constructive comments and criticism, as the experiences and skill sets of all members contribute to the whole of our efforts. We're accepting of all who wish to take part in our activities, fostering an environment where anyone can participate, and everyone can make a difference.
78

89
### Be Considerate
10+
911
Members of the community are considerate of their peers, which include other contributors and users of SendGrid. We're thoughtful when addressing the efforts of others, keeping in mind that often the labor was completed with the intent of the good of the community. We're attentive in our communications, whether in person or online, and we're tactful when approaching differing views.
1012

1113
### Be Respectful
12-
Members of the community are respectful. We're respectful of others, their positions, their skills, their commitments and their efforts. We're respectful of the volunteer efforts that permeate the SendGrid community. We're respectful of the processes outlined in the community, and we work within them. When we disagree, we are courteous in raising our issues. Overall, we're good to each other. We contribute to this community not because we have to, but because we want to. If we remember that, these guidelines will come naturally.
1314

14-
## Additional Guidance
15+
Members of the community are respectful. We're respectful of others, their positions, their skills, their commitments, and their efforts. We're respectful of the volunteer efforts that permeate the SendGrid community. We're respectful of the processes outlined in the community, and we work within them. When we disagree, we are courteous in raising our issues. Overall, we treat each other well. We contribute to this community not because we have to, but because we want to. If we remember that, these guidelines will come naturally.
16+
17+
## Additional Guidance
1518

1619
### Disclose Potential Conflicts of Interest
20+
1721
Community discussions often involve interested parties. We expect participants to be aware when they are conflicted due to employment or other projects they are involved in and disclose those interests to other project members. When in doubt, over-disclose. Perceived conflicts of interest are important to address so that the community’s decisions are credible even when unpopular, difficult or favorable to the interests of one group over another.
1822

1923
### Interpretation
20-
This Code is not exhaustive or complete. It is not a rulebook; it serves to distill our common understanding of a collaborative, shared environment and goals. We expect it to be followed in spirit as much as in the letter. When in doubt, try to abide by [SendGrid’s cultural values](https://sendgrid.com/blog/employee-engagement-the-4h-way) defined by our “4H’s”: Happy, Hungry, Humble and Honest.
24+
25+
This Code is not exhaustive or complete. It is not a rulebook; it serves to distill our common understanding of a collaborative, shared environment and goals. We expect it to be followed in spirit as much as in the letter. When in doubt, try to abide by [SendGrid’s cultural values](https://sendgrid.com/blog/employee-engagement-the-4h-way) defined by our “4H’s”: Happy, Hungry, Humble and Honest.
2126

2227
### Enforcement
28+
2329
Most members of the SendGrid community always comply with this Code, not because of the existence of this Code, but because they have long experience participating in open source communities where the conduct described above is normal and expected. However, failure to observe this Code may be grounds for suspension, reporting the user for abuse or changing permissions for outside contributors.
2430

2531
## If you have concerns about someone’s conduct
32+
2633
**Initiate Direct Contact** - It is always appropriate to email a community member (if contact information is available), mention that you think their behavior was out of line, and (if necessary) point them to this Code.
2734

2835
**Discuss Publicly** - Discussing publicly is always acceptable. Note, though, that approaching the person directly may be better, as it tends to make them less defensive, and it respects the time of other community members, so you probably want to try direct contact first.
2936

3037
**Contact the Moderators** - You can reach the SendGrid moderators by emailing dx@sendgrid.com.
3138

3239
## Submission to SendGrid Repositories
33-
Finally, just a reminder, changes to the SendGrid repositories will only be accepted upon completion of the [SendGrid Contributor Agreement](https://cla.sendgrid.com).
40+
41+
Finally, just a reminder, changes to the SendGrid repositories will only be accepted upon completion of the [SendGrid Contributor Agreement](https://cla.sendgrid.com).
3442

3543
## Attribution
3644

3745
SendGrid thanks the following, on which it draws for content and inspiration:
3846

39-
* [Python Community Code of Conduct](https://www.python.org/psf/codeofconduct/)
40-
* [Open Source Initiative General Code of Conduct](https://opensource.org/codeofconduct)
41-
* [Apache Code of Conduct](https://www.apache.org/foundation/policies/conduct.html)
47+
- [Python Community Code of Conduct](https://www.python.org/psf/codeofconduct/)
48+
- [Open Source Initiative General Code of Conduct](https://opensource.org/codeofconduct)
49+
- [Apache Code of Conduct](https://www.apache.org/foundation/policies/conduct.html)

CONTRIBUTING.md

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Hello! Thank you for choosing to help contribute to one of the SendGrid open source libraries. There are many ways you can contribute and help is always welcome. We simply ask that you follow the following contribution policies.
1+
Hello! Thank you for choosing to help contribute to one of the SendGrid open source libraries. There are many ways you can contribute and help is always welcome. We simply ask that you follow the following contribution policies.
22

33
- [CLAs and CCLAs](#cla)
44
- [Roadmap & Milestones](#roadmap)
@@ -11,14 +11,15 @@ Hello! Thank you for choosing to help contribute to one of the SendGrid open sou
1111
- [Creating a Pull Request](#creating-a-pull-request)
1212

1313
<a name="roadmap"></a>
14-
We use [Milestones](https://github.com/sendgrid/smtpapi-nodejs/milestones) to help define current roadmaps, please feel free to grab an issue from the current milestone. Please indicate that you have begun work on it to avoid collisions. Once a PR is made, community review, comments, suggestions and additional PRs are welcomed and encouraged.
14+
We use [Milestones](https://github.com/sendgrid/smtpapi-nodejs/milestones) to help define current roadmaps, please feel free to grab an issue from the current milestone. Please indicate that you have begun work on it to avoid collisions. Once a PR is made, community review, comments, suggestions, and additional PRs are welcomed and encouraged.
1515

1616
<a name="cla"></a>
17+
1718
## CLAs and CCLAs
1819

1920
Before you get started, SendGrid requires that a SendGrid Contributor License Agreement (CLA) be filled out by every contributor to a SendGrid open source project.
2021

21-
Our goal with the CLA is to clarify the rights of our contributors and reduce other risks arising from inappropriate contributions. The CLA also clarifies the rights SendGrid holds in each contribution and helps to avoid misunderstandings over what rights each contributor is required to grant to SendGrid when making a contribution. In this way the CLA encourages broad participation by our open source community and helps us build strong open source projects, free from any individual contributor withholding or revoking rights to any contribution.
22+
Our goal with the CLA is to clarify the rights of our contributors and reduce other risks arising from inappropriate contributions. The CLA also clarifies the rights SendGrid holds in each contribution and helps to avoid misunderstandings over what rights each contributor is required to grant to SendGrid when making a contribution. In this way, the CLA encourages broad participation by our open source community and helps us build strong open source projects, free from any individual contributor withholding or revoking rights to any contribution.
2223

2324
SendGrid does not merge a pull request made against a SendGrid open source project until that pull request is associated with a signed CLA. Copies of the CLA are available [here](https://gist.github.com/SendGridDX/98b42c0a5d500058357b80278fde3be8#file-sendgrid_cla).
2425

@@ -27,6 +28,7 @@ When you create a Pull Request, after a few seconds, a comment will appear with
2728
There are a few ways to contribute, which we'll enumerate below:
2829

2930
<a name="feature-request"></a>
31+
3032
## Feature Request
3133

3234
If you'd like to make a feature request, please read this section.
@@ -37,6 +39,7 @@ The GitHub issue tracker is the preferred channel for library feature requests,
3739
- Please be respectful and considerate of others when commenting on issues
3840

3941
<a name="submit-a-bug-report"></a>
42+
4043
## Submit a Bug Report
4144

4245
Note: DO NOT include your credentials in ANY code examples, descriptions, or media you make public.
@@ -46,29 +49,30 @@ A software bug is a demonstrable issue in the code base. In order for us to diag
4649
Before you decide to create a new issue, please try the following:
4750

4851
1. Check the Github issues tab if the identified issue has already been reported, if so, please add a +1 to the existing post.
49-
2. Update to the latest version of this code and check if issue has already been fixed
52+
2. Update to the latest version of this code and check if the issue has already been fixed
5053
3. Copy and fill in the Bug Report Template we have provided below
5154

5255
### Please use our Bug Report Template
5356

5457
In order to make the process easier, we've included a [sample bug report template](https://github.com/sendgrid/smtpapi-nodejs/.github/ISSUE_TEMPLATE) (borrowed from [Ghost](https://github.com/TryGhost/Ghost/)). The template uses [GitHub flavored markdown](https://help.github.com/articles/github-flavored-markdown/) for formatting.
5558

5659
<a name="improvements-to-the-codebase"></a>
60+
5761
## Improvements to the Codebase
5862

5963
We welcome direct contributions to the smtpapi-nodejs code base. Thank you!
6064

61-
### Development Environment ###
65+
### Development Environment
6266

63-
#### Install and Run Locally ####
67+
#### Install and Run Locally
6468

65-
##### Prerequisites #####
69+
##### Prerequisites
6670

6771
- Node.js version 0.10, 0.12 or 4
6872
- The SendGrid Service, starting at the [free level](https://sendgrid.com/free?source=smtpapi-nodejs)
6973
- Please see [package.json](https://github.com/sendgrid/smtpapi-nodejs/blob/master/package.json)
7074

71-
##### Initial setup: #####
75+
##### Initial setup:
7276

7377
```bash
7478
git clone https://github.com/sendgrid/smtpapi-nodejs.git
@@ -87,7 +91,7 @@ echo "sendgrid.env" >> .gitignore
8791
source ./sendgrid.env
8892
```
8993

90-
##### Execute: #####
94+
##### Execute:
9195

9296
See the [examples folder](https://github.com/sendgrid/smtpapi-nodejs/tree/master/examples) to get started quickly.
9397

@@ -98,6 +102,7 @@ node examples/example.js
98102
```
99103

100104
<a name="understanding-the-codebase"></a>
105+
101106
## Understanding the Code Base
102107

103108
**/examples**
@@ -113,6 +118,7 @@ Unit tests.
113118
Source code.
114119

115120
<a name="testing"></a>
121+
116122
## Testing
117123

118124
All PRs require passing tests before the PR will be reviewed.
@@ -128,6 +134,7 @@ npm test
128134
```
129135

130136
<a name="style-guidelines-and-naming-conventions"></a>
137+
131138
## Style Guidelines & Naming Conventions
132139

133140
Generally, we follow the style guidelines as suggested by the official language. However, we ask that you conform to the styles that already exist in the library. If you wish to deviate, please explain your reasoning.
@@ -190,6 +197,6 @@ Please run your code through:
190197
```
191198

192199
7. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/)
193-
with a clear title and description against the `master` branch. All tests must be passing before we will review the PR.
200+
with a clear title and description against the `master` branch. All tests must be passing before we will review the PR.
194201

195202
If you have any additional questions, please feel free to [email](mailto:dx@sendgrid.com) us or create an issue in this repo.

README.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
All updates to this module are documented in our [CHANGELOG](https://github.com/sendgrid/smtpapi-nodejs/blob/master/CHANGELOG.md).
1515

1616
# Table of Contents
17+
1718
- [Installation](#installation)
1819
- [Quick Start](#quick-start)
1920
- [Library Usage Documentation](USAGE.md)
@@ -23,6 +24,7 @@ All updates to this module are documented in our [CHANGELOG](https://github.com/
2324
- [License](#license)
2425

2526
<a name="installation"></a>
27+
2628
# Installation
2729

2830
## Prerequisites
@@ -41,7 +43,7 @@ echo "sendgrid.env" >> .gitignore
4143
source ./sendgrid.env
4244
```
4345

44-
The following recommended installation requires [npm](https://npmjs.org/). If you are unfamiliar with npm, see the [npm docs](https://npmjs.org/doc/). Npm comes installed with Node.js since node version 0.8.x therefore you likely already have it.
46+
The following recommended installation requires [npm](https://npmjs.org/). If you are unfamiliar with npm, see the [npm docs](https://npmjs.org/doc/). Npm comes installed with Node.js since node version 0.8.x, therefore, you likely already have it.
4547

4648
Add the following to your `package.json` file:
4749

@@ -66,25 +68,29 @@ npm install
6668
- Please see [package.json](https://github.com/sendgrid/smtpapi-nodejs/blob/master/package.json)
6769

6870
<a name="quick-start"></a>
71+
6972
# Quick Start
7073

7174
```javascript
72-
var smtpapi = require('smtpapi');
73-
var header = new smtpapi();
74-
header.addTo('test@example.com');
75-
header.setUniqueArgs({cow: 'chicken'});
75+
var smtpapi = require("smtpapi");
76+
var header = new smtpapi();
77+
header.addTo("test@example.com");
78+
header.setUniqueArgs({ cow: "chicken" });
7679
console.log(header.jsonString());
7780
```
7881

7982
<a name="usage"></a>
83+
8084
# Usage
8185

8286
<a name="roadmap"></a>
87+
8388
# Roadmap
8489

8590
If you are interested in the future direction of this project, please take a look at our [milestones](https://github.com/sendgrid/smtpapi-nodejs/milestones). We would love to hear your feedback.
8691

8792
<a name="contribute"></a>
93+
8894
# How to Contribute
8995

9096
We encourage contribution to our projects, please see our [CONTRIBUTING](https://github.com/sendgrid/smtpapi-nodejs/blob/master/CONTRIBUTING.md) guide for details.
@@ -97,12 +103,15 @@ Quick links:
97103
- [Improvements to the Codebase](https://github.com/sendgrid/smtpapi-nodejs/blob/master/CONTRIBUTING.md#improvements-to-the-codebase)
98104

99105
<a name="about"></a>
106+
100107
# About
101108

102109
smtpapi-nodejs is guided and supported by the SendGrid [Developer Experience Team](mailto:dx@sendgrid.com).
103110

104111
smtpapi-nodejs is maintained and funded by SendGrid, Inc. The names and logos for smtpapi-nodejs are trademarks of SendGrid, Inc.
105112

106113
<a name="license"></a>
114+
107115
# License
116+
108117
[The MIT License (MIT)](LICENSE.txt)

TROUBLESHOOTING.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,21 @@ If you have a non-library SendGrid issue, please contact our [support team](http
22

33
If you can't find a solution below, please open an [issue](https://github.com/sendgrid/sendgrid-nodejs/issues).
44

5-
65
## Table of Contents
76

8-
* [Versions](#versions)
9-
* [Using the Package Manager](#package-manager)
10-
* [Viewing the Request Body](#stmpapi-header)
7+
- [Table of Contents](#table-of-contents)
8+
- [Versions](#versions)
9+
- [Using the Package Manager](#using-the-package-manager)
10+
- [Outputting the STMPAPI Header](#outputting-the-stmpapi-header)
1111

1212
<a name="versions"></a>
13+
1314
## Versions
1415

15-
We follow the MAJOR.MINOR.PATCH versioning scheme as described by [SemVer.org](http://semver.org). Therefore, we recommend that you always pin (or vendor) the particular version you are working with to your code and never auto-update to the latest version. Especially when there is a MAJOR point release, since that is guaranteed to be a breaking change. Changes are documented in the [CHANGELOG](https://github.com/sendgrid/smtpapi-nodejs/blob/master/CHANGELOG.md) section.
16+
We follow the MAJOR.MINOR.PATCH versioning scheme as described by [SemVer.org](http://semver.org). Therefore, we recommend that you always pin (or vendor) the particular version you are working with to your code and never auto-update to the latest version. Especially when there is a MAJOR point release since that is guaranteed to be a breaking change. Changes are documented in the [CHANGELOG](https://github.com/sendgrid/smtpapi-nodejs/blob/master/CHANGELOG.md) section.
1617

1718
<a name="package-manager"></a>
19+
1820
## Using the Package Manager
1921

2022
We upload this library to [npm](https://www.npmjs.com/package/sendgrid) whenever we make a release. This allows you to use [npm](https://www.npmjs.com) for easy installation.
@@ -38,6 +40,7 @@ If you are using a `package.json` file:
3840
```
3941

4042
<a name="stmpapi-header"></a>
43+
4144
## Outputting the STMPAPI Header
4245

4346
You can output the header by the following:
@@ -57,4 +60,4 @@ or use it in your options for the transport (Nodemailer example):
5760
...
5861
headers: headers
5962
}
60-
```
63+
```

USAGE.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
# Documentation
22

33
If you would like to auto-generate documentation of the packages, you can do so locally by running:
4+
45
```
56
./node_modules/.bin/esdoc
67
```
8+
79
Using the .esdoc.json file, esdoc will create documentation in the docs directory.
810

911
## Checking docs coverage
1012

1113
You will find a coverage.json file in the docs directory. This will contain information about the documentation coverage for each of the different files in this repo.
1214

13-
# More information
15+
# More information
16+
1417
- [SendGrid Docs](https://sendgrid.com/docs/API_Reference/SMTP_API/index.html)
1518
- [Example Code](https://github.com/sendgrid/smtpapi-nodejs/blob/master/examples)

0 commit comments

Comments
 (0)