🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

type-custom

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

type-custom

The most complete typescript lib

1.0.5
latest
Source
npm
Version published
Weekly downloads
16
166.67%
Maintainers
1
Weekly downloads
 
Created
Source

Type Custom

The most complete typescript lib

Any

List

  • Join - Concatenates all items of a list into a single text
  • Map - Iterates a list with a custom generic
  • Reverse - Reverses a list

Object

  • Get - Obtains a property of an object without warnings
  • ValueOf - Get all values of an object/list

String

  • Split - Breaks a text into pieces by a delimiter

Union

Soon

Generic

Custom type execution in a more powerful way

// Prints 'c-b-a'
type Computed = Chain<'abc', [
    Split.Custom<''>,
    Reverse.Custom,
    Join.Custom<'-'>,
]>;

FAQs

Package last updated on 19 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts