1 | # contributing to `cors`
|
2 |
|
3 | CORS is a node.js package for providing a [connect](http://www.senchalabs.org/connect/)/[express](http://expressjs.com/) middleware that can be used to enable [CORS](http://en.wikipedia.org/wiki/Cross-origin_resource_sharing) with various options. Learn more about the project in [the README](README.md).
|
4 |
|
5 | ## The CORS Spec
|
6 |
|
7 | [http://www.w3.org/TR/cors/](http://www.w3.org/TR/cors/)
|
8 |
|
9 | ## Pull Requests Welcome
|
10 |
|
11 | * Include `'use strict';` in every javascript file.
|
12 | * 2 space indentation.
|
13 | * Please run the testing steps below before submitting.
|
14 |
|
15 | ## Testing
|
16 |
|
17 | ```bash
|
18 | $ npm install
|
19 | $ npm test
|
20 | ```
|
21 |
|
22 | ## Interactive Testing Harness
|
23 |
|
24 | [http://node-cors-client.herokuapp.com](http://node-cors-client.herokuapp.com)
|
25 |
|
26 | Related git repositories:
|
27 |
|
28 | * [https://github.com/TroyGoode/node-cors-server](https://github.com/TroyGoode/node-cors-server)
|
29 | * [https://github.com/TroyGoode/node-cors-client](https://github.com/TroyGoode/node-cors-client)
|
30 |
|
31 | ## License
|
32 |
|
33 | [MIT License](http://www.opensource.org/licenses/mit-license.php)
|