@nicolawealth/resolved_promise
v0.0.3
Published
 , simplifying asynchronous operations.
Installation
This package should be installed via npm. You must have npm installed first. The following can be run on the commandline to install the resolved_promise package with npm:
npm install @nicolawealth/resolved_promise
Interface
This package exports the object resolvedPromise with the following properties, all of which are promises resolved with specific values:
resolvedPromise.void: a promise which resolves withvoidresolvedPromise.undefined: a promise which resolves withundefinedresolvedPromise.true: a promise which resolves withtrueresolvedPromise.false: a promise which resolves withfalse
Testing
Tests can be found in resolved_promise.test.ts located in resolved_promise/src and should be run with sinon, mocha and nyc.
