{"_id":"@13onthecode/types","_rev":"2-375fd54019e2c71647d7ae236075a003","name":"@13onthecode/types","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.1":{"name":"@13onthecode/types","version":"0.0.1","description":"A collection of TypeScript utility types","type":"module","license":"MIT","homepage":"https://github.com/13OnTheCode/types#readme","bugs":{"url":"https://github.com/13OnTheCode/types/issues"},"author":{"name":"13OnTheCode","email":"13@ryongyon.com","url":"https://ryongyon.com"},"repository":{"type":"git","url":"git+https://github.com/13OnTheCode/types.git"},"publishConfig":{"access":"public"},"keywords":["typescript","types","utils"],"engines":{"node":">=16"},"devDependencies":{"@13onthecode/eslint-config":"^1.1.9","@13onthecode/typescript-config":"^0.0.5","eslint":"^8.55.0","typescript":"^5.3.2","unbuild":"^2.0.0"},"peerDependencies":{"typescript":">=5.0.0"},"peerDependenciesMeta":{"typescript":{"optional":true}},"types":"./dist/index.d.ts","scripts":{"build":"unbuild"},"_id":"@13onthecode/types@0.0.1","_integrity":"sha512-Qbhtpw5uvSfn36628eJ4qMswEqmoE+qmbtUXVQZV0J52liRf7rZbXgjoEqaIX78be2GiwK678qTam+YOyYnjXA==","_resolved":"C:\\Users\\13\\AppData\\Local\\Temp\\bd7b86f1dfcca6a9a03518798808c622\\13onthecode-types-0.0.1.tgz","_from":"file:13onthecode-types-0.0.1.tgz","_nodeVersion":"21.1.0","_npmVersion":"10.2.0","dist":{"integrity":"sha512-Qbhtpw5uvSfn36628eJ4qMswEqmoE+qmbtUXVQZV0J52liRf7rZbXgjoEqaIX78be2GiwK678qTam+YOyYnjXA==","shasum":"3382da1ec330f526807399e63f22a80a0e84125d","tarball":"https://registry.npmjs.org/@13onthecode/types/-/types-0.0.1.tgz","fileCount":7,"unpackedSize":28051,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaZT1WAH+5Ka2Djdblrel2fw6AzQ4J47KxLDdjj5eTtAIgL5wK9n9bXtQ5BA++tqaQIAPJ5cMoO3g4eNU6O+Du4/Q="}]},"_npmUser":{"name":"13onthecode","email":"13@ryongyon.com"},"directories":{},"maintainers":[{"name":"13onthecode","email":"13@ryongyon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types_0.0.1_1702037568350_0.588328941231471"},"_hasShrinkwrap":false},"0.0.2":{"name":"@13onthecode/types","version":"0.0.2","description":"A collection of TypeScript utility types","type":"module","license":"MIT","homepage":"https://github.com/13OnTheCode/types#readme","bugs":{"url":"https://github.com/13OnTheCode/types/issues"},"author":{"name":"13OnTheCode","email":"13@ryongyon.com","url":"https://ryongyon.com"},"repository":{"type":"git","url":"git+https://github.com/13OnTheCode/types.git"},"publishConfig":{"access":"public"},"keywords":["typescript","types","utils"],"engines":{"node":">=16"},"devDependencies":{"@13onthecode/eslint-config":"^1.1.9","@13onthecode/typescript-config":"^0.0.5","eslint":"^8.55.0","typescript":"^5.3.2","unbuild":"^2.0.0"},"peerDependencies":{"typescript":">=5.0.0"},"peerDependenciesMeta":{"typescript":{"optional":true}},"types":"./dist/index.d.ts","scripts":{"build":"unbuild"},"_id":"@13onthecode/types@0.0.2","_integrity":"sha512-UiVpVT9e138nrkMbl4OLkhS0CUaJsl4Ido5SqJUQMygvJq/7a9zuN+D7xBSnoWhNi5ZgKrWMZZ4g8s4iBS91Qg==","_resolved":"C:\\Users\\13\\AppData\\Local\\Temp\\8eeb5925c7630d85a1ec030d75a90b5d\\13onthecode-types-0.0.2.tgz","_from":"file:13onthecode-types-0.0.2.tgz","_nodeVersion":"21.1.0","_npmVersion":"10.2.0","dist":{"integrity":"sha512-UiVpVT9e138nrkMbl4OLkhS0CUaJsl4Ido5SqJUQMygvJq/7a9zuN+D7xBSnoWhNi5ZgKrWMZZ4g8s4iBS91Qg==","shasum":"9d663ce47d18fccd159b5291bd530eda519f4260","tarball":"https://registry.npmjs.org/@13onthecode/types/-/types-0.0.2.tgz","fileCount":7,"unpackedSize":29259,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBjBCN1x7tcgE+xA3SkS6fCTf6Ab42Grhjqqhd+MahlgIhALTKkZGPUUgHg/gvoMtEEfchs3pYr5NiTAKXGyLh2tgF"}]},"_npmUser":{"name":"13onthecode","email":"13@ryongyon.com"},"directories":{},"maintainers":[{"name":"13onthecode","email":"13@ryongyon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types_0.0.2_1702386261178_0.6167315555518753"},"_hasShrinkwrap":false},"0.0.3":{"name":"@13onthecode/types","version":"0.0.3","description":"A collection of TypeScript utility types","type":"module","license":"MIT","homepage":"https://github.com/13OnTheCode/types#readme","bugs":{"url":"https://github.com/13OnTheCode/types/issues"},"author":{"name":"13OnTheCode","email":"13@ryongyon.com","url":"https://ryongyon.com"},"repository":{"type":"git","url":"git+https://github.com/13OnTheCode/types.git"},"publishConfig":{"access":"public"},"keywords":["typescript","types","utils"],"engines":{"node":">=16"},"devDependencies":{"@13onthecode/eslint-config":"^1.1.9","@13onthecode/typescript-config":"^0.0.5","eslint":"^8.55.0","typescript":"^5.3.2","unbuild":"^2.0.0"},"peerDependencies":{"typescript":">=5.0.0"},"peerDependenciesMeta":{"typescript":{"optional":true}},"types":"./dist/index.d.ts","scripts":{"build":"unbuild"},"_id":"@13onthecode/types@0.0.3","_integrity":"sha512-TbPeh5C9a5/NQn8WOxMh+P+H+Ob5x3/w3gTYdpce31cnJM9R3ybAJqUtneFmEsYO/gczo3GYYiF/7cDqIZZkhQ==","_resolved":"C:\\Users\\13\\AppData\\Local\\Temp\\94c03b82163c0c814c23c7b06cdfd4c6\\13onthecode-types-0.0.3.tgz","_from":"file:13onthecode-types-0.0.3.tgz","_nodeVersion":"21.1.0","_npmVersion":"10.2.0","dist":{"integrity":"sha512-TbPeh5C9a5/NQn8WOxMh+P+H+Ob5x3/w3gTYdpce31cnJM9R3ybAJqUtneFmEsYO/gczo3GYYiF/7cDqIZZkhQ==","shasum":"92c1b4192de60127f523e51afdf278b044503142","tarball":"https://registry.npmjs.org/@13onthecode/types/-/types-0.0.3.tgz","fileCount":7,"unpackedSize":31761,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEKbRdesF9C18sXO19QaMsMeBTrRIP0lLL/8k8Gu2fxLAiAHj9nT0/8T+YQk8ts2HaeeW//jzynDBztnyHCFirFl0A=="}]},"_npmUser":{"name":"13onthecode","email":"13@ryongyon.com"},"directories":{},"maintainers":[{"name":"13onthecode","email":"13@ryongyon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types_0.0.3_1702479180439_0.4295931614150672"},"_hasShrinkwrap":false}},"time":{"created":"2023-12-08T12:12:48.246Z","0.0.1":"2023-12-08T12:12:48.528Z","modified":"2023-12-13T14:53:00.730Z","0.0.2":"2023-12-12T13:04:21.362Z","0.0.3":"2023-12-13T14:53:00.589Z"},"maintainers":[{"name":"13onthecode","email":"13@ryongyon.com"}],"description":"A collection of TypeScript utility types","homepage":"https://github.com/13OnTheCode/types#readme","keywords":["typescript","types","utils"],"repository":{"type":"git","url":"git+https://github.com/13OnTheCode/types.git"},"author":{"name":"13OnTheCode","email":"13@ryongyon.com","url":"https://ryongyon.com"},"bugs":{"url":"https://github.com/13OnTheCode/types/issues"},"license":"MIT","readme":"# @13OnTheCode/Types\n\n<img src=\"https://github-production-user-asset-6210df.s3.amazonaws.com/137921275/258572450-d0a2270e-45ad-4ed4-aed0-b5c0a2eea988.svg\" width=\"100\" height=\"100\" align=\"right\" alt=\"TypeScript\" />\n\n[![Version](https://img.shields.io/npm/v/@13onthecode/types?color=1976d2&label=)](https://www.npmjs.com/package/@13onthecode/types)\n[![License](https://img.shields.io/npm/l/@13onthecode/types?color=1976d2&label=)](LICENSE.md)\n\nEnglish | [简体中文](README.CN.md)\n\nA collection of TypeScript utility types\n\n## Prerequisites\n\n### TypeScript\n- Version >= 5.0.0\n\n## Install\n\n```bash\nnpm install @13onthecode/types --save-dev\n```\n\n## Usage\n\n```typescript\nimport type { MergeObject } from '@13onthecode/types'\n\ntype Foo = {\n  foo: 'foo'\n  other: {\n    foo: 'foo'\n  }\n}\n\ntype Bar = {\n  bar: 'bar'\n  other: {\n    bar: 'bar'\n  }\n}\n\ntype Merged = MergeObject<Foo, Bar>\n// => {\n//   foo: \"foo\"\n//   bar: \"bar\"\n//   other: {\n//       bar: 'bar'\n//   }\n// }\n\ntype DeepMerged = MergeObject<Foo, Bar, { mode: 'deep' }>\n// => {\n//   foo: \"foo\"\n//   bar: \"bar\"\n//   other: {\n//       foo: \"foo\"\n//       bar: \"bar\"\n//   }\n// }\n```\n\n## API\n\n### Array\n\n- [`GetHead`](src/Array/GetHead.ts)\n- [`GetLast`](src/Array/GetLast.ts)\n- [`GetTail`](src/Array/GetTail.ts)\n- [`Includes`](src/Array/Includes.ts)\n- [`MergeArray`](src/Array/MergeArray.ts)\n\n### Base\n\n- [`EmptyArray`](src/Base/EmptyArray.ts)\n- [`EmptyMap`](src/Base/EmptyMap.ts)\n- [`EmptyObject`](src/Base/EmptyObject.ts)\n- [`EmptyRecord`](src/Base/EmptyRecord.ts)\n- [`EmptySet`](src/Base/EmptySet.ts)\n- [`Primitive`](src/Base/Primitive.ts)\n- [`TypedArray`](src/Base/TypedArray.ts)\n- [`UnknownArray`](src/Base/UnknownArray.ts)\n- [`UnknownAsyncFunction`](src/Base/UnknownAsyncFunction.ts)\n- [`UnknownFunction`](src/Base/UnknownFunction.ts)\n- [`UnknownMap`](src/Base/UnknownMap.ts)\n- [`UnknownObject`](src/Base/UnknownObject.ts)\n- [`UnknownRecord`](src/Base/UnknownRecord.ts)\n- [`UnknownSet`](src/Base/UnknownSet.ts)\n- [`UnknownTuple`](src/Base/UnknownTuple.ts)\n\n### Guard\n\n- [`IsAny`](src/Guard/IsAny.ts)\n- [`IsArray`](src/Guard/IsArray.ts)\n- [`IsAsyncFunction`](src/Guard/IsAsyncFunction.ts)\n- [`IsBigint`](src/Guard/IsBigint.ts)\n- [`IsBigintLiteral`](src/Guard/IsBigintLiteral.ts)\n- [`IsBoolean`](src/Guard/IsBoolean.ts)\n- [`IsBooleanLiteral`](src/Guard/IsBooleanLiteral.ts)\n- [`IsEmptyArray`](src/Guard/IsEmptyArray.ts)\n- [`IsEmptyMap`](src/Guard/IsEmptyMap.ts)\n- [`IsEmptyObject`](src/Guard/IsEmptyObject.ts)\n- [`IsEmptyRecord`](src/Guard/IsEmptyRecord.ts)\n- [`IsEmptySet`](src/Guard/IsEmptySet.ts)\n- [`IsEmptyString`](src/Guard/IsEmptyString.ts)\n- [`IsEqual`](src/Guard/IsEqual.ts)\n- [`IsFalse`](src/Guard/IsFalse.ts)\n- [`IsFunction`](src/Guard/IsFunction.ts)\n- [`IsLiteral`](src/Guard/IsLiteral.ts)\n- [`IsMap`](src/Guard/IsMap.ts)\n- [`IsNever`](src/Guard/IsNever.ts)\n- [`IsNonNullable`](src/Guard/IsNonNullable.ts)\n- [`IsNull`](src/Guard/IsNull.ts)\n- [`IsNullable`](src/Guard/IsNullable.ts)\n- [`IsNumber`](src/Guard/IsNumber.ts)\n- [`IsNumberLiteral`](src/Guard/IsNumberLiteral.ts)\n- [`IsObject`](src/Guard/IsObject.ts)\n- [`IsPrimitive`](src/Guard/IsPrimitive.ts)\n- [`IsSet`](src/Guard/IsSet.ts)\n- [`IsString`](src/Guard/IsString.ts)\n- [`IsStringLiteral`](src/Guard/IsStringLiteral.ts)\n- [`IsSymbol`](src/Guard/IsSymbol.ts)\n- [`IsSymbolLiteral`](src/Guard/IsSymbolLiteral.ts)\n- [`IsTrue`](src/Guard/IsTrue.ts)\n- [`IsTuple`](src/Guard/IsTuple.ts)\n- [`IsType`](src/Guard/IsType.ts)\n- [`IsUndefined`](src/Guard/IsUndefined.ts)\n- [`IsUnion`](src/Guard/IsUnion.ts)\n- [`IsUnknown`](src/Guard/IsUnknown.ts)\n\n### Map\n\n- [`MergeMap`](src/Map/MergeMap.ts)\n\n### Object\n\n- [`MergeObject`](src/Object/MergeObject.ts)\n\n### Set\n\n- [`MergeSet`](src/Set/MergeSet.ts)\n\n### String\n\n- [`Replace`](src/String/Replace.ts)\n- [`Split`](src/String/Split.ts)\n\n### Utils\n\n- [`Entries`](src/Utils/Entries.ts)\n- [`GetKeys`](src/Utils/GetKeys.ts)\n- [`GetOptional`](src/Utils/GetOptional.ts)\n- [`GetReadonly`](src/Utils/GetReadonly.ts)\n- [`GetRequired`](src/Utils/GetRequired.ts)\n- [`GetValues`](src/Utils/GetValues.ts)\n- [`OmitIndexSignature`](src/Utils/OmitIndexSignature.ts)\n- [`PickIndexSignature`](src/Utils/PickIndexSignature.ts)\n- [`Prettify`](src/Utils/Prettify.ts)\n- [`SetOptional`](src/Utils/SetOptional.ts)\n- [`SetReadonly`](src/Utils/SetReadonly.ts)\n- [`SetRequired`](src/Utils/SetRequired.ts)\n- [`ToArray`](src/Utils/ToArray.ts)\n- [`ToNumber`](src/Utils/ToNumber.ts)\n- [`ToPrimitive`](src/Utils/ToPrimitive.ts)\n- [`ToUnion`](src/Utils/ToUnion.ts)\n- [`Writable`](src/Utils/Writable.ts)\n\n## Check Also\n\n- [`@13OnTheCode/Typescript-Config`](https://github.com/13OnTheCode/typescript-config)\n- [`@13OnTheCode/Utils`](https://github.com/13OnTheCode/utils)\n\n## License\n\n[MIT](LICENSE.md) License &copy; 2023-PRESENT [13OnTheCode](https://github.com/13OnTheCode)\n","readmeFilename":"README.md"}