uft
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

uft

A collection of performant, strongly typed utilities to aid your Typescript application.

Table of contents

Installation

# using npm
npm install uft
# using pnpm
pnpm add uft

Documentation

For an optimal development experience, this library is fully documented with JSDoc comments, including usage examples. If you're using VSCode, simply hover over any method to see its documentation inline, within your editor.

For those who prefer a web-based reference, a documentation site generated with TypeDoc is available here.

Tree Shaking

If you are using this library in a project that has a build step featuring tree shaking (e.g. webpack, rollup, etc.), you can freely import methods from the default entry point:

import { filteredMap, isDefined } from 'uft'

Otherwise, make use of the different export paths to ensure that only the code for used methods is bundled:

import { filteredMap } from 'uft/filteredMap'
import { isDefined } from 'uft/isDefined'

API

Categories

Array

Coerce

Is

Object

Misc

Changelog

View the changes made to each version of uft here.

License

See license.

Package Sidebar

Install

npm i uft

Weekly Downloads

2

Version

0.3.0

License

MIT

Unpacked Size

135 kB

Total Files

171

Last publish

Collaborators

  • reiss-d