UNPKG
system
Version:
latest (2.0.1)
2.0.1
2.0.0
1.3.0
1.2.1
1.2.0
1.1.1
1.1.0
1.0.6
1.0.5
1.0.4
1.0.2
1.0.1
1.0.0
0.1.0
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Flexible module and resource system
github.com/gutentags/system
gutentags/system
system
/
test
/
redirect-patterns
/
program.js
5 lines
(4 loc)
•
164 B
JavaScript
View Raw
1
2
3
4
5
var test =
require
(
"test"
); test.
assert
(
require
.lookup(
"bar.foo"
).id ===
"foo-bar"
); test.
assert
(
require
(
"bar.foo"
) ===
"Hello, Foo!"
); test.
print
(
"DONE"
,
"info"
);