ts-essentials

ts-essentials

TypeScript类型工具集简化类型安全编程

ts-essentials提供了丰富实用的TypeScript类型工具,包括基础类型、工具类型、深度包装类型和键类型等。这些工具可简化类型安全代码的编写,帮助开发者更高效地处理复杂类型操作。项目支持最新TypeScript版本,并通过启用strictNullChecks确保严格类型检查。

TypeScript类型工具实用类型ts-essentials类型安全Github开源项目
<p align="center"> <img src="https://yellow-cdn.veclightyear.com/835a84d5/4eaac91e-f5fc-432a-977f-9503e4ae30cf.png" width="120" alt="ts-essentials"> <h3 align="center">ts-essentials</h3> <p align="center">所有必备的 TypeScript 类型集于一处 🤙</p> <p align="center"> <a href="https://www.npmjs.com/package/ts-essentials" title="在 NPM 上查看此项目"> <img alt="版本" src="https://yellow-cdn.veclightyear.com/835a84d5/c161a006-26b0-4987-bb2c-d9a15150b27f.svg"> </a> <img alt="下载量" src="https://yellow-cdn.veclightyear.com/835a84d5/66e8080b-4719-43e6-96fe-d56be0f64f0c.svg"> <a href="https://github.com/ts-essentials/ts-essentials/actions?query=branch%3Amaster" title="查看 Github 构建状态"> <img alt="构建状态" src="https://yellow-cdn.veclightyear.com/835a84d5/a2704547-5d61-469e-8a1a-0c13e9e94856.svg"> </a> <a href="https://t.me/ts_essentials" title="在 Telegram 获取支持"> <img alt="Telegram" src="https://img.shields.io/badge/-telegram-red?color=white&logo=telegram"> </a> <a href="/package.json"><img alt="软件许可" src="https://yellow-cdn.veclightyear.com/835a84d5/00788c75-3287-486a-8f38-ba281deedfc6.svg?style=flat-square"></a> <a href="https://codechecks.io"><img src="https://yellow-cdn.veclightyear.com/835a84d5/aef6c381-70b3-4eee-9954-7da5057d83c3.svg?sanitize=true" alt="codechecks.io"></a> </p> </p>

安装

npm install --save-dev ts-essentials

👉 我们需要 typescript>=4.5。如果你需要支持旧版本的 TS,请查看TypeScript 依赖表

👉 由于我们希望类型更加严格,我们要求在你的项目中启用 strictNullChecks

API

ts-essentials 是一组高质量、实用的 TypeScript 类型,可以让编写类型安全的代码变得更加容易。

基础类型

实用类型

  • AsyncOrSync<Type> - 构造一个 TypePromiseLike<Type> 的类型
  • AsyncOrSyncType<Type> - 解包 AsyncOrSync 类型
  • Dictionary<Type, Keys?> - 构造一个必需的对象类型,其属性键为 Keys(默认为 string),属性值为 Type
  • Merge<Object1, Object2> - 通过选取 Object1Object2 的所有属性来构造类型。当属性键相同时,Object2 的属性值会覆盖 Object1 的属性值
  • MergeN<Tuple> - 通过递归地使用 Merge 类型合并元组 Tuple 中的对象来构造类型
  • Newable<ReturnType> - 构造一个类类型,其构造函数的返回类型为 ReturnType
  • NonNever<Type> - 通过选取 Type 中所有值不等于 never 的属性来构造类型
  • OmitProperties<Type, Value> - 通过选取 Type 中所有属性并移除值等于 Value 的那些属性来构造类型
  • Opaque<Type, Token> - 构造一个类型,它是 Type 的子集,带有指定的唯一标记 Token
  • PathValue<Type, Path> - 为类型 Type 和路径 Path 构造路径值
  • Paths<Type> - 通过选取类型 Type 的所有可能路径来构造联合类型
  • PickProperties<Type, Value> - 通过选取 Type 中所有值等于 Value 的属性来构造类型
  • SafeDictionary<Type, Keys?> - 构造一个可选的对象类型,其属性键为 Keys(默认为 string),属性值为 Type
  • UnionToIntersection<Union> - 从联合类型 Union 构造交叉类型
  • ValueOf<Type> - 为类型 Type 构造一个类型,对于原始类型等于原始值,对于数组等于数组元素,对于函数等于函数返回类型,对于对象等于对象属性值
  • XOR<Type1, Type2, Type3?, ..., Type50?> - 构造一个类型,它可以分配给 Type1Type2,但不能同时分配给两者。从 ts-essentials@10 开始,它支持最多 50 个泛型类型。

