TypeScript Utilities

Open-source TypeScript projects categorized as Utilities

Top 23 TypeScript Utility Projects

  • hyperterm

    A terminal built on web technologies

    Project mention: Application-Specific Terminals | news.ycombinator.com | 2023-09-20

    I think that’s more or less what this project is working towards:


  • date-fns

    ⏳ Modern JavaScript date utility library ⌛️

    Project mention: What library do you use to handle dates? | /r/reactjs | 2023-06-09

    In past i used Moment, but I read that we should avoid to use it for future projects. I read someone suggested to use Datejs, but it doesn't seems to be updated, last time was 8 years ago. Currently I'm thinking to use Luxon but I someone suggest Date-fns also.

  • Amplication

    Amplication: open-source Node.js backend code generator. An open-source platform that helps developers build backends without spending time on boilerplate & repetitive coding. Including production-ready GraphQL & REST APIs, DB schema, DTOs, filtering, pagination, RBAC, & more.

  • type-fest

    A collection of essential TypeScript types

    Project mention: Enforcing Localization through Types | dev.to | 2023-08-20

    Typescript doesn’t natively provide an Opaque type that we can use to define a string that has already been localized. If the data looks like a string, Typescript will consider it a string. We can however use utility types that simulate opaque types, like the Opaque definition in type-fest:

  • utility-types

    Collection of utility types, complementing TypeScript built-in mapped types and aliases (think "lodash" for static types).

    Project mention: Boost Your JavaScript with JSDoc Typing | dev.to | 2023-04-08

    With these powerful features, you can create dynamic and expressive types. One last thing I want to mention before moving on, is that you can install libraries with which you can add more types to your project like type-fest or utility-types. These libraries contain a lot of useful types that you can use in your project.

  • qrcode.react

    A <QRCode/> component for use with React.

    Project mention: QR Code reverse engineering | /r/hacking | 2023-03-04
  • react-firebase-hooks

    React Hooks for Firebase.

    Project mention: Angular Fire equivalent for React? | /r/reactjs | 2023-07-12


  • reactfire

    Hooks, Context Providers, and Components that make it easy to interact with Firebase.

    Project mention: Angular Fire equivalent for React? | /r/reactjs | 2023-07-12


  • SurveyJS

    A Non-Cloud Alternative to Google Forms that has it all.. SurveyJS JavaScript libraries allow you to easily set up a robust form management system fully integrated into your IT infrastructure where users can create and edit multiple dynamic JSON-based forms in a no-code form builder. Learn more now.

  • react-unity-webgl

    React Unity WebGL provides a modern solution for embedding Unity WebGL builds in your React Application while providing advanced APIs for two way communication and interaction between Unity and React.

    Project mention: JavaScript framework for making games. no game engine | /r/reactjs | 2023-04-19

    With that being said, https://react-unity-webgl.dev/

  • cz-git

    cz-git | czg 🛠️ DX first and more engineered, lightweight, customizable, standard output format Commitizen adapter and CLI

    Project mention: Let OpenAI generate your git commit message | /r/node | 2023-02-18

    Github: https://github.com/Zhengqbbb/cz-git

  • react-fetching-library

    Simple and powerful API client for react 👍 Use hooks or FACCs to fetch data in easy way. No dependencies! Just react under the hood.

  • nest-router

    Router Module For Nestjs Framework 🚦 🚀

  • qr-code

    A no-framework, no-dependencies, customizable, animate-able, SVG-based <qr-code> HTML element. (by bitjson)

    Project mention: FLiPN-FLaNK Stack for March 6, 2023 | dev.to | 2023-03-06
  • EVT

    💧EventEmitter's typesafe replacement

    Project mention: Getting Started with WebSockets in Deno: Tutorial and Examples | dev.to | 2023-08-20

    The next step will be to instantiate the event emitter that will be used in the API, when we use the dependency evt we can create a totally typesafe client and the only thing we need is define a type and pass it as a generic in the .create() method, like this:

  • pratica

    🥃 Functional Algebraic Data Types

  • tsafe

    🔩 The missing TypeScript utils

    Project mention: Ensure you never forget a case in a switch | /r/Deno | 2022-10-28

    Hello, This is a use case for tsafe, a utility that let you make assertions on types.

  • abitype

    Strict TypeScript types for Ethereum ABIs

    Project mention: Web 3.0 frontend stacks in 2023 | dev.to | 2023-01-29

    wagmi is React Hooks built on top of ethers.js. There are many such libs, but I think this is best. -> wagmi's Comparison To Other Libraries wagmi provide TypeScript types for Ethereum ABIs and this works with zod schema. This brings more strict typecheck for dApp. -> ABIType Also wagmi’s hooks are very useful, such as useContractReads. It's wrapping Multicall3 for multiple read-calls.

  • react-children-utilities

    Extended utils for ⚛️ React.Children data structure that adds recursive filter, map and more methods to iterate nested children.

  • common

    Utilities and base libraries for use across polkadot-js for Polkadot and Substrate. Includes base libraries, crypto helpers and cross-environment helpers. (by polkadot-js)

  • stablelib

    A stable library of useful TypeScript/JavaScript code

    Project mention: What encryption library do you use? | /r/Skiff | 2023-05-16

    We use https://tweetnacl.js.org/#/ and some libraries from https://github.com/StableLib/stablelib

  • meta-fetcher 🔎

    Simple metadata scrapper for node.js

  • node-object-hash

    Node.js object hash library with properties/arrays sorting to provide constant hashes. It also provides a method that returns sorted object strings that can be used for object comparison without hashes.

    Project mention: COME BACK ALIVE — This NGO crowdfunds non-lethal military equipment, such as thermal vision scopes &amp; supplies it to the Donbas front lines. It also provides training for Ukrainian soldiers, as well as researching troops’ needs and the social reintegration of veterans. | /r/ukraine | 2022-11-01
  • react-screen-wake-lock

    🌓 React implementation of the Screen Wake Lock API. It provides a way to prevent devices from dimming or locking the screen when an application needs to keep running

  • svu

    Svultimate Svelte(Kit) Svutilities (by nikolai-cc)

  • Appwrite

    Appwrite - The open-source backend cloud platform. The open-source backend cloud platform for developing Web, Mobile, and Flutter applications. You can set up your backend faster with real-time APIs for authentication, databases, file storage, cloud functions, and much more!

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-09-20.

TypeScript Utilities related posts


What are some of the best open-source Utility projects in TypeScript? This list will help you:

Project Stars
1 hyperterm 41,484
2 date-fns 32,311
3 type-fest 11,956
4 utility-types 5,074
5 qrcode.react 3,486
6 react-firebase-hooks 3,420
7 reactfire 3,367
8 react-unity-webgl 1,501
9 cz-git 774
10 react-fetching-library 618
11 nest-router 588
12 qr-code 534
13 EVT 430
14 pratica 401
15 tsafe 356
16 abitype 337
17 react-children-utilities 305
18 common 243
19 stablelib 144
20 meta-fetcher 🔎 140
21 node-object-hash 79
22 react-screen-wake-lock 59
23 svu 35
Tired of breaking your main and manually rebasing outdated pull requests?
Managing outdated pull requests is time-consuming. Mergify's Merge Queue automates your pull request management & merging. It's fully integrated to GitHub & coordinated with any CI. Start focusing on code. Try Mergify for free.