Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including tsutil with all npm packages installed. Try it out:

var tsutil = require("tsutil")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

tsutil v6.1.1

TypeScript Utility Data Structures

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
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free