{"name":"ts-essentials","version":"10.1.1","keywords":["typescript","types","essentials","utils","toolbox","toolbelt","lodash","underscore"],"author":{"name":"Krzysztof Kaczor","email":"chris@kaczor.io"},"license":"MIT","_id":"ts-essentials@10.1.1","maintainers":[{"name":"krzkaczor","email":"chris@kaczor.io"},{"name":"beraliv","email":"work@beraliv.com"},{"name":"ts-essentials-bot","email":"chris+ts-essentials@kaczor.io"}],"homepage":"https://github.com/ts-essentials/ts-essentials#readme","bugs":{"url":"https://github.com/ts-essentials/ts-essentials/issues"},"dist":{"shasum":"4e1d29b7c9b33c1a2744482376634c4fafba5210","tarball":"http://registry-npm.ywwl.com/ts-essentials/download/ts-essentials-10.1.1.tgz","fileCount":171,"integrity":"sha512-4aTB7KLHKmUvkjNj8V+EdnmuVTiECzn3K+zIbRthumvHu+j44x3w63xpfs0JL3NGIzGXqoQ7AV591xHO+XrOTw==","signatures":[{"sig":"MEUCIF8Xdh/Jq+WilIB13He7Ll0mkoRAS57Y8H7fQA55PY8JAiEAsi07PO1CwdRZ3fmlLrDGFT1cpCj5LD/8Tf3EroTRFfM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":242954,"size":41755,"noattachment":false,"key":"/ts-essentials/-/ts-essentials-10.1.1.tgz"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"e3d03016861c3e9e7cf6b66961fd14f442ab13fe","scripts":{"test":"node scripts/update-test-tsconfig.js && prettier -c {lib,test}/**/*.ts && eslint && tsc --project tsconfig.test.json --outDir ./testDist && rimraf ./testDist","build":"rimraf ./dist && tsc -p tsconfig.prod.json --outDir ./dist","release":"yarn build && yarn formatDeclarations && yarn changeset publish","test:fix":"node scripts/update-test-tsconfig.js && prettier --write {lib,test}/**/*.ts && eslint --fix","prerelease":"yarn test","setTsVersion":"node scripts/sync-ts-version.js","prepublishOnly":"yarn test && yarn build && yarn formatDeclarations","formatDeclarations":"prettier --ignore-path *.js --write dist/*.d.ts"},"_npmUser":{"name":"ts-essentials-bot","email":"chris+ts-essentials@kaczor.io"},"repository":{"url":"git+ssh://git@github.com/ts-essentials/ts-essentials.git","type":"git"},"_npmVersion":"10.8.2","description":"All essential TypeScript types in one place","directories":{},"_nodeVersion":"18.20.8","_hasShrinkwrap":false,"devDependencies":{"tsx":"4.10.5","eslint":"^9.15.0","rimraf":"^3.0.2","semver":"^7.6.3","prettier":"^2.0.0","typescript":"^4.5.0","@changesets/cli":"^2.20.0","@codechecks/client":"^0.1.11","conditional-type-checks":"^1.0.4","@typescript-eslint/parser":"^8.15.0","eslint-plugin-expect-type":"^0.4.3","@codechecks/build-size-watcher":"^0.1.0"},"peerDependencies":{"typescript":">=4.5.0"},"peerDependenciesMeta":{"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/ts-essentials_10.1.1_1749763369979_0.9759264596849919","host":"s3://npm-registry-packages-npm-production"},"readme":"<p align=\"center\">\n  <img src=\"/logo.png\" width=\"120\" alt=\"ts-essentials\">\n  <h3 align=\"center\">ts-essentials</h3>\n  <p align=\"center\">All essential TypeScript types in one place 🤙</p>\n  <p align=\"center\">\n    <a href=\"https://www.npmjs.com/package/ts-essentials\" title=\"View this project on NPM\">\n      <img alt=\"Version\" src=\"https://img.shields.io/npm/v/ts-essentials.svg\">\n    </a>\n    <img alt=\"Downloads\" src=\"https://img.shields.io/npm/dm/ts-essentials.svg\">\n    <a href=\"https://github.com/ts-essentials/ts-essentials/actions?query=branch%3Amaster\" title=\"View Github Build status\">\n      <img alt=\"Build status\" src=\"https://github.com/ts-essentials/ts-essentials/actions/workflows/ci.yml/badge.svg\">\n    </a>\n    <a href=\"https://t.me/ts_essentials\" title=\"Get support in Telegram\">\n      <img alt=\"Telegram\" src=\"https://img.shields.io/badge/-telegram-red?color=white&logo=telegram\">\n    </a>\n    <a href=\"/package.json\"><img alt=\"Software License\" src=\"https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square\"></a>\n  </p>\n</p>\n\n## Install\n\n```sh\nnpm install --save-dev ts-essentials\n```\n\n👉 We require `typescript>=4.5`. If you're looking for support for older TS versions, please have a look at the\n[TypeScript dependency table](https://github.com/ts-essentials/ts-essentials/tree/master#TypeScript-dependency-table)\n\n👉 As we really want types to be stricter, we require enabled\n[strictNullChecks](https://www.typescriptlang.org/tsconfig#strictNullChecks) in your project\n\n## API\n\n`ts-essentials` is a set of high-quality, useful TypeScript types that make writing type-safe code easier.\n\n### Basic\n\n- [`Builtin`](/lib/built-in) - Matches primitive, function, date, error or regular expression\n- [`JsonArray`](/lib/json-array) - Matches any [JSON array](https://www.rfc-editor.org/rfc/rfc8259#section-3)\n- [`JsonObject`](/lib/json-object) - Matches any [JSON object](https://www.rfc-editor.org/rfc/rfc8259#section-3)\n- [`JsonPrimitive`](/lib/json-primitive) - Matches any\n  [JSON primitive value](https://www.rfc-editor.org/rfc/rfc8259#section-3)\n- [`JsonValue`](/lib/json-value) - Matches any [JSON value](https://www.rfc-editor.org/rfc/rfc8259#section-3)\n- [`KeyofBase`](/lib/key-of-base) -\n  [`keyofStringsOnly`](https://www.typescriptlang.org/tsconfig#keyofStringsOnly)-tolerant analogue for `PropertyKey`\n- [`Prettify<Type>`](/lib/prettify/) - flattens type and makes it more readable on the hover in your IDE\n- [`Primitive`](/lib/primitive) - Matches any\n  [primitive value](https://developer.mozilla.org/en-US/docs/Glossary/Primitive)\n- [`StrictExclude<UnionType, ExcludedMembers>`](/lib/strict-exclude) - Constructs a type by excluding from `UnionType`\n  all union members that are assignable to `ExcludedMembers`. This is stricter version of\n  [`Exclude`](https://www.typescriptlang.org/docs/handbook/utility-types.html#excludeuniontype-excludedmembers)\n- [`StrictExtract<Type, Union>`](/lib/strict-extract) - Constructs a type by extracting from `Type` all union members\n  that are assignable to `Union`. This is stricter version of\n  [`Extract`](https://www.typescriptlang.org/docs/handbook/utility-types.html#extracttype-union)\n- [`StrictOmit<Type, Keys>`](/lib/strict-omit) - Constructs a type by picking all properties from `Type` and then\n  removing `Keys`. This is stricter version of\n  [`Omit`](https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys)\n- [`Writable<Type>`](/lib/writable) - Constructs a type with removed `readonly` for all properties of `Type`, meaning\n  the properties of the constructed type can be reassigned\n\n### Utility types\n\n- [`AsyncOrSync<Type>`](/lib/async-or-sync) - Constructs a type with `Type` or `PromiseLike<Type>`\n- [`AsyncOrSyncType<Type>`](/lib/async-or-sync-type) - Unwraps `AsyncOrSync` type\n- [`Dictionary<Type, Keys?>`](/lib/dictionary) - Constructs a required object type which property keys are `Keys`\n  (`string` by default) and which property values are `Type`\n- [`Merge<Object1, Object2>`](/lib/merge) - Constructs a type by picking all properties from `Object1` and `Object2`.\n  Property values from `Object2` override property values from `Object1` when property keys are the same\n- [`MergeN<Tuple>`](/lib/merge-n) - Constructs a type by merging objects with type `Merge` in tuple `Tuple` recursively\n- [`Newable<ReturnType>`](/lib/newable) - Constructs a class type with constructor which has return type `ReturnType`\n- [`OmitNeverProperties<Type>`](/lib/omit-never-properties) - Constructs a type by picking all properties from type `Type`, which values don't\n  equal to `never`\n- [`OmitProperties<Type, Value>`](/lib/omit-properties) - Constructs a type by picking all properties from type `Type`\n  and removing those properties which values equal to `Value`\n- [`Opaque<Type, Token>`](/lib/opaque) - Constructs a type which is a subset of `Type` with a specified unique token\n  `Token`\n- [`PathValue<Type, Path>`](/lib/path-value) - Constructs a path value for type `Type` and path `Path`\n- [`Paths<Type>`](/lib/paths) - Constructs a union type by picking all possible paths for type `Type`\n- [`PickProperties<Type, Value>`](/lib/pick-properties) - Constructs a type by picking all properties from type `Type`\n  which values equal to `Value`\n- [`PublicInterface<Type>`](/lib/public-interface) - Constructs a type by extracting only the public members of `Type`, producing a plain object-compatible interface\n- [`RequireAtLeastOne<Type, Keys?>`](/lib/require-at-least-one) - Constructs a type with at least one required key from `Keys` (`keyof Type` by default) and other keys from `Type` which are not part of `Keys`\n- [`RequireAtMostOne<Type, Keys?>`](/lib/require-at-most-one) - Constructs a type with at most one required key from `Keys` (`keyof Type` by default) and other keys from `Type` which are not part of `Keys` \n- [`SafeDictionary<Type, Keys?>`](/lib/safe-dictionary) - Constructs an optional object type which property keys are\n  `Keys` (`string` by default) and which property values are `Type`\n- [`UnionToIntersection<Union>`](/lib/union-to-intersection) - Constructs a intersection type from union type `Union`\n- [`ValueOf<Type>`](/lib/value-of) - Constructs a type for type `Type` and equals to a primitive for primitives, array\n  elements for arrays, function return type for functions or object property values for objects\n- [`XOR<Type1, Type2, Type3?, ..., Type50?>`](/lib/xor) - Construct a type which is assignable to either type `Type1`,\n  `Type2` but not both. Starting in ts-essentials@10, it supports up to 50 generic types.\n\n### Mark wrapper types\n\n- [`MarkOptional<Type, Keys>`](/lib/mark-optional) - Constructs a type by picking all properties from type `Type` where\n  properties `Keys` are set as optional, meaning they aren't required\n- [`MarkReadonly<Type, Keys>`](/lib/mark-readonly) - Constructs a type by picking all properties from type `Type` where\n  properties `Keys` are set to `readonly`, meaning they cannot be reassigned\n- [`MarkRequired<Type, Keys>`](/lib/mark-required) - Constructs a type by picking all properties from type `Type` where\n  properties `Keys` are set as required\n- [`MarkWritable<Type, Keys>`](/lib/mark-writable) - Constructs a type by picking all properties from type `Type` where\n  properties `Keys` remove `readonly` modifier, meaning they can be reassigned\n\n### Deep wrapper types\n\n- [`Buildable<Type>`](/lib/buildable) - Constructs a type by combining `DeepPartial` and `DeepWritable`, meaning all\n  properties from type `Type` are recursively set as non-`readonly` and optional, meaning they can be reassigned and\n  aren't required\n- [`DeepMarkOptional<Type, KeyPathUnion>`](/lib/deep-mark-optional) - Constructs a type by picking all properties from type `Type` where\n  properties by paths `KeyPathUnion` are set as optional. To mark properties optional on one level, use [`MarkOptional<Type, Keys>`](/lib/mark-optional).  \n- [`DeepMarkRequired<Type, KeyPathUnion>`](/lib/deep-mark-required) - Constructs a type by picking all properties from type `Type` where\n  properties by paths `KeyPathUnion` are set as required. To mark properties required on one level, use [`MarkRequired<Type, Keys>`](/lib/mark-required).\n- [`DeepNonNullable<Type>`](/lib/deep-non-nullable) - Constructs a type by picking all properties from type `Type`\n  recursively and exclude `null` and `undefined` property values from all of them. To make properties non-nullable on\n  one level, use [`NonNullable<Type>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#nonnullabletype)\n- [`DeepNullable<Type>`](/lib/deep-nullable) - Constructs a type by picking all properties from type `Type` recursively\n  and include `null` property values for all of them\n- [`DeepOmit<Type, Filter>`](/lib/deep-omit) - Constructs a type by picking all properties from type `Type` and removing\n  properties which values are `never` or `true` in type `Filter`. If you'd like type `Filter` to be validated against a\n  structure of `Type`, please use [`StrictDeepOmit<Type, Filter>`](./lib/strict-deep-omit/).\n- [`DeepPartial<Type>`](/lib/deep-partial) - Constructs a type by picking all properties from type `Type` recursively\n  and setting them as optional, meaning they aren't required. To make properties optional on one level, use\n  [`Partial<Type>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype)\n- [`DeepPick<Type, Filter>`](/lib/deep-pick) - Constructs a type by picking set of properties, which have property\n  values `never` or `true` in type `Filter`, from type `Type`. If you'd like type `Filter` to be validated against a\n  structure of `Type`, please use [`StrictDeepPick<Type, Filter>`](./lib/strict-deep-pick/).\n- [`DeepReadonly<Type, OverrideDeepReadonlyOptions?>`](/lib/deep-readonly) - Constructs a type by picking all properties from type `Type` recursively\n  and setting `readonly` modifier, meaning they cannot be reassigned. To make properties `readonly` on one level, use\n  [`Readonly<Type>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype)\n- [`DeepRequired<Type>`](/lib/deep-required) - Constructs a type by picking all properties from type `Type` recursively\n  and setting as required. To make properties required on one level, use\n  [`Required<Type>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#requiredtype)\n- [`DeepUndefinable<Type>`](/lib/deep-undefinable) - Constructs a type by picking all properties from type `Type`\n  recursively and include `undefined` property values for all of them\n- [`DeepWritable<Type>`](/lib/deep-writable) - Constructs a type by picking all properties from type `Type` recursively\n  and removing `readonly` modifier, meaning they can be reassigned. To make properties writable on one level, use\n  `Writable<Type>`\n- [`StrictDeepOmit<Type, Filter>`](/lib/strict-deep-omit) - Constructs a type by picking all properties from type `Type`\n  and removing properties which values are `never` or `true` in type `Filter`. The type `Filter` is validated against a\n  structure of `Type`.\n- [`StrictDeepPick<Type, Filter>`](/lib/strict-deep-pick) - Constructs a type by picking set of properties, which have\n  property values `never` or `true` in type `Filter`, from type `Type`. The type `Filter` is validated against a\n  structure of `Type`.\n\n### Key types\n\n- [`OptionalKeys<Type>`](/lib/optional-keys) - Constructs a union type by picking all optional properties of object type\n  `Type`\n- [`PickKeys<Type, Value>`](/lib/pick-keys) - Constructs a union type by picking all properties of object type `Type`\n  which values are assignable to type `Value`\n- [`ReadonlyKeys<Type>`](/lib/readonly-keys) - Constructs a union type by picking all `readonly` properties of object\n  type `Type`, meaning their values cannot be reassigned\n- [`RequiredKeys<Type>`](/lib/required-keys) - Constructs a union type by picking all required properties of object type\n  `Type`\n- [`UnionKeys<UnionType>`](/lib/union-keys) - Constructs a union type by picking all properties from all union members of `UnionType`\n- [`WritableKeys<Type>`](/lib/writable-keys) - Constructs a union type by picking all writable properties of object type\n  `Type`, meaning their values can be reassigned\n\n### Type checkers\n\n- [`IsAny<Type>`](/lib/is-any) - Returns `true` when type `Type` is `any`. Otherwise returns `false`\n- [`IsExact<Type, Shape>`](/lib/is-exact) - Returns `Type` when type `Type` and `Shape` are identical. Otherwise returns\n  `never`\n- [`IsNever<Type>`](/lib/is-never) - Returns `true` when type `Type` is `never`. Otherwise returns `false`\n- [`IsUnknown<Type>`](/lib/is-unknown) - Returns `true` when type `Type` is `unknown`. Otherwise returns `false`\n- [`IsTuple<Type>`](/lib/is-tuple) - Returns `Type` when type `Type` is tuple. Otherwise returns `never`\n- [`NonEmptyObject<Object>`](/lib/non-empty-object) - Returns `Object` when `Object` has at least one key. Otherwise\n  returns `never`\n- [`NonUnion<Type>`](/lib/non-union) - Returns `Type` when `Type` is not an union. Otherwise returns `never`\n\n### Arrays and Tuples\n\n- [`AnyArray<Type?>`](/lib/any-array) - Matches `Array` or `ReadonlyArray` (`Type` is `any` by default)\n- [`AnyNonEmptyArray<Type>`](/lib/any-non-empty-array) - Matches array with at least one element of type `Type`\n- [`ArrayOrSingle<Type>`](/lib/array-or-single) - Matches `Type` or `Type[]`\n- [`ElementOf<Type>`](/lib/element-of) - Constructs a type which equals to array element type for type `Type`\n- [`Head<Type>`](/lib/head) - Constructs a type which equals to first element in type `Type`\n- [`ReadonlyArrayOrSingle`](/lib/readonly-array-or-single) - Matches `Type` or `readonly Type[]`\n- [`Tail<Type>`](/lib/tail) - Constructs a type which equals to elements but first one in type `Type`\n- [`Tuple<Type?>`](/lib/tuple) - Matches type constraint for tuple with elements of type `Type` (`any` by default)\n\n### Change case\n\n- [`CamelCase<Type>`](/lib/camel-case) - Converts type `Type` to camel case (e.g. `camelCase`)\n- [`DeepCamelCaseProperties<Type>`](/lib/deep-camel-case-properties) - Constructs a type by picking all properties from\n  type `Type` recursively and converting all of them to camel case\n\n### Function types\n\n- [`AnyFunction<Args?, ReturnType?>`](/lib/any-function) - Matches function type with arguments type `Args` (`any[]` by\n  default) and return type `ReturnType` (`any` by default)\n- [`PredicateFunction`](/lib/predicate-function) - Matches type constraint for type guard, meaning first argument is\n  used in return type and return type is\n  [type predicate](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#using-type-predicates)\n- [`PredicateType<Type>`](/lib/predicate-type) - Constructs a type which equals to narrowed type in predicate function\n  `Type`\n\n### Utility functions\n\n⚠️ Make sure you add `ts-essentials` to your `dependencies` (`npm install --save ts-essentials`) to avoid runtime errors\n\n- [`new UnreachableCaseError(value)`](/lib/functions/unreachable-case-error) - Matches runtime class instance type that\n  helps check exhaustiveness for `value`. When `value` isn't `never`, it shows TypeScript error\n- [`assert(condition, message?)`](/lib/functions/assert) - Matches runtime function that helps assert `condition`. When\n  `condition` is falsy, it throws an error with `Assertion Error: ${message}` (message is\n  `\"no additional info provided\"` by default)\n- [`createFactoryWithConstraint<Constraint>()(value)`](/lib/functions/create-factory-with-constraint) - Matches runtime\n  function, which validates that type of `value` matches `Constraint` without changing resulting type of `value`.\n  Ponyfill for\n  [`satisfies` operator](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-9.html#the-satisfies-operator)\n- [`isExact<Expected>()(actual)`](/lib/functions/is-exact) - Matches runtime function, which validates that type of\n  `actual` equals to `Expected`. Otherwise shows TypeScript error\n- [`noop(..._args)`](/lib/functions/noop) - Matches runtime function that does nothing with arguments `_args`\n\n## Search\n\nWhen one of utility types is known by a different name, kindly ask adding it here for the better search.\n\n- `ArrayValues` - [`ValueOf<Type>`](/lib/value-of)\n- `Branded` - [`Opaque<Type, Token>`](/lib/opaque)\n- `ConditionalKeys` - [`PickKeys<Type, Value>`](/lib/pick-keys)\n- `Except` - [`StrictOmit<Type, Keys>`](/lib/strict-omit)\n- `Get` - [`PathValue<Type, Path>`](/lib/path-value)\n- `Mutable` - [`Writable<Type>`](/lib/writable)\n- `Nominal` - [`Opaque<Type, Token>`](/lib/opaque)\n- `Set*`, e.g. `SetOptional` - `Mark*`, e.g. [`MarkReadonly<Type, Keys>`](/lib/mark-readonly)\n- `Unwrap` - [`Prettify<Type>`](/lib/prettify/)\n- `ValueOf` - `DictionaryValues`\n\n## Declined\n\n- [ergonomic `Array.includes`](https://github.com/ts-essentials/ts-essentials/issues/372) - Use [ts-reset](https://github.com/mattpocock/ts-reset) instead. See compromises in [`Array.includes` as a type guard](https://github.com/mattpocock/ts-reset/blob/main/.out-of-scope/array-includes-type-guard.md)\n- [`Boolean` as a type guard in `Array.filter`](https://github.com/ts-essentials/ts-essentials/issues/372) - Use [ts-reset](https://github.com/mattpocock/ts-reset) instead.\n\n## Built-in types\n\nTypeScript provides several [utility types](https://www.typescriptlang.org/docs/handbook/utility-types.html) to\nfacilitate common type transformations. These utilities are available globally.\n\n- [`Awaited<Type>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#awaitedtype) - This type is meant to\n  model operations like `await` in `async` functions, or the `.then()` method on `Promise`s - specifically, the way that\n  they recursively unwrap `Promise`s\n- [`Capitalize<StringType>`](https://www.typescriptlang.org/docs/handbook/2/template-literal-types.html#capitalizestringtype) -\n  Converts the first character in the string to an uppercase equivalent\n- [`ConstructorParameters<Type>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#constructorparameterstype) -\n  Constructs a tuple or array type from the types of a constructor function type `Type`\n- [`Exclude<UnionType, ExcludedMembers>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#excludeuniontype-excludedmembers) -\n  Constructs a type by excluding from `UnionType` all union members that are assignable to `ExcludedMembers`\n- [`Extract<Type, Union>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#extracttype-union) -\n  Constructs a type by extracting from `Type` all union members that are assignable to `Union`\n- [`InstanceType<Type>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#instancetypetype) - Constructs\n  a type consisting of the instance type of a constructor function in `Type`\n- [`Lowercase<StringType>`](https://www.typescriptlang.org/docs/handbook/2/template-literal-types.html#lowercasestringtype) -\n  Converts each character in the string to the lowercase equivalent\n- [`NonNullable<Type>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#nonnullabletype) - Constructs a\n  type by excluding null and undefined from `Type`\n- [`NoInfer<Type>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#noinfertype) - Blocks inferences to the contained type. Other than blocking inferences, `NoInfer<Type>` is identical to `Type`\n- [`Omit<Type, Keys>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys) - Constructs a\n  type by picking all properties from `Type` and then removing `Keys`\n- [`OmitThisParameter<Type>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#omitthisparametertype) - Removes the `this` parameter from `Type`. If `Type` has no explicitly declared this parameter, the result is simply `Type`. Otherwise, a new function type with no this parameter is created from `Type`. Generics are erased and only the last overload signature is propagated into the new function type.\n- [`Parameters<Type>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#parameterstype) - Constructs a\n  tuple type from the types used in the parameters of a function type `Type`\n- [`Partial<Type>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype) - Constructs a type\n  with all properties of `Type` set to optional\n- [`Pick<Type, Keys>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys) - Constructs a\n  type by picking the set of properties `Keys` from `Type`\n- [`Readonly<Type>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype) - Constructs a type\n  with all properties of `Type` set to `readonly`, meaning the properties of the constructed type cannot be reassigned\n- [`Record<Keys, Type>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type) - Constructs\n  an object type whose property keys are `Keys` and whose property values are `Type`\n- [`Required<Type>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#requiredtype) - Constructs a type\n  consisting of all properties of `Type` set to required\n- [`ReturnType<Type>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#returntypetype) - Constructs a\n  type consisting of the return type of function type `Type` parameter\n- [`ThisParameterType<Type>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#thisparametertypetype) - Extracts the type of the `this` parameter for a function type, or `unknown` if the function type has no `this` parameter\n- [`ThisType<Type>`](https://www.typescriptlang.org/docs/handbook/utility-types.html#thistypetype) - This utility does not return a transformed type. Instead, it serves as a marker for a contextual `this` type. Note that the `noImplicitThis` flag must be enabled to use this utility\n- [`Uncapitalize<StringType>`](https://www.typescriptlang.org/docs/handbook/2/template-literal-types.html#uncapitalizestringtype) -\n  Converts the first character in the string to a lowercase equivalent\n- [`Uppercase<StringType>`](https://www.typescriptlang.org/docs/handbook/2/template-literal-types.html#uppercasestringtype) -\n  Converts each character in the string to the uppercase version\n\n## TypeScript dependency table\n\n| `ts-essentials` | `typescript` / type of dependency                                                     |\n| --------------- | ------------------------------------------------------------------------------------- |\n| `^10.0.0`       | `^4.5.0` / [peer optional](https://github.com/ts-essentials/ts-essentials/issues/370) |\n| `^9.4.0`        | `^4.1.0` / [peer optional](https://github.com/ts-essentials/ts-essentials/issues/370) |\n| `^8.0.0`        | `^4.1.0` / peer                                                                       |\n| `^5.0.0`        | `^3.7.0` / peer                                                                       |\n| `^3.0.1`        | `^3.5.0` / peer                                                                       |\n| `^1.0.1`        | `^3.2.2` / dev                                                                        |\n| `^1.0.0`        | `^3.0.3` / dev                                                                        |\n\n## Limitations\n\n- This project doesn't use `extends` Constraints on `infer` Type Variables as it's introduced in TypeScript 4.7, but currently ts-essentials supports versions below, e.g. TypeScript 4.5. Read more in https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-7.html#extends-constraints-on-infer-type-variables\n\n## Contributors\n\nSpecial shout-out to active contributors:\n\n- [Kris Kaczor](https://x.com/krzkaczor) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=krzkaczor)\n- [Xiao Liang](https://scholar.google.com/citations?user=3xZtvpAAAAAJ) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=yxliang01)\n- [Mateusz Burzyński](https://x.com/AndaristRake) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=Andarist)\n- [Artur Kozak](https://x.com/quezak2) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=quezak)\n- [Zihua Wu](https://x.com/gabriel_wzh) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=lucifer1004)\n- [Alexey Berezin](https://x.com/beraliv) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=Beraliv)\n- [Som Shekhar Mukherjee](https://github.com/som-sm) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=som-sm)\n\nAnd thanks goes to these wonderful people:\n\n- [Maciej Bembenista](https://github.com/macbem) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=macbem)\n- [Michael Tontchev](https://www.linkedin.com/in/michael-tontchev-7956a269/) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=MichaelTontchev)\n- [Thomas den Hollander](https://github.com/ThomasdenH) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=ThomasdenH)\n- [Esa-Matti Suuronen](https://x.com/esamatti)\n- [Ilya Semenov](https://github.com/IlyaSemenov) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=IlyaSemenov)\n- [Patricio Palladino](https://github.com/alcuadrado)\n- [Kevin Peno](https://github.com/kevinpeno) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=kevinpeno)\n- [Dom Parfitt](https://github.com/DomParfitt)\n- [Eduardo Rafael](https://x.com/TheEduardoRFS) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=EduardoRFS)\n- [Andrew C. Dvorak](https://github.com/acdvorak) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=acdvorak)\n- [Adam Russell](https://github.com/a1russell) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=a1russell)\n- [Piotr Szlachciak](https://github.com/sz-piotr) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=sz-piotr)\n- [Mikhail Swift](https://github.com/mikhailswift) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=mikhailswift)\n- [Ryan Zhang](https://github.com/DevilZh)\n- [Francesco Borzì](https://www.linkedin.com/in/francesco-borzi/) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=FrancescoBorzi)\n- [Marnick L'Eau](https://github.com/leaumar)\n- [Egor Gorbachev](https://github.com/kubk)\n- [Bill Barry](https://github.com/bbarry) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=bbarry)\n- [Andrzej Wódkiewicz](https://github.com/akwodkiewicz) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=akwodkiewicz)\n- [Christian Junker](https://www.linkedin.com/in/chjdev/)\n- [Matthew Leffler](https://github.com/mattleff) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=mattleff)\n- [studds](https://github.com/studds) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=studds)\n- [Robert Vitonsky](https://github.com/vitonsky)\n- [Itay Ronen](https://github.com/itayronen) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=itayronen)\n- [Yaroslav Larin](https://github.com/cyberbiont)\n- [liaoyinglong](https://github.com/liaoyinglong) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=liaoyinglong)\n- [Yannick Stachelscheid](https://github.com/yss14) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=yss14)\n- [Peter Smolinský](https://github.com/psmolinsky) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=psmolinsky)\n- [Anurag Hazra](https://github.com/anuraghazra) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=anuraghazra)\n- [Bishwajit Jha](https://github.com/ajitjha393) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=ajitjha393)\n- [Sergey Ukustov](https://github.com/ukstv) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=ukstv)\n- [Homa Wong](https://github.com/unional) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=unional)\n- [polyipseity](https://github.com/polyipseity) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=polyipseity)\n- [Kristóf Poduszló](https://github.com/kripod) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=kripod)\n- [MT Lewis](https://github.com/mtlewis) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=mtlewis)\n- [Daniel Bertocci](https://github.com/DanielBertocci) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=DanielBertocci)\n- [Myles J](https://github.com/mylesj) / [💻](https://github.com/ts-essentials/ts-essentials/commits?author=mylesj)\n\n💻 - contributions, i.e. links to commits by the user on this project\n\nContributions of any kind welcome! [Read more](./CONTRIBUTING.md)\n","publish_time":1749763370193,"_cnpm_publish_time":1749763370193,"dist-tags":{"beta":"3.0.0-beta.0","latest":"10.2.1"}}