标记包装类型

  • MarkOptional<Type, Keys> - 通过选取 Type 中的所有属性来构造类型,其中 Keys 属性被设置为可选,意味着它们不是必需的
  • MarkReadonly<Type, Keys> - 通过选取 Type 中的所有属性来构造类型,其中 Keys 属性被设置为 readonly,意味着它们不能被重新赋值
  • MarkRequired<Type, Keys> - 通过选取 Type 中的所有属性来构造类型,其中 Keys 属性被设置为必需
  • MarkWritable<Type, Keys> - 通过选取 Type 中的所有属性来构造类型,其中 Keys 属性移除 readonly 修饰符,意味着它们可以被重新赋值

深度包装类型

  • Buildable<Type> - 通过结合 DeepPartialDeepWritable 构造一个类型,意味着来自 Type 类型的所有属性都被递归地设置为非 readonly 和可选的,即它们可以被重新赋值且不是必需的
  • DeepNonNullable<Type> - 通过递归地从 Type 类型中选择所有属性并从所有属性中排除 nullundefined 值来构造一个类型。要在一个层级上使属性非空,请使用 NonNullable<Type>
  • DeepNullable<Type> - 通过递归地从 Type 类型中选择所有属性并为所有属性包含 null 值来构造一个类型
  • DeepOmit<Type, Filter> - 通过从 Type 类型中选择所有属性并移除在 Filter 类型中值为 nevertrue 的属性来构造一个类型。如果您希望 Filter 类型根据 Type 的结构进行验证,请使用 StrictDeepOmit<Type, Filter>
  • DeepPartial<Type> - 通过递归地从 Type 类型中选择所有属性并将它们设置为可选来构造一个类型,意味着它们不是必需的。要在一个层级上使属性可选,请使用 Partial<Type>
  • DeepPick<Type, Filter> - 通过从 Type 类型中选择一组在 Filter 类型中属性值为 nevertrue 的属性来构造一个类型。如果您希望 Filter 类型根据 Type 的结构进行验证,请使用 StrictDeepPick<Type, Filter>
  • DeepReadonly<Type> - 通过递归地从 Type 类型中选择所有属性并设置 readonly 修饰符来构造一个类型,意味着它们不能被重新赋值。要在一个层级上使属性 readonly,请使用 Readonly<Type>
  • DeepRequired<Type> - 通过递归地从 Type 类型中选择所有属性并将其设置为必需来构造一个类型。要在一个层级上使属性必需,请使用 Required<Type>
  • DeepUndefinable<Type> - 通过递归地从 Type 类型中选择所有属性并为所有属性包含 undefined 值来构造一个类型
  • DeepWritable<Type> - 通过递归地从 Type 类型中选择所有属性并移除 readonly 修饰符来构造一个类型,意味着它们可以被重新赋值。要在一个层级上使属性可写,请使用 Writable<Type>
  • StrictDeepOmit<Type, Filter> - 通过从 Type 类型中选择所有属性并移除在 Filter 类型中值为 nevertrue 的属性来构造一个类型。Filter 类型根据 Type 的结构进行验证。
  • StrictDeepPick<Type, Filter> - 通过从 Type 类型中选择一组在 Filter 类型中属性值为 nevertrue 的属性来构造一个类型。Filter 类型根据 Type 的结构进行验证。

关键类型

  • OptionalKeys<Type> - 通过选择对象类型 Type 的所有可选属性构造一个联合类型
  • PickKeys<Type, Value> - 通过选择对象类型 Type 中所有可赋值给类型 Value 的属性构造一个联合类型
  • ReadonlyKeys<Type> - 通过选择对象类型 Type 的所有 readonly 属性构造一个联合类型,意味着它们的值不能被重新赋值
  • RequiredKeys<Type> - 通过选择对象类型 Type 的所有必需属性构造一个联合类型
  • WritableKeys<Type> - 通过选择对象类型 Type 的所有可写属性构造一个联合类型,意味着它们的值可以被重新赋值

