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

Package detail

@sohailalam2/abu

sohailalam28240.6.1TypeScript support: included

Your minimalistic helpful sidekick for all typescript projects :)

data, datetime, hash, sha256, id, id-generator, random number generator, number converters, string converters, value object

readme


Abu Logo

Abu

Your minimalistic helpful sidekick for all typescript projects :)

Maintainability github actions npm snyk publish size install size license

Features:

Abu 🐒 is smart and shakes trees 🍃

Supports tree-shaking, so you only import what you need. Even if Abu get fat, you can stay slim 😃

Abu 🐵 is universal 🌍

details: Works equally well in modern browsers as well as in NodeJs

💻 Installation

$ npm install @sohailalam2/abu

☝️ Minimum Requirements

NodeJs > v16

Abu uses the crypto module and specifically the crypto.webcrypto object for its random number generation. This is only available on Node v16+.

Browsers

  • All modern browsers
  • NOT Internet Explorer

🌏 Read Documentation

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.6.1 (2023-01-22)

Features

  • add ValueObject validator decorators (11f43f1)

0.6.0 (2023-01-15)

Features

  • improve value object generic constraints (e46eb49)

0.5.6 (2022-12-19)

0.5.5 (2022-12-19)

0.5.4 (2022-12-19)

0.5.3 (2022-12-19)

0.5.2 (2022-12-19)

Features

  • improve website branding (805bb81)

0.5.1 (2022-12-07)

Features

  • remove luxon as dependency (274511b)
  • use webcrypto for sha hashing (708a460)

0.5.0 (2022-11-16)

0.4.0 (2022-11-09)

Features

  • add serialization and deserialization of value object (b6607d4)
  • remove deserialization() method from Serializable and add toJSON() (711608b)

0.3.0 (2022-11-06)

Features

  • add scheduler, update value object, update docs (6de7ea0)

0.2.1 (2022-11-03)

0.2.0 (2022-11-01)

Features

  • add random id generators, number converters, string helpers (ad054ca)

0.1.14 (2022-10-30)

Features

  • serialize and deserialize valueobjects, update tests (8d2af0d)

0.1.13 (2022-10-28)

Bug Fixes

0.1.12 (2022-10-28)

Bug Fixes

0.1.11 (2022-10-28)

Features

  • add serialization support, update docs and tests (8e83eef)

0.1.10 (2022-10-25)

0.1.9 (2022-10-25)

0.1.8 (2022-10-25)

Bug Fixes

  • use private modifer instead of # (70ebef0)

0.1.7 (2022-10-25)

Bug Fixes

  • build: package type and env vars (948120f)

0.1.6 (2022-10-25)

Bug Fixes

  • build: support multiple entry (387e1d9)

0.1.5 (2022-10-25)

Bug Fixes

0.1.4 (2022-10-25)

Bug Fixes

  • github workflows to publish (7fcc5db)

0.1.3 (2022-10-25)

0.1.2 (2022-10-25)

0.1.1 (2022-10-25)

Features