@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.

Readme

Keywords

Package Sidebar

Install

npm i @guanghechen/helper-func

Weekly Downloads

1

Version

6.0.0-alpha.1

License

MIT

Unpacked Size

36.1 kB

Total Files

8

Last publish

Collaborators

  • lemonclown