Table of contents
Angular2 HttpModule wrapper with decorators and interceptors
Based the source code from this repo.
Install through yarn:
yarn add ng2-http
Install through npm:
npm install --save ng2-http
Then use it in your app like so:
All documentation is auto-generated from the source via typedoc and can be viewed here: https://hboylan.github.io/ng2-http/docs/
Prepare your environment
- Install Node.js and NPM (should come with)
- Install local dev dependencies:
npm installwhile current directory is this repo
npm start to start a development server on port 8000 with auto reload + tests.
npm test to run tests once or
npm run test:watch to continually run tests.
- Bump the version in package.json (experts only)
npm run release