类型检查器

  • Exact<Type, Shape> - 当类型 TypeShape 完全相同时返回 Type。否则返回 never
  • IsAny<Type> - 当类型 Typeany 时返回 true。否则返回 false
  • IsNever<Type> - 当类型 Typenever 时返回 true。否则返回 false
  • IsUnknown<Type> - 当类型 Typeunknown 时返回 true。否则返回 false
  • IsTuple<Type> - 当类型 Type 为元组时返回 Type。否则返回 never
  • NonEmptyObject<Object> - 当 Object 至少有一个键时返回 Object。否则返回 never

数组和元组

更改大小写

函数类型

实用函数

⚠️ 确保您将 ts-essentials 添加到 dependencies 中(npm install --save ts-essentials)以避免运行时错误

搜索

当某个实用类型以不同名称被人所知时,请在此处添加以便更好地搜索。

内置类型

TypeScript 提供了几种实用类型来便于常见的类型转换。这些实用工具在全局范围内可用。

  • Awaited<Type> - 这种类型旨在模拟 async 函数中的 await 操作,或 Promise 上的 .then() 方法 - 特别是它们递归解包 Promise 的方式
  • Capitalize<StringType> - 将字符串中的第一个字符转换为大写形式
  • ConstructParameters<Type> - 从构造函数类型 Type 的类型构造一个元组或数组类型
  • Exclude<UnionType, ExcludedMembers> - 通过从 UnionType 中排除所有可赋值给 ExcludedMembers 的联合成员来构造一个类型
  • Extract<Type, Union> - 通过从 Type 中提取所有可赋值给 Union 的联合成员来构造一个类型
  • InstanceType<Type> - 构造一个由 Type 中构造函数的实例类型组成的类型
  • Lowercase<StringType> - 将字符串中的每个字符转换为小写形式
  • NonNullable<Type> - 通过从 Type 中排除 null 和 undefined 来构造一个类型
  • Omit<Type, Keys> - 通过从 Type 中选取所有属性然后移除 Keys 来构造一个类型
  • Parameters<Type> - 从函数类型 Type 的参数中使用的类型构造一个元组类型
  • Partial<Type> - 构造一个类型,将 Type 的所有属性设置为可选
  • Pick<Type, Keys> - 通过从 Type 中选取属性集 Keys 来构造一个类型
  • Readonly<Type> - 构造一个类型,将 Type 的所有属性设置为 readonly,意味着构造类型的属性不能被重新赋值
  • Record<Keys, Type> - 构造一个对象类型,其属性键为 Keys,属性值为 Type
  • Required<Type> - 构造一个类型,将 Type 的所有属性设置为必需
  • ReturnType<Type> - 构造一个由函数类型 Type 参数的返回类型组成的类型
  • Uncapitalize<StringType> - 将字符串中的第一个字符转换为小写形式
  • Uppercase<StringType> - 将字符串中的每个字符转换为大写版本

TypeScript 依赖表

ts-essentialstypescript / 依赖类型
^10.0.0^4.5.0 / 可选对等
^9.4.0^4.1.0 / 可选对等
^8.0.0^4.1.0 / 对等
^5.0.0^3.7.0 / 对等
^3.0.1^3.5.0 / 对等
^1.0.1^3.2.2 / 开发
^1.0.0^3.0.3 / 开发

贡献者

感谢这些优秀的人(表情符号键):

