We are open to, and grateful for, any contributions made by the community. By contributing to axios, you agree to abide by the code of conduct.
Please follow the node style guide.
Please follow conventional commits
Please update the tests to reflect your code changes. Pull requests will not be accepted if they are failing on GitHub actions.
Please update the docs accordingly so that there are no discrepancies between the API and the documentation.
npm run test
run the jasmine and mocha testsnpm run build
run webpack and bundle the sourcenpm run version
prepare the code for releasePlease don't include changes to dist/
in your pull request. This should only be updated when releasing a new version.
Examples are included in part to allow manual testing.
Running example
> npm run examples
# Open 127.0.0.1:3000
Running sandbox in browser
> npm start
# Open 127.0.0.1:3000
Running sandbox in terminal
> npm start
> node ./sandbox/client
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。