![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /usr/local/lib/node_modules/cors/ |
Upload File : |
# contributing to `cors` 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). ## The CORS Spec [http://www.w3.org/TR/cors/](http://www.w3.org/TR/cors/) ## Pull Requests Welcome * Include `'use strict';` in every javascript file. * 2 space indentation. * Please run the testing steps below before submitting. ## Testing ```bash $ npm install $ npm test ``` ## Interactive Testing Harness [http://node-cors-client.herokuapp.com](http://node-cors-client.herokuapp.com) Related git repositories: * [https://github.com/TroyGoode/node-cors-server](https://github.com/TroyGoode/node-cors-server) * [https://github.com/TroyGoode/node-cors-client](https://github.com/TroyGoode/node-cors-client) ## License [MIT License](http://www.opensource.org/licenses/mit-license.php)