<table> <tr> <td align="center"><a href="https://twitter.com/krzkaczor"><img src="https://avatars2.githubusercontent.com/u/1814312?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Chris Kaczor</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=krzkaczor" title="代码">💻</a> <a href="#business-krzkaczor" title="业务开发">💼</a> <a href="#example-krzkaczor" title="示例">💡</a> <a href="https://github.com/ts-essentials/ts-essentials/commits?author=krzkaczor" title="文档">📖</a></td> <td align="center"><a href="https://scholar.google.com/citations?user=3xZtvpAAAAAJ"><img src="https://avatars3.githubusercontent.com/u/9780746?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Xiao Liang</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=yxliang01" title="代码">💻</a> <a href="#ideas-yxliang01" title="想法、规划与反馈">🤔</a> <a href="https://github.com/ts-essentials/ts-essentials/commits?author=yxliang01" title="文档">📖</a></td> <td align="center"><a href="https://github.com/Andarist"><img src="https://avatars2.githubusercontent.com/u/9800850?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Mateusz Burzyński</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=Andarist" title="代码">💻</a> <a href="#ideas-Andarist" title="想法、规划与反馈">🤔</a> <a href="https://github.com/ts-essentials/ts-essentials/commits?author=Andarist" title="文档">📖</a></td> <td align="center"><a href="https://github.com/macbem"><img src="https://avatars1.githubusercontent.com/u/12464061?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Maciej Bembenista</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=macbem" title="代码">💻</a> <a href="#ideas-macbem" title="想法、规划与反馈">🤔</a> <a href="https://github.com/ts-essentials/ts-essentials/commits?author=macbem" title="文档">📖</a></td> <td align="center"><a href="https://github.com/MichaelTontchev"><img src="https://avatars0.githubusercontent.com/u/12261336?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Michael Tontchev</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=MichaelTontchev" title="代码">💻</a> <a href="#ideas-MichaelTontchev" title="想法、规划与反馈">🤔</a> <a href="https://github.com/ts-essentials/ts-essentials/commits?author=MichaelTontchev" title="文档">📖</a></td> <td align="center"><a href="http://ThomasdH.blogspot.com"><img src="https://avatars0.githubusercontent.com/u/3889750?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Thomas den Hollander</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=ThomasdenH" title="代码">💻</a> <a href="#ideas-ThomasdenH" title="想法、规划与反馈">🤔</a> <a href="https://github.com/ts-essentials/ts-essentials/commits?author=ThomasdenH" title="文档">📖</a></td> <td align="center"><a href="https://twitter.com/esamatti"><img src="https://avatars3.githubusercontent.com/u/225712?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Esa-Matti Suuronen</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=epeli" title="代码">💻</a> <a href="#ideas-epeli" title="想法、规划与反馈">🤔</a> <a href="https://github.com/ts-essentials/ts-essentials/commits?author=epeli" title="文档">📖</a></td> </tr> <tr> <td align="center"><a href="https://github.com/IlyaSemenov"><img src="https://avatars1.githubusercontent.com/u/128121?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ilya Semenov</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=IlyaSemenov" title="代码">💻</a> <a href="#ideas-IlyaSemenov" title="想法、规划与反馈">🤔</a> <a href="https://github.com/ts-essentials/ts-essentials/commits?author=IlyaSemenov" title="文档">📖</a></td> <td align="center"><a href="https://codechecks.io"><img src="https://avatars2.githubusercontent.com/u/46399828?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Code Checks</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/pulls?q=is%3Apr+reviewed-by%3Acodechecks" title="审查过的拉取请求">👀</a></td> <td align="center"><a href="http://www.nomiclabs.io"><img src="https://avatars1.githubusercontent.com/u/176499?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Patricio Palladino</b></sub></a><br /><a href="#ideas-alcuadrado" title="想法、规划与反馈">🤔</a></td> <td align="center"><a href="http://twitter.com/quezak2"><img src="https://avatars0.githubusercontent.com/u/666206?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Artur Kozak</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=quezak" title="代码">💻</a> <a href="#ideas-quezak" title="想法、规划与反馈">🤔</a> <a href="https://github.com/ts-essentials/ts-essentials/commits?author=quezak" title="文档">📖</a> <a href="https://github.com/ts-essentials/ts-essentials/pulls?q=is%3Apr+reviewed-by%3Aquezak" title="审查过的拉取请求">👀</a></td> <td align="center"><a href="https://github.com/lucifer1004"><img src="https://avatars2.githubusercontent.com/u/13583761?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Zihua Wu</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=lucifer1004" title="代码">💻</a> <a href="#ideas-lucifer1004" title="想法、规划与反馈">🤔</a> <a href="https://github.com/ts-essentials/ts-essentials/commits?author=lucifer1004" title="文档">📖</a></td> <td align="center"><a href="http://kevinpeno.com"><img src="https://avatars1.githubusercontent.com/u/343808?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Kevin Peno</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=kevinpeno" title="代码">💻</a></td> <td align="center"><a href="https://github.com/DomParfitt"><img src="https://avatars2.githubusercontent.com/u/11363907?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Dom Parfitt</b></sub></a><br /><a href="#ideas-DomParfitt" title="想法、规划与反馈">🤔</a></td> </tr> <tr> <td align="center"><a href="https://github.com/EduardoRFS"><img src="https://avatars0.githubusercontent.com/u/3393115?v=4?s=100" width="100px;" alt=""/><br /><sub><b>EduardoRFS</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=EduardoRFS" title="代码">💻</a> <a href="https://github.com/ts-essentials/ts-essentials/commits?author=EduardoRFS" title="文档">📖</a></td> <td align="center"><a href="https://andydvorak.net/"><img src="https://avatars1.githubusercontent.com/u/409245?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Andrew C. Dvorak</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=acdvorak" title="文档">📖</a></td> <td align="center"><a href="https://github.com/a1russell"><img src="https://avatars0.githubusercontent.com/u/241628?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Adam Russell</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=a1russell" title="代码">💻</a> <a href="https://github.com/ts-essentials/ts-essentials/commits?author=a1russell" title="文档">📖</a></td> <td align="center"><a href="https://github.com/sz-piotr"><img src="https://avatars2.githubusercontent.com/u/17070569?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Piotr Szlachciak</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=sz-piotr" title="代码">💻</a> <a href="#ideas-sz-piotr" title="想法、计划和反馈">🤔</a> <a href="https://github.com/ts-essentials/ts-essentials/commits?author=sz-piotr" title="文档">📖</a></td> <td align="center"><a href="https://github.com/mikhailswift"><img src="https://avatars3.githubusercontent.com/u/3218582?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Mikhail Swift</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=mikhailswift" title="代码">💻</a></td> <td align="center"><a href="https://github.com/DevilZh"><img src="https://avatars1.githubusercontent.com/u/10295215?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ryan Zhang</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=DevilZh" title="代码">💻</a> <a href="#ideas-DevilZh" title="想法、计划和反馈">🤔</a> <a href="https://github.com/ts-essentials/ts-essentials/commits?author=DevilZh" title="文档">📖</a></td> <td align="center"><a href="https://www.linkedin.com/in/francesco-borzi/"><img src="https://avatars1.githubusercontent.com/u/75517?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Francesco Borzì</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=FrancescoBorzi" title="文档">📖</a> <a href="https://github.com/ts-essentials/ts-essentials/commits?author=FrancescoBorzi" title="代码">💻</a></td> </tr> <tr> <td align="center"><a href="https://github.com/leaumar"><img src="https://avatars2.githubusercontent.com/u/3950300?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Marnick L'Eau</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=leaumar" title="代码">💻</a> <a href="#ideas-leaumar" title="想法、计划和反馈">🤔</a> <a href="https://github.com/ts-essentials/ts-essentials/commits?author=leaumar" title="文档">📖</a></td> <td align="center"><a href="https://github.com/kubk"><img src="https://avatars1.githubusercontent.com/u/22447849?v=4?s=100" width="100px;" alt=""/><br /><sub><b>kubk</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=kubk" title="代码">💻</a></td> <td align="center"><a href="https://github.com/bbarry"><img src="https://avatars0.githubusercontent.com/u/84951?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Bill Barry</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=bbarry" title="代码">💻</a> <a href="https://github.com/ts-essentials/ts-essentials/commits?author=bbarry" title="文档">📖</a></td> <td align="center"><a href="https://github.com/akwodkiewicz"><img src="https://avatars2.githubusercontent.com/u/22861194?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Andrzej Wódkiewicz</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=akwodkiewicz" title="代码">💻</a> <a href="https://github.com/ts-essentials/ts-essentials/commits?author=akwodkiewicz" title="文档">📖</a> <a href="#ideas-akwodkiewicz" title="想法、计划和反馈">🤔</a></td> <td align="center"><a href="http://chjdev.com"><img src="https://avatars2.githubusercontent.com/u/973941?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Christian</b></sub></a><br /><a href="#ideas-chjdev" title="想法、计划和反馈">🤔</a></td> <td align="center"><a href="https://github.com/mattleff"><img src="https://avatars0.githubusercontent.com/u/120155?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Matthew Leffler</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=mattleff" title="文档">📖</a></td> <td align="center"><a href="https://github.com/studds"><img src="https://avatars2.githubusercontent.com/u/3046407?v=4?s=100" width="100px;" alt=""/><br /><sub><b>studds</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=studds" title="代码">💻</a></td> </tr> <tr> <td align="center"><a href="https://github.com/Beraliv"><img src="https://avatars.githubusercontent.com/u/2991847?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Alex Berezin</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=Beraliv" title="代码">💻</a> <a href="https://github.com/ts-essentials/ts-essentials/commits?author=Beraliv" title="文档">📖</a></td> <td align="center"><a href="https://github.com/vitonsky"><img src="https://avatars.githubusercontent.com/u/86191922?v=4?s=100" width="100px;" alt=""/><br /><sub><b>vitonsky</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=vitonsky" title="文档">📖</a></td> <td align="center"><a href="https://github.com/itayronen"><img src="https://avatars.githubusercontent.com/u/21139000?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Itay Ronen</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=itayronen" title="代码">💻</a></td> <td align="center"><a href="https://github.com/cyberbiont"><img src="https://avatars.githubusercontent.com/u/59398323?v=4?s=100" width="100px;" alt=""/><br /><sub><b>亚罗斯拉夫·拉林</b></sub></a><br /><a href="https://github.com/ts-essentials/ts-essentials/commits?author=cyberbiont" title="代码">💻</a></td> </tr> </table> <!-- markdownlint-restore --> <!-- prettier-ignore-end --> <!-- ALL-CONTRIBUTORS-LIST:END -->

