UNPKG
systemic
Version:
latest (4.1.2)
4.1.2
4.1.1
4.1.0
4.0.2
4.0.1
4.0.0
3.3.10
3.3.9
3.3.7
3.3.6
3.3.5
3.3.2
3.3.1
3.3.0
3.2.0
3.1.2
3.1.1
3.1.0
3.0.0
2.2.0
2.1.0
2.0.0
1.3.3
1.3.2
1.3.1
1.3.0
1.2.3
1.2.2
1.2.1
1.2.0
1.1.2
1.1.1
1.1.0
1.0.0
0.8.0
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.3
0.1.2
0.1.1
A minimal dependency injection library for node
guidesmiths.github.io/systemic/
guidesmiths/systemic
systemic
/
examples
/
bootstrapped
/
system.js
6 lines
(4 loc)
•
194 B
JavaScript
View Raw
1
2
3
4
5
6
const
Systemic
=
require
(
'../..'
);
const
path =
require
(
'path'
);
const
components = path.
join
(__dirname,
'components'
);
module
.
exports
=
() =>
Systemic
({
name
:
'main'
}).
bootstrap
(components);