Catalog npm
Back to packageRELEASE DETAILS

1.1.1

npm

1k-types

> TypeScript's largest type utility library

Published4 Jan 2024
Direct dependencies10
Transitive dependenciesNot calculated

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.

Declared dependencies 11

Native requirements
10 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@typescript-eslint/eslint-plugin
Environment
{
  "local_name": "@typescript-eslint/eslint-plugin",
  "alias": false,
  "peer_metadata": null
}
5.60.1development
@typescript-eslint/parser
Environment
{
  "local_name": "@typescript-eslint/parser",
  "alias": false,
  "peer_metadata": null
}
5.60.1development
eslint
Environment
{
  "local_name": "eslint",
  "alias": false,
  "peer_metadata": null
}
8.43.0development
eslint-import-resolver-typescript
Environment
{
  "local_name": "eslint-import-resolver-typescript",
  "alias": false,
  "peer_metadata": null
}
3.5.5development
eslint-plugin-import
Environment
{
  "local_name": "eslint-plugin-import",
  "alias": false,
  "peer_metadata": null
}
2.27.5development
eslint-plugin-prettier
Environment
{
  "local_name": "eslint-plugin-prettier",
  "alias": false,
  "peer_metadata": null
}
4.2.1development
prettier
Environment
{
  "local_name": "prettier",
  "alias": false,
  "peer_metadata": null
}
2.8.8development
stylelint
Environment
{
  "local_name": "stylelint",
  "alias": false,
  "peer_metadata": null
}
15.9.0development
stylelint-config-standard
Environment
{
  "local_name": "stylelint-config-standard",
  "alias": false,
  "peer_metadata": null
}
33.0.0development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
5.2.2development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^5.2.2peer

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-o5AQ6l3yX4g30PPEFDs74FhLwjTYgZh3A/ekAPNn3xJbZLRyts5gk5HZDxOhhdDTc2J4uuCGgCJAJtilwh/caw==",
  "shasum": "1504570a450a4f434945d5de0ed5c481040b5411",
  "tarball": "https://registry.npmjs.org/1k-types/-/1k-types-1.1.1.tgz",
  "fileCount": 74,
  "unpackedSize": 17977,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIQDWuhhWF0r0OgGBQ/29Ne9rrslp1FzTEIht8alieTT9pQIgFD84lyERjLke/W+HwgBjDNb0r8Efthayzj2mxd3Dxv0="
    }
  ]
}

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_version:0ad6aabd48c53e9baf6e4fc8d35be38aa38291edfa591afec7fa54e65e3304e2

Other collected versions

1.2.029 Feb1.1.24 Jan1.1.021 Nov1.0.119 NovView all collected versions →