0.4.0 • Published 9 years ago

industry-functions v0.4.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

IndustryFunctions Build Status

Retrieve factory instance and class methods.

Usage

import { factory } from "industry"
import { instance } from "industry-instance"
import { functions } from "industry-functions"

class Test {
  hello() {}
  static world() {}
}

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

test().functions()             // { 'hello' => [Function: hello] }
test().constructor.functions() // { 'world' => [Function: world] }
0.4.0

9 years ago

0.3.0

9 years ago

0.2.4

9 years ago

0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago