Testable interfaces for the history API


Keywords
typed, typescript, history, environment, context, dependent, data-types, development-environment, easy-to-use, functional, testing, toolkit
License
Parity-6.0.0
Install
npm install @typed/history@10.7.0

Documentation

Typed

Reliable software for browsers & Node. Designed for TypeScript and progressive web applications.

Typed is TypeScript toolkit composed of many à-la-carte single purposed libraries to help build applications that work in both browsers & Node. With few documented exceptions, all the Typed libraries have no non-Typed dependencies, are side-effect free, and provide a tree-shakable API around functions.

Packages

These Typed Packages have no non-typed dependencies.

NOTE: All packages sizes include ALL (Node & Browser!) dependencies and were calculated using bundlephobia.com.

AsyncIterable

6.8KB Minified / 1.8KB Gzipped

Common

5.2KB Minified / 2KB Gzipped

Disposable

538B Minified / 299B Gzipped

Either

1.6KB Minified / 602B Gzipped

Env

4.4KB Minified / 1.8KB Gzipped

History

7.5KB Minified / 2.8KB Gzipped

HTTP

5KB Minified / 2.2KB Gzipped

Iterable

3.5KB Minified / 1.3KB Gzipped

Lambda

5.1KB Minified / 2KB Gzipped

List

9KB Minified / 3KB Gzipped

Logger

2.6KB Minified / 1KB Gzipped

Logic

5.8KB Minified / 1.9KB Gzipped

Map

1.3KB Minified / 598B Gzipped

Math

1.6KB Minified / 650B Gzipped

Maybe

1.5KB Minified / 616B Gzipped

NewType

1.3KB Minified / 489B Gzipped

Objects

2.1KB Minified / 299B Gzipped

Promises

530B Minified / 283B Gzipped

RemoteData

3.3KB Minified / 944B Gzipped

Routing

3.2KB Minified / 1.4KB Gzipped

Set

1.8KB Minified / 598B Gzipped

Storage

2KB Minified / 909B Gzipped

Strings

4.7KB Minified / 1.7KB Gzipped

Subscription

2.9KB Minified / 1.3KB Gzipped

Timer

2.9KB Minified / 1.2KB Gzipped

Tuple

816B Minified / 358B Gzipped

UUID

1.7KB Minified / 773B Gzipped

Exceptions

These Typed Packages have a few non-Typed dependencies which meet the following criteria:

  • Well Tested
  • Distribute with module in their package.json
  • Have well-maintained types either in original repository or @types/*

DOM

36.3KB Minified / 13.7KB Gzipped

Depends on lighterhtml for rendering

Peer dependency on basichtml for node support. Adds 86.1KB Minified / 28.5KB Gzipped.

React

21.9KB Minified / 8KB Gzipped

react and react-dom are peer dependencies