@muffin-dev/ts-helpers
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

Muffin Dev for Node - TS Helpers

This module contains a set of utilities for Typescript.

Installation

Install it locally with NPM by using the following command:

npm i @muffin-dev/ts-helpers

Usage

import * as TSHelpers from '@muffin-dev/ts-helpers';
// OR, if you need only a specific method
// import { enumAsArray } from '@muffin-dev/ts-helpers';

enum DemoEnum {
    A,
    B,
    C
}

const enumArray = TSHelpers.enumAsArray(DemoEnum);
// Contains [ "A", "B", "C" ]

Documentation

=> See API Documentation

Readme

Keywords

none

Package Sidebar

Install

npm i @muffin-dev/ts-helpers

Weekly Downloads

0

Version

1.2.0

License

ISC

Unpacked Size

7 kB

Total Files

11

Last publish

Collaborators

  • fat-muffin