Skip to content
This repository has been archived by the owner on May 8, 2020. It is now read-only.

Commit

Permalink
fix: Deprecate the repository. All codes are hosted on tsed.io
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis committed May 8, 2020
1 parent 2d05e75 commit 14b8247
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: node_js

node_js:
- 'node'
- '12'
- '10'
- '9'
- '8'
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/TypedProject/ts-httpexceptions.git"
"url": "https://github.com/TypedProject/tsed.git"
},
"keywords": [
"Exceptions",
Expand All @@ -35,9 +35,9 @@
"author": "Romakita",
"license": "MIT",
"bugs": {
"url": "https://github.com/TypedProject/ts-httpexceptions/issues"
"url": "https://github.com/TypedProject/tsed/issues"
},
"homepage": "https://TypedProject.github.io/ts-httpexceptions",
"homepage": "https://TypedProject.github.io/tsed",
"devDependencies": {
"@types/chai": "^4.1.4",
"@types/express": "^4.16.0",
Expand Down Expand Up @@ -70,4 +70,4 @@
"release": {
"branch": "production"
}
}
}
53 changes: 25 additions & 28 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
# ts-httpexceptions

[![Build Status](https://travis-ci.org/TypedProject/ts-httpexceptions.svg?branch=master)](https://travis-ci.org/TypedProject/ts-httpexceptions)
[![Coverage Status](https://coveralls.io/repos/github/TypedProject/ts-httpexceptions/badge.svg?branch=master)](https://coveralls.io/github/TypedProject/ts-httpexceptions?branch=master)
[![TypeScript](https://badges.frapsoft.com/typescript/love/typescript.svg?v=100)](https://github.com/ellerbrock/typescript-badges/)
[![Package Quality](http://npm.packagequality.com/shield/ts-express-decorators.png)](http://packagequality.com/#?package=ts-express-decorators)
[![npm version](https://badge.fury.io/js/ts-express-decorators.svg)](https://badge.fury.io/js/ts-express-decorators)
[![Dependencies](https://david-dm.org/TypedProject/ts-httpexceptions.svg)](https://david-dm.org/TypedProject/ts-httpexceptions#info=dependencies)
[![img](https://david-dm.org/TypedProject/ts-httpexceptions/dev-status.svg)](https://david-dm.org/TypedProject/ts-httpexceptions/#info=devDependencies)
[![img](https://david-dm.org/TypedProject/ts-httpexceptions/peer-status.svg)](https://david-dm.org/TypedProject/ts-httpexceptions/#info=peerDependenciess)
[![Known Vulnerabilities](https://snyk.io/test/github/TypedProject/ts-httpexceptions/badge.svg)](https://snyk.io/test/github/TypedProject/ts-httpexceptions)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

> Provide Exceptions for REST API based on Express.js. Written in Typescript !
See [guide installation](https://TypedProject.github.io/ts-httpexceptions/#/getting-started) and our [API](https://TypedProject.github.io/ts-httpexceptions/#/api/index).
This repository is archived. The source code is now available on https://github.com/TypedProject/tsed/tree/production/packages/exceptions repository

See documentation on [https://tsed.io](https://tsed.io/docs/exceptions.html).

## Installation

```
npm install @tsed/exceptions
```

## Features

Some HTTP Exceptions are already implemented :
Expand Down Expand Up @@ -72,14 +68,6 @@ Server errors (5xx) :

You can use HTTPExceptions method to throw a custom Exception.


## Installation

```bash
$ npm install -g typescript@2.0.2
$ npm install ts-httpexceptions
```

## API

```typescript
Expand Down Expand Up @@ -132,19 +120,28 @@ app.use((err, request, response, next) => {
});
```

## Contributors
Please read [contributing guidelines here](./CONTRIBUTING.md).

## Test
<a href="https://github.com/TypedProject/tsed/graphs/contributors"><img src="https://opencollective.com/tsed/contributors.svg?width=890" /></a>

```bash
$ npm install -g mocha
$ npm test
```

## Backers

Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/tsed#backer)]

<a href="https://opencollective.com/tsed#backers" target="_blank"><img src="https://opencollective.com/tsed/tiers/backer.svg?width=890"></a>


## Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/tsed#sponsor)]

## License

The MIT License (MIT)

Copyright (c) 2016 Romain Lenzotti
Copyright (c) 2016 - 2020 Ts.ED

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down

0 comments on commit 14b8247

Please sign in to comment.