# collision-typescript

> A collision detection library for 2D games in TypeScript

Latest version **1.0.5** (published 2020-04-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install collision-typescript
pnpm add collision-typescript
yarn add collision-typescript
bun add collision-typescript
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2020-04-18 |
| First published | 2020-04-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 9.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | digitsensitive |
| Maintainers | digitsensitive |
| Keywords | Collision Detection, 2D games, TypeScript |

## Links

- npm: https://www.npmjs.com/package/collision-typescript
- Repository: https://github.com/digitsensitive/collision-typescript
- Homepage: https://github.com/digitsensitive/collision-typescript#readme
- Issues: https://github.com/digitsensitive/collision-typescript/issues
- npm.io page: https://npm.io/package/collision-typescript

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2020-04-18
- 1.0.4 — 2020-04-18
- 1.0.3 — 2020-04-18
- 1.0.2 — 2020-04-18
- 1.0.1 — 2020-04-18
- 1.0.0 — 2020-04-18

## README

collision-typescript
====================
[![GitHub Stars](https://img.shields.io/david/digitsensitive/collision-typescript?style=flat-square)](https://david-dm.org/digitsensitive/collision-typescript)
[![GitHub Stars](https://img.shields.io/github/stars/digitsensitive/collision-typescript?style=flat-square)](https://github.com/digitsensitive/collision-typescript/stargazers) [![GitHub Forks](https://img.shields.io/github/forks/digitsensitive/collision-typescript?style=flat-square)](https://github.com/digitsensitive/collision-typescript/network/members) [![GitHub Issues](https://img.shields.io/github/issues/digitsensitive/collision-typescript?style=flat-square)](https://github.com/digitsensitive/collision-typescript/issues) [![Current Version](https://img.shields.io/npm/v/collision-typescript?style=flat-square)](https://www.npmjs.com/package/collision-typescript)

#### A collision detection library for 2D games in TypeScript

Collision-TypeScript is a 2D collision detection library for your HTML5 games
or other browser-based projects.

This library was influenced and inspired by:

- [to be filled]()

## Buy me a coffee

Whether you use this project, have learned something from it, or just like it,
please consider supporting it by buying me a coffee.

<div align="center">
  <a href="https://www.buymeacoffee.com/JZDVjsT26" target="blank">
    <img 
      src="https://www.buymeacoffee.com/assets/img/custom_images/black_img.png" 
      alt="Buy Me A Coffee" 
      style="height: auto !important; width: auto !important;"
    >
  </a>
</div>

## Installation

```sh
yarn add collision-typescript
npm install collision-typescript --save
bower install collision-typescript --save
```
## Import

### TypeScript

```typescript
import { Collision2D } from "collision-typescript";
```

### Javascript

```javascript
let collision2D = require("collision-typescript");
```

### AMD

```javascript
define((require,exports,module) => {
  let collision2D = require('collision-typescript');
});
```

## License

[MIT License](https://opensource.org/licenses/mit-license.php)

Copyright (c) 2020 digitsensitive <digit.sensitivee@gmail.com>

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:

The above copyright notice and this permission notice shall be included in all
 copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

---
_Source: https://npm.io/package/collision-typescript · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