本项目遵循all-contributors规范。 欢迎任何形式的贡献!阅读更多

编辑推荐精选

博思AIPPT

博思AIPPT

AI一键生成PPT,就用博思AIPPT!

博思AIPPT,新一代的AI生成PPT平台,支持智能生成PPT、AI美化PPT、文本&链接生成PPT、导入Word/PDF/Markdown文档生成PPT等,内置海量精美PPT模板,涵盖商务、教育、科技等不同风格,同时针对每个页面提供多种版式,一键自适应切换,完美适配各种办公场景。

热门AI工具AI办公办公工具智能排版AI生成PPT博思AIPPT海量精品模板AI创作
潮际好麦

潮际好麦

AI赋能电商视觉革命,一站式智能商拍平台

潮际好麦深耕服装行业,是国内AI试衣效果最好的软件。使用先进AIGC能力为电商卖家批量提供优质的、低成本的商拍图。合作品牌有Shein、Lazada、安踏、百丽等65个国内外头部品牌,以及国内10万+淘宝、天猫、京东等主流平台的品牌商家,为卖家节省将近85%的出图成本,提升约3倍出图效率,让品牌能够快速上架。

iTerms

iTerms

企业专属的AI法律顾问

iTerms是法大大集团旗下法律子品牌,基于最先进的大语言模型(LLM)、专业的法律知识库和强大的智能体架构,帮助企业扫清合规障碍,筑牢风控防线,成为您企业专属的AI法律顾问。

