@toreda/action-result
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

@toreda/action-result

Toreda

CI Coverage Quality Gate Status

Simple interface return a result and details or context about the result.

Install

With yarn (preferred): yarn add @toreda/action-result

With NPM: npm install @toreda/action-result

Usage

Library Usage

Typescript

import {ActionResult} from '@toreda/action-result';

Node

const ARConfig = require('@toreda/action-result');

Build

Build (or rebuild) the config package:

With Yarn (preferred):

yarn install
yarn build

With NPM:

npm install
npm run-script build

Testing

Config implements unit tests using jest. Run the following commands from the directory where config has been installed.

With yarn (preferred):

yarn install
yarn test

With NPM:

npm install
npm run-script test

License

MIT © Toreda, Inc.

Readme

Keywords

none

Package Sidebar

Install

npm i @toreda/action-result

Weekly Downloads

0

Version

0.3.0

License

MIT

Unpacked Size

25 kB

Total Files

30

Last publish

Collaborators

  • mbrich
  • saxan