Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@feugene/mu

efureev296MIT4.7.1TypeScript support: included

Helpful TS utilities without dependencies

javascript, typescript, js, ts, ems, utilities, helpers, js-modules

readme

CI: µ Build Status Maintainability Test Coverage codecov codecov

µ

A modern JavaScript collection of utilities designed for modularity & performance without dependencies.

Install

yarn add @feugene/mu

Features

  • TypeScript
  • Bundles for
    • ES
    • CommonJS
    • UMD
  • Simple and lightweight

Contents

  • Common helpers
  • Array helpers
  • Date helpers
  • Format helpers
  • Is-like helpers
  • Number helpers
  • Object helpers
  • String helpers
  • Structures
  • Transform To
  • Other Utils
    • Base64
  • Etc

changelog

Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver].

[unreleased]

[4.7.0] - 2023-11-28

Added

  • [core] Support Node 21

Removed

  • [core] Remove support Node 16|17

[4.6.0] - 2023-10-21

Changed

  • [core] Changed signature match

[4.5.0] - 2023-07-27

Added

  • [is] Add isUrl

[4.4.0] - 2023-05-03

Added

  • [structures] Add CollectionArray

[4.3.0] - 2023-04-25

Added

  • [chore] Add support Node 20

[4.2.2] - 2022-11-16

Added

  • [string] Add normalizeKebab: Replace non-alphanumeric chars to -

[4.2.0] - 2022-11-16

Added

  • [string] Add normalizeName && normalizeCustom: Replace non-alphanumeric chars to a defined string and remove consecutive duplicates.
  • [string] Add removeConsecutiveDuplicates: Remove consecutive duplicates
  • [string] Add trimAny: Trim any characters

[4.1.0] - 2022-11-10

Changed

  • New package building system

[4.0.6] - 2022-07-27

Added

  • isDates to is section

[4.0.0] - 2022-07-27

Changed

  • Change codebase to TS