@guanghechen/helper-func
TypeScript icon, indicating that this package has built-in type declarations

6.0.0-alpha.1 • Public • Published

@guanghechen/helper-func


Helpful utility funcs.

Install

  • npm

    npm install --save-dev @guanghechen/helper-func
  • yarn

    yarn add --dev @guanghechen/helper-func

Usage

Name Description
delay Waiting a given million seconds.
falsy Always return false.
filterIterable .filter method for Iterable structure.
identity Return the input data directly.
iterable2map Create a map from list.
mapIterable .map method for Iterable structure.
noop Do nothing.
parseBytesString Parse texts like 1M, 1Mb, 1G to the number of bytes.
truthy Always return true.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
6.0.0-alpha.16latest

Version History

VersionDownloads (Last 7 Days)Published
6.0.0-alpha.16
6.0.0-alpha.00
5.0.90
5.0.80
5.0.70
5.0.60
5.0.50
5.0.40
5.0.30
5.0.20
5.0.10
5.0.00
5.0.0-alpha.30
5.0.0-alpha.20
5.0.0-alpha.10
5.0.0-alpha.00
4.7.40
4.7.30
4.7.20
4.7.11
4.7.00
4.6.50
4.6.40
4.6.30
4.6.20
4.6.10
4.6.00
4.5.00
4.4.30
4.4.20
4.4.10
4.4.00
4.3.00
4.2.20
4.2.10
4.2.00
4.1.30
4.1.20
4.1.10
4.1.00
4.0.00
4.0.0-alpha.80
4.0.0-alpha.70
4.0.0-alpha.61
4.0.0-alpha.50
4.0.0-alpha.40
4.0.0-alpha.30
4.0.0-alpha.20
4.0.0-alpha.10
4.0.0-alpha.00
3.0.20
3.0.10
3.0.00
3.0.0-alpha.50
3.0.0-alpha.40
3.0.0-alpha.30
3.0.0-alpha.21
3.0.0-alpha.10
3.0.0-alpha.00
2.1.41
2.1.30
2.1.20
2.1.11
2.1.00
2.0.01
2.0.0-alpha.30
2.0.0-alpha.20
2.0.0-alpha.10
2.0.0-alpha.00

Package Sidebar

Install

npm i @guanghechen/helper-func

Weekly Downloads

12

Version

6.0.0-alpha.1

License

MIT

Unpacked Size

36.1 kB

Total Files

8

Last publish

Collaborators

  • lemonclown