Skip to content

Releases: PhanHoangQuocTu/precisekit

PreciseKit v0.5.2

Choose a tag to compare

@PhanHoangQuocTu PhanHoangQuocTu released this 23 Oct 08:06

Full Changelog: v0.5.1...v0.5.2

PreciseKit v0.5.1

Choose a tag to compare

@PhanHoangQuocTu PhanHoangQuocTu released this 23 Oct 06:23

What's Changed

  • build(deps-dev): bump @types/node from 26.6.4 to 26.6.5 by @dependabot[bot] in #10
  • build(deps-dev): bump rollup from 4.64.0 to 4.64.5 by @dependabot[bot] in #7
  • build(deps-dev): bump @typescript-eslint/eslint-plugin from 8.71.0 to 8.71.1 by @dependabot[bot] in #8
  • build(deps-dev): bump @typescript-eslint/parser from 8.71.0 to 8.71.1 by @dependabot[bot] in #9

New Contributors

Full Changelog: v0.5.0...v0.5.1

PreciseKit v0.5.0

Choose a tag to compare

@PhanHoangQuocTu PhanHoangQuocTu released this 23 Oct 03:56

Full Changelog: v0.4.2...v0.5.0

v0.4.0

Choose a tag to compare

@PhanHoangQuocTu PhanHoangQuocTu released this 08 Oct 07:42

@fatdevcon/utilities v0.4.0

npm version
npm downloads
Documentation
License

Zero-dependency TypeScript utilities for exact decimal math, calendar/date work, Intl formatting, Unicode text, immutable collections and async helpers.

Install

npm install @fatdevcon/utilities
import { summary, formatCurrency, addMonths } from "@fatdevcon/utilities";

summary(0.1, 0.2); // 0.3
formatCurrency("12345678901234567890.129", "USD");
addMonths(new Date(2026, 0, 31), 1); // 28 February 2026

Highlights

  • Exact decimal, bigint and numeric-string arithmetic without floating-point drift.
  • Zero runtime dependencies; ESM, CommonJS and bundled TypeScript declarations.
  • Local-calendar date arithmetic, ISO parsing, DST-aware IANA time zone formatting.
  • Unicode-safe text helpers, immutable collection helpers and SSR-safe runtime detection.
  • Strict validation, stable numeric error codes and prototype-safe object/query helpers.

What's new in 0.4.0

  • Added calendar boundaries, comparisons, local calendar differences and date metadata helpers.
  • Added safe runtime detection for Node.js, Bun, browsers, DOM and browser workers.
  • Added immutable collection ergonomics: sort, enumerate, take, drop, minBy, maxBy and sumBy.
  • Added strict conversion, safe JSON, query-string and primitive type-guard utilities.
  • Fixed proleptic Gregorian years 0–99 in date arithmetic and IANA offset handling.
  • Preserved existing public root imports and zero-runtime-dependency policy.

Verification

  • TypeScript typecheck, ESLint, Jest, build, docs and site checks passed.
  • ESM/CJS package consumers verified on Node.js and Bun.
  • Exact-decimal differential tests use decimal.js as a dev-only oracle.
  • Calendar/date tests use date-fns as a dev-only oracle.
  • npm tarball contents and production dependency audit were verified.

Links