{"_id":"identity-type","name":"identity-type","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"identity-type","version":"1.0.0","repository":{"type":"git","url":"git+https://github.com/unlight/identity-type.git"},"homepage":"https://github.com/unlight/identity-type#readme","bugs":{"url":"https://github.com/unlight/identity-type/issues"},"keywords":["typescript","identity","type","alias","utility-types"],"description":"TypeScript identity type — type aliases that return the input type unchanged","license":"MIT","type":"module","main":"./index.ts","module":"./index.ts","types":"./index.ts","gitHead":"550c86cbc3b154299cbc00086ea7f2ee5c68c624","_id":"identity-type@1.0.0","_nodeVersion":"25.2.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-qklP/b1Ja5AAW58aMImDtcNWCjyfVfmpPVbiFtOd0ReWDcOyFsebfEYjY82sv3Sok8JYtKMR88kpk0r/xhoApg==","shasum":"e11fbdd171e410f85fa3a01772dde4cf3439801a","tarball":"https://registry.npmjs.org/identity-type/-/identity-type-1.0.0.tgz","fileCount":3,"unpackedSize":2787,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDwmuZDCaxUjzFX9nC+PfwxSjQCgwkz39ln4czbbwtiCwIhAM+imWrObn+5v0WjhuRtTuJIlh4XMrLiXkx8AqdES3F8"}]},"_npmUser":{"name":"iamthes","email":"s91630277@gmail.com"},"directories":{},"maintainers":[{"name":"iamthes","email":"s91630277@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/identity-type_1.0.0_1777994807815_0.6528288477863338"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-05T15:26:47.814Z","1.0.0":"2026-05-05T15:26:47.949Z","modified":"2026-05-05T15:26:48.228Z"},"maintainers":[{"name":"iamthes","email":"s91630277@gmail.com"}],"description":"TypeScript identity type — type aliases that return the input type unchanged","homepage":"https://github.com/unlight/identity-type#readme","keywords":["typescript","identity","type","alias","utility-types"],"repository":{"type":"git","url":"git+https://github.com/unlight/identity-type.git"},"bugs":{"url":"https://github.com/unlight/identity-type/issues"},"license":"MIT","readme":"# identity-type\n\nA TypeScript identity type — type aliases that return the input type unchanged.\n\n## Aliases\n\n| Type             | Description                                    |\n| ---------------- | ---------------------------------------------- |\n| `Identity<T>`    | Returns the type unchanged                     |\n| `Relation<T>`    | Already common in TypeORM                      |\n| `Self<T>`        | Emphasizes that the type refers to itself      |\n| `Same<T>`        | Clear that the output equals the input         |\n| `AsIs<T>`        | Take the type as it is                         |\n| `Unchanged<T>`   | Explicitly says no transformation              |\n| `Lazy<T>`        | Indicates a lazily evaluated type              |\n| `Forward<T>`     | Used for forwarding generic parameters         |\n| `Ref<T>`         | Reference wrapper for types                    |\n| `Alias<T>`       | Alternative name for a type                    |\n| `Placeholder<T>` | Placeholder for a type parameter               |\n| `K<T>`           | From combinatory logic (K is constant)         |\n| `I<T>`           | Short for identity, returns the type unchanged |\n\n## License\n\n[MIT License](https://opensource.org/licenses/MIT) (c) 2026\n","readmeFilename":"README.md","_rev":"1-e45631a65a5c7dfa6db2d9e356b06c71"}