Have ideas to improve npm?Join in the discussion! »

langx-jsTypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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

Install

npm i langx-js

DownloadsWeekly Downloads

1

Version

1.1.0

License

Apache-2.0

Unpacked Size

331 kB

Total Files

69

Last publish

Collaborators

  • avatar