Package detail

codsen-utils

codsen504.3kMIT1.6.7

Various utility functions

codsen, utility, helpers

readme

codsen-utils

Various utility functions

page on codsen.com page on npm page on github Downloads per month changelog MIT Licence

Install

This package is pure ESM.

npm i codsen-utils

Quick Take

import { strict as assert } from "assert";

import { isNumberChar } from "codsen-utils";

assert.equal(isNumberChar("z"), false);
assert.equal(isNumberChar("0"), true);

Documentation

Please visit codsen.com for a full description of the API.

Contributing

To report bugs or request features or assistance, raise an issue on GitHub.

Licence

MIT License.

Copyright © 2010-2025 Roy Revelt and other contributors.

ok codsen star

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

1.6.0 (2023-05-21)

Features

  • add intersection() and omit() (d71f024)

1.5.0 (2023-05-13)

Bug Fixes

Features

  • add compareFn() to tackle @typescript-eslint/require-array-sort-compare lint rule (a25524a)
  • add includes() (c6cf14e)

1.4.0 (2023-04-16)

Features

  • add detectEol() (04d2f3d)
  • add resolveEolSetting() and type EolSetting (ceae282)

1.3.0 (2023-03-12)

Features

1.2.0 (2022-12-27)

Features

1.1.1 (2022-12-27)

Bug Fixes

  • add multiplication sign (a93a230)

1.1.0 (2022-12-26)

Features

1.0.1 (2022-12-22)

Bug Fixes