All Projects → tool-belt → type-predicates

tool-belt / type-predicates

Licence: MIT license
A comprehensive collection of type-guards, type assertions and related utils

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to type-predicates

purescript-ffi-utils
A utility library for the purescript foreign function interface
Stars: ✭ 22 (-50%)
Mutual labels:  utilities, utils
Sassyfication
💅Library with sass mixins to speed up your css workflow.
Stars: ✭ 51 (+15.91%)
Mutual labels:  utilities, utils
Ethereumjs Util
Project is in active development and has been moved to the EthereumJS monorepo.
Stars: ✭ 534 (+1113.64%)
Mutual labels:  utilities, utils
Ramda Adjunct
Ramda Adjunct is the most popular and most comprehensive set of functional utilities for use with Ramda, providing a variety of useful, well tested functions with excellent documentation.
Stars: ✭ 550 (+1150%)
Mutual labels:  utilities, utils
Stdlib
✨ Standard library for JavaScript and Node.js. ✨
Stars: ✭ 2,749 (+6147.73%)
Mutual labels:  utilities, utils
bat
Battery management utility for Linux laptops.
Stars: ✭ 107 (+143.18%)
Mutual labels:  utilities, utils
Utils
A collection of useful PHP functions, mini classes and snippets that you need and can use every day.
Stars: ✭ 750 (+1604.55%)
Mutual labels:  utilities, utils
timestampy
🕒 Bunch of utilities useful when working with UNIX timestamps
Stars: ✭ 21 (-52.27%)
Mutual labels:  utilities, utils
Torchfunc
PyTorch functions and utilities to make your life easier
Stars: ✭ 177 (+302.27%)
Mutual labels:  utilities, utils
Ramda Extension
🤘Utility library for functional JavaScript. With ❤️ to Ramda.
Stars: ✭ 139 (+215.91%)
Mutual labels:  utilities, utils
Schematics Utilities
🛠️ Useful exported utilities for working with Schematics
Stars: ✭ 73 (+65.91%)
Mutual labels:  utilities, utils
table2ascii
Python library for converting lists to fancy ASCII tables for displaying in the terminal and on Discord
Stars: ✭ 31 (-29.55%)
Mutual labels:  utilities, utils
JimmysUnityUtilities
A bunch of code I like to have on hand while working in Unity
Stars: ✭ 93 (+111.36%)
Mutual labels:  utilities, utilities-library
OrganizeMediaFiles
a collection of Python scripts that help you organize media files into a directory tree "year/month" based on metadata , using exiftool
Stars: ✭ 24 (-45.45%)
Mutual labels:  utilities, utils
utils
🛠 A collection of light-weight methods and helpers for defensive programming
Stars: ✭ 15 (-65.91%)
Mutual labels:  utilities
diamonds
A pile of shiny typed JS helpers for everyday usage
Stars: ✭ 16 (-63.64%)
Mutual labels:  utilities
common
Utilities and base libraries for use across polkadot-js for Polkadot and Substrate. Includes base libraries, crypto helpers and cross-environment helpers. Full documentation & examples available.
Stars: ✭ 221 (+402.27%)
Mutual labels:  utilities
geojson-python-utils
Python helper functions for manipulating GeoJSON
Stars: ✭ 86 (+95.45%)
Mutual labels:  utils
cmn-utils
公共函数&请求封装
Stars: ✭ 43 (-2.27%)
Mutual labels:  utils
utils.js
Fast, small and purely functional utility library
Stars: ✭ 132 (+200%)
Mutual labels:  utils

Tests Coverage Quality Gate Status Security Rating Reliability Rating Maintainability Rating

@tool-belt/type-predicates

Installation

npm install @tool-belt/type-predicates

Or

yarn add @tool-belt/type-predicates

Contents

This package includes the following:

  • a comprehensive collection of performant and flexible type-guards, that can function as a drop-in replacement for the type-guards included in the NodeJS builtin utils/types module - with better significantly typing.
  • a comprehensive collection of type assertions covering all type-guards included in the package.
  • isUnion, createTypeGuard and createTypeAssertion utilities for the composition of type-guards and assertions.
  • supports ES modules and tree shaking, i.e., works great with module bundlers such as Webpack for the browser.

See the docs for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].