bitandblack-helpers
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.0 • Public • Published

    Codacy Badge

    Helpers

    Useful functions for JS you may like.

    Installation

    This library is available for the use with Node. Add it to your project by running $ npm install bitandblack-helpers or $ yarn add bitandblack-helpers.

    Use

    There are useful functions to handle:

    • Arrays

      • arrayAddOrRemove Adds an element to an array if it's not part of it, or removes an element if it is already set.
      • pushUnique Pushes items into an array and uniques them.
    • Functions

      • runOnce Calls a function only once for a given time. When the time is over, the function may be called again.

    Help

    If you have any questions, feel free to contact us under hello@bitandblack.com.

    Further information about Bit&Black can be found under www.bitandblack.com.

    Keywords

    none

    Install

    npm i bitandblack-helpers

    DownloadsWeekly Downloads

    10

    Version

    0.0.0

    License

    MIT

    Unpacked Size

    10.3 kB

    Total Files

    15

    Last publish

    Collaborators

    • tobiaskoengeter