tsutil

TypeScript Utility Data Structures

Usage no npm install needed!

<script type="module">
  import tsutil from 'https://cdn.skypack.dev/tsutil';
</script>

README

tsutil

NPM Version Build Status Coverage

TypeScript Utility Data Structures.

DataStructures

  • Optional A class representing the presence or absence of a value
  • Try A class representing a value or an error
  • Perishable An immutable reference that can notify subscribers when it becomes stale.

Installation

Install with npm

npm install tsutil --save

Contributing

Feel free to fork and submit pull requests for the code. Please follow the existing code as an example of style and make sure that all your code passes lint and test. For a sanity check

git clone git@github.com:Asana/tsutil.git
cd tsutil
npm install
npm run typings
npm test