Skip to content

TypeScript,JavaScript language extensions, write TypeScript,JavaScript using Java API for a javaer, javascripter, typescripter, weber

License

Notifications You must be signed in to change notification settings

bes2008/langx-js

Repository files navigation

JavaScript language extensions, a replacement or a supplement of the lodash. Write JavaScript using Java API for a javaer, javascripter, typescripter.

Versions

npm npm

Overwrite lodash

  1. 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 ]

References

  • 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应用审计框架

About

TypeScript,JavaScript language extensions, write TypeScript,JavaScript using Java API for a javaer, javascripter, typescripter, weber

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published