Skip to content

andymitchell/utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Andy MitchellAndy Mitchell
Andy Mitchell
and
Andy Mitchell
Apr 30, 2025
5cc4512 · Apr 30, 2025
Apr 23, 2024
Apr 30, 2025
Jan 13, 2025
Apr 23, 2024
Apr 25, 2024
Jun 7, 2024
Apr 30, 2025
Apr 30, 2025
Mar 8, 2025
Apr 4, 2025
Jun 12, 2024

Repository files navigation

Utils

A collection of small helpful functions.

Building

  • npm run build_release Will run the lint (failing if it gives any warnings), build it, and deploy with np

TODO

The goal is to make sub-packages be separate, and not includes in the main/index file for @andyrmitchell/utils. That's because some of them are heavy (e.g. using react), and if the consumer is using commonjs then it doesn't seem to tree-shake effectively.

Initially I had the consumer try to: import { TypedCancelableEventEmitter } from "@andyrmitchell/utils/dist/typed-cancelable-event-emitter"; But this broke Jest in the consumer, who couldn't resolve it.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published