SimilarWeb流量提升

SimilarWeb流量提升

稳定高效的流量提升解决方案,助力品牌曝光

稳定高效的流量提升解决方案,助力品牌曝光

Sora2视频免费生成

Sora2视频免费生成

最新版Sora2模型免费使用,一键生成无水印视频

最新版Sora2模型免费使用,一键生成无水印视频

Transly

Transly

实时语音翻译/同声传译工具

Transly是一个多场景的AI大语言模型驱动的同声传译、专业翻译助手,它拥有超精准的音频识别翻译能力,几乎零延迟的使用体验和支持多国语言可以让你带它走遍全球,无论你是留学生、商务人士、韩剧美剧爱好者,还是出国游玩、多国会议、跨国追星等等,都可以满足你所有需要同传的场景需求,线上线下通用,扫除语言障碍,让全世界的语言交流不再有国界。

讯飞绘文

讯飞绘文

选题、配图、成文,一站式创作,让内容运营更高效

讯飞绘文,一个AI集成平台,支持写作、选题、配图、排版和发布。高效生成适用于各类媒体的定制内容,加速品牌传播,提升内容营销效果。

AI助手热门AI工具AI创作AI辅助写作讯飞绘文内容运营个性化文章多平台分发
TRAE编程

TRAE编程

AI辅助编程,代码自动修复

Trae是一种自适应的集成开发环境(IDE),通过自动化和多元协作改变开发流程。利用Trae,团队能够更快速、精确地编写和部署代码,从而提高编程效率和项目交付速度。Trae具备上下文感知和代码自动完成功能,是提升开发效率的理想工具。

热门AI工具生产力协作转型TraeAI IDE
商汤小浣熊

商汤小浣熊

最强AI数据分析助手

小浣熊家族Raccoon,您的AI智能助手,致力于通过先进的人工智能技术,为用户提供高效、便捷的智能服务。无论是日常咨询还是专业问题解答,小浣熊都能以快速、准确的响应满足您的需求,让您的生活更加智能便捷。

imini AI

imini AI

像人一样思考的AI智能体

imini 是一款超级AI智能体,能根据人类指令,自主思考、自主完成、并且交付结果的AI智能体。

下拉加载更多