JavaScript language extensions, a replacement or a supplement of the lodash. Write JavaScript using Java API for a javaer, javascripter, typescripter.
- Array utilities
Migrate Java API
All java collection written in Iterables.ts module
TypeScript Class or Module | Java Class |
---|---|
Collection | java.util.Collection |
List | java.util.List |
ArrayList | java.util.ArrayList |
LinkedList | java.util.LinkedList |
LikeJavaSet | java.util.Set |
LikeJavaMap | java.util.Map |
HashSet | java.util.HashSet |
LinkedHashSet | java.util.LinkedHashSet |
TreeSet | java.util.TreeSet |
HashMap | java.util.HashMap |
LinkedHashMap | java.util.LinkedHashMap |
TreeMap | java.util.TreeMap |
logger | Logger |
Exceptions | some java.lang.RuntimeException (s) |
Migrate langx-java Utilities
TypeScript Class or Module | langx-java Class |
---|---|
Emptys | Emptys |
Objects | Objects |
Numbers | Numbers |
Booleans | Booleans |
Dates | Dates |
Preconditions | Preconditions |
Collects | Collects |
Functions | Function,Consumer,Predicate,Supplier ... |
Pipeline | Pipeline [Like Java8 Stream API ] |
- JavaScript API
- W3School 中文站
- TypeScript docs | TypeScript 中文文档
- NPM docs | NPM 中文文档
- Webpack docs | Webpack 中文文档
- Babel docs | Babel 中文文档
- Jest | Jest 快速访问站点
- Node.js Debugging Guide | Jest TypeScript Debugging Guide
- langx 系列
- langx-js:TypeScript, JavaScript tools
- langx-java: Java tools ,可以替换guava, apache commons-lang,io, hu-tool等
- easyjson: 一个通用的JSON库门面,可以无缝的在各个JSON库之间切换,就像slf4j那样。
- sqlhelper: SQL工具套件(通用分页、DDL Dump、SQLParser、URL Parser、批量操作工具等)。
- esmvc: ElasticSearch 通用客户端,就像MyBatis Mapper那样顺滑
- redisclient: 基于Spring RestTemplate提供的客户端
- audit:通用的Java应用审计框架