# strong-typeof

> A library for strongly typing at runtime.

Latest version **0.1.1** (published 2020-08-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install strong-typeof
pnpm add strong-typeof
yarn add strong-typeof
bun add strong-typeof
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2020-08-28 |
| First published | 2020-08-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=12.0.0 |
| Dependencies | 0 |
| Unpacked size | 32.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Aaron Huggins |
| Maintainers | ahuggins_nhs |

## Links

- npm: https://www.npmjs.com/package/strong-typeof
- npm.io page: https://npm.io/package/strong-typeof

## Recent versions

- 0.1.1 (latest) — 2020-08-28
- 0.1.0 — 2020-08-27
- 0.0.1 — 2020-08-25

## README

# strong-typeof

A pure TypeScript/JavaScript library for strongly typing at runtime.

## Usage

Install it from the [npm repository](https://www.npmjs.com/package/strong-typeof):

```console
npm install --save strong-typeof
```

Then require it in your project:

```js
const { typeOf, StrongFunction } = require('strong-typeof')
```

Package also exports as ES Module with TS definitions for use with Deno and TypeScript.

## Features

- Type-checking functions with built-in extensions for common duck-types like async and iterable.
- Extensible type-checking by registering custom types (disabled by default)
- Factory functions for creating runtime strongly type-checked function parameters

## API

See the [API documentation](https://ahuggins-nhs.github.io/strong-typeof/globals.html) for complete information.

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