my avatar image, a naturally textured flat green torus
belt πŸ¦•
utility belt for JS
ancient not extinct
npm i -D @ryanatkn/belt
homepage repo npm version license data
  • array.js
    • EMPTY_ARRAY
    • to_array
    • remove_unordered
    • to_next
  • async.js
    • Async_Status
    • wait
    • is_promise
    • Deferred
    • create_deferred
  • colors.js
    • Hsl
    • Hue
    • Saturation
    • Lightness
    • Rgb
    • Red
    • Green
    • Blue
    • rgb_to_hex
    • hex_to_rgb
    • hex_string_to_rgb
    • rgb_to_hex_string
    • to_hex_component
    • rgb_to_hsl
    • hsl_to_rgb
    • hue_to_rgb_component
    • hsl_to_hex
    • hsl_to_hex_string
    • hsl_to_string
    • hex_string_to_hsl
    • parse_hsl_string
  • counter.js
    • Counter
    • Create_Counter
    • create_counter
  • dom.js
    • is_editable
    • inside_editable
    • swallow
    • handle_target_value
    • is_iframed
  • error.js
    • Unreachable_Error
    • unreachable
  • fetch.js
    • Fetch_Value_Options
    • fetch_value
    • Fetch_Value_Cache_Key
    • Fetch_Value_Cache_Item
    • Fetch_Value_Cache
    • to_fetch_value_cache_key
    • serialize_cache
    • deserialize_cache
  • function.js
    • noop
    • noop_async
    • resolved
    • identity
    • Lazy
    • lazy
  • id.js
    • Uuid
    • is_uuid
    • UUID_MATCHER
    • Client_Id_Creator
    • create_client_id_creator
  • iterator.js
    • count_iterator
  • json.js
    • Json
    • Json_Primitive
    • Json_Object
    • Json_Array
    • Json_Type
    • to_json_type
    • canonicalize
    • embed_json
  • log.js
    • Log_Level
    • to_log_level_value
    • configure_log_level
    • configure_log_colors
    • Log
    • Logger_State
    • Logger_Prefixes_And_Suffixes_Getter
    • Base_Logger
    • Logger
    • System_Logger
  • map.js
    • sort_map
    • compare_simple_map_entries
  • maths.js
    • clamp
    • lerp
    • round
    • GR
    • GR_i
    • GR_2
    • GR_2i
    • GR_3
    • GR_3i
    • GR_4
    • GR_4i
    • GR_5
    • GR_5i
    • GR_6
    • GR_6i
    • GR_7
    • GR_7i
    • GR_8
    • GR_8i
    • GR_9
    • GR_9i
  • object.js
    • is_plain_object
    • map_record
    • omit
    • pick_by
    • omit_undefined
    • reorder
    • EMPTY_OBJECT
    • traverse
  • path.js
    • parse_path_parts
    • parse_path_segments
    • parse_path_pieces
    • Path_Piece
    • slugify
  • print.js
    • st
    • set_colors
    • print_key_value
    • print_ms
    • print_number_with_separators
    • print_string
    • print_number
    • print_boolean
    • print_value
    • print_error
    • print_timing
    • print_timings
    • print_log_label
  • process.js
    • Spawned_Process
    • Spawned
    • Spawn_Result
    • spawn
    • Spawned_Out
    • spawn_out
    • spawn_process
    • print_child_process
    • global_spawn
    • register_global_spawn
    • despawn
    • despawn_all
    • attach_process_error_handlers
    • print_spawn_result
    • Restartable_Process
    • spawn_restartable_process
  • random_alea.js
    • Alea
    • create_random_alea
    • masher
  • random.js
    • random_float
    • random_int
    • random_boolean
    • random_item
    • shuffle
  • regexp.js
    • escape_regexp
  • result.js
    • Result
    • OK
    • NOT_OK
    • unwrap
    • Result_Error
    • unwrap_error
  • string.js
    • truncate
    • strip_start
    • strip_end
    • strip_after
    • strip_before
    • ensure_start
    • ensure_end
    • deindent
    • plural
    • count_graphemes
    • strip_ansi
  • throttle.js
    • Throttle_Options
    • throttle
  • timings.js
    • Stopwatch
    • create_stopwatch
    • Timings_Key
    • Timings
  • types.js
    • Omit_Strict
    • Pick_Union
    • Keyof_Union
    • Partial_Except
    • Partial_Only
    • Partial_Values
    • Assignable
    • Defined
    • Not_Null
    • Array_Element
    • Flavored
    • Flavor
    • Branded
    • Brand
  • url.js
    • format_url
  • raw data for pkg: Package_Meta