https://github.com/ggoodman/ts-primitives
TypeScript primitives extracted from vscode and elsewhere
https://github.com/ggoodman/ts-primitives
composable emitter primitives typescript
Last synced: 3 months ago
JSON representation
TypeScript primitives extracted from vscode and elsewhere
- Host: GitHub
- URL: https://github.com/ggoodman/ts-primitives
- Owner: ggoodman
- License: mit
- Created: 2019-04-02T19:42:45.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-01-27T15:13:22.000Z (over 4 years ago)
- Last Synced: 2024-04-26T21:04:26.852Z (over 1 year ago)
- Topics: composable, emitter, primitives, typescript
- Language: JavaScript
- Homepage: https://ggoodman.github.io/ts-primitives/
- Size: 304 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
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]
```