@h4x/common

Common HAX

Stats

StarsIssuesVersionUpdatedCreatedSize
@h4x/common
0.4.3822 days ago3 years agoMinified + gzip package size for @h4x/common in KB

Readme

@h4x/common

@h4x/common is a Typescript/JavaScript library that provides a lot of useful helpers without extending any built-in objects. It is mainly used in other @h4x/* packages, but it is designed as a universal package that can be used anywhere, including in the browser(with few exports disabled).

The packages doesn't have any dependencies, it does have devDependencies that are used during the development of the package. All of the variables, classes and functions are strictly typed and fully tested.

Node

The export for node is done using typescript compiler with "es2015" target, typing files are exported along side of JavaScript files and are setup in the package.json so they should just work without the need to download external typings.

Browser

The export for the browser is done using rollup using the esm format (es module). This format works in both rollup and webpack. The export includes a source map file and typings are provided by the main export. The exports are exposed on the package using both "jsnext:main" and "module".

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.