industry-functions
0.4.0 • Public • Published IndustryFunctions
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()
test().constructor.functions()
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads