Catalog npm
PACKAGE EXPLORERView in registry

1k-types

npm

> TypeScript's largest type utility library

Versions collected5
Direct dependencies10From release 1.2.0
Last observed20 Oct, 18:30 UTC

README

Current package documentation

1k-types

TypeScript's largest type utility library

Prerequisites

npm install typescript@^5.1.3 --save-dev

Installation

npm install 1k-types

Use

import { ArrayValues, At, PickByType } from '1k-types'
type valuesType = At<ArrayValues<[{ a: string; b: number; c: { a: string } }]>, 'c'> // { a: string }
type test = PickByType<{ a: string; b: number; c: { a: string } }, string> // { a: string }

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 5

Collected releases
VersionPublishedDirect dependenciesOpen version
1.2.0Registry latest29 Feb 202410
1.1.24 Jan 202410
1.1.14 Jan 202410
1.1.021 Nov 202310
1.0.119 Nov 202310

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:30 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:c8c244a5e4dd1bac45c767839d13579ead552f5636c4b1db818413f72d5325d7