# ts-primitives

> This codebase produces an npm module that is an automatic derivation of some useful concepts from the [Microsoft/vscode](https://github.com/Microsoft/vscode) repo's [vs/base/common](https://github.com/Microsoft/vscode/tree/master/src/vs/base/common) direc

Latest version **3.2.0** (published 2021-01-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install ts-primitives
pnpm add ts-primitives
yarn add ts-primitives
bun add ts-primitives
```

## Health

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

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

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.2.0 |
| Published | 2021-01-27 |
| First published | 2019-04-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 843.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Geoff Goodman |
| Maintainers | filearts |

## Links

- npm: https://www.npmjs.com/package/ts-primitives
- Repository: https://github.com/ggoodman/ts-primitives
- Homepage: https://github.com/ggoodman/ts-primitives#readme
- Issues: https://github.com/ggoodman/ts-primitives/issues
- npm.io page: https://npm.io/package/ts-primitives

## Recent versions

- 3.2.0 (latest) — 2021-01-27
- 3.1.0 — 2020-06-19
- 3.0.1 — 2020-05-18
- 3.0.0 — 2020-05-18
- 2.4.0 — 2020-04-08
- 2.3.0 — 2020-04-07
- 2.2.0 — 2020-02-14
- 2.1.2 — 2020-02-14
- 2.1.1 — 2020-02-13
- 2.1.0 — 2020-02-13
- 2.0.0 — 2020-02-13
- 1.1.0 — 2019-05-28
- 1.0.1 — 2019-04-30
- 1.0.0 — 2019-04-02

## README

# Useful TypeScript primitives

This codebase produces an npm module that is an automatic derivation of some useful concepts from the [Microsoft/vscode](https://github.com/Microsoft/vscode) repo's [vs/base/common](https://github.com/Microsoft/vscode/tree/master/src/vs/base/common) directory.

## Documentation

[API Documentation](https://ggoodman.github.io/ts-primitives)

## Development

### Rebuild from source

Read code from the upstream `vscode` repo at the `UPSTREAM_GIT_HASHISH` (or `master` if not specified) and:

1. Generate a tree-shaken module from `async.ts`, `cancellation.ts`, `event.ts` and `lifecycle.ts`.
2. Produces `tsdoc` documents in `./docs`.

```sh
npm run build [UPSTREAM_GIT_HASHISH]
```

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