# @lcdev/ts

> TypeScript common helpers and core library

Latest version **0.2.9** (published 2020-06-11) · MPL-2.0 license · 0 weekly downloads

## Install

```sh
npm install @lcdev/ts
pnpm add @lcdev/ts
yarn add @lcdev/ts
bun add @lcdev/ts
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.9 |
| Published | 2020-06-11 |
| First published | 2020-01-22 |
| Weekly downloads | 0 |
| License | MPL-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 10.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Launchcode |
| Maintainers | gregnr, joelgallant, servalldev |

## Links

- npm: https://www.npmjs.com/package/@lcdev/ts
- npm.io page: https://npm.io/package/@lcdev/ts

## Recent versions

- 0.2.9 (latest) — 2020-06-11
- 0.2.8 — 2020-01-22

## README

# @lcdev/ts
[![Licensed under MPL 2.0](https://img.shields.io/badge/license-MPL_2.0-green.svg)](https://www.mozilla.org/en-US/MPL/2.0/)
[![npm](https://img.shields.io/npm/v/@lcdev/ts.svg)](https://www.npmjs.com/package/@lcdev/ts)
[![BundlePhobia](https://badgen.net/bundlephobia/minzip/@lcdev/ts)](https://bundlephobia.com/result?p=@lcdev/ts@latest)

TypeScript common helpers and core library

```bash
yarn add @lcdev/ts@0.2
```

This library has some disjointed exported types that all have been found useful in multiple projects.
Very similar to other typescript utility libraries out there, but it's nice to have control over our own.

Most common types that we use:

- `Json`
- `Merge<A, B>`
- `NonOptional<Obj, Keys>`
- `AllNonOptionl<Obj>`
- `DeepPartial<T>`
- `Option<T>`
- `Result<T, Err>`
- `Nullable`
- `ReturnType<Func>`
- `Class<T>`

---
_Source: https://npm.io/package/@lcdev/ts · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
