# industry-standard-io

> Adds [StandardIO](https://github.com/invrs/standard-io) compliance to factory methods.

Latest version **0.9.0** (published 2016-06-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install industry-standard-io
pnpm add industry-standard-io
yarn add industry-standard-io
bun add industry-standard-io
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.9.0 |
| Published | 2016-06-11 |
| First published | 2016-03-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Winton Welsh |
| Maintainers | winton |

## Links

- npm: https://www.npmjs.com/package/industry-standard-io
- Repository: https://github.com/invrs/industry-standard-io
- Homepage: https://github.com/invrs/industry-standard-io#readme
- Issues: https://github.com/invrs/industry-standard-io/issues
- npm.io page: https://npm.io/package/industry-standard-io

## Dependencies (2)

- [standard-io](https://npm.io/package/standard-io.md) *
- [babel-runtime](https://npm.io/package/babel-runtime.md) *

## Recent versions

- 0.9.0 (latest) — 2016-06-11
- 0.8.0 — 2016-06-11
- 0.7.0 — 2016-06-11
- 0.6.0 — 2016-06-10
- 0.5.0 — 2016-06-10
- 0.4.1 — 2016-05-29
- 0.4.0 — 2016-04-25
- 0.3.0 — 2016-04-11
- 0.2.2 — 2016-04-08
- 0.2.1 — 2016-04-07
- 0.2.0 — 2016-04-06
- 0.1.12 — 2016-03-30
- 0.1.11 — 2016-03-28
- 0.1.10 — 2016-03-28
- 0.1.9 — 2016-03-28
- … 18 more at https://npm.io/package/industry-standard-io/versions

## README

# IndustryStandardIO [![Build Status](https://travis-ci.org/invrs/industry-standard-io.svg?branch=master)](https://travis-ci.org/invrs/industry-standard-io)

Adds [StandardIO](https://github.com/invrs/standard-io) compliance to factory methods.

## Requirements

This extension must be paired with [Functions](https://github.com/invrs/industry-functions).

## Usage

```js
import { factory } from "industry"
import { instance } from "industry-instance"
import { functions } from "industry-functions"
import { standard_io } from "industry-standard-io"

class Test {
  hello(args) {
    args // { a: 1, b: 2, args: { a: 1, b: 2 }, _args: [ "world" ] }
    return true
  }
}

let test = factory(Test)
  .set("instance", instance)
  .set("functions", functions)
  .set("standard_io", standard_io)

test().hello("world", { a: 1 }, { b: 2 }).then((value) => {
  value // true
})
```

---
_Source: https://npm.io/package/industry-standard-io · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
