UNPKG
stitchscript
Version:
latest (1.0.1)
1.0.1
1.0.0
Text based parser for Discord bots.
github.com/Soumil07/stitchscript
Soumil07/stitchscript
stitchscript
/
src
/
renderers
/
index.js
9 lines
(6 loc)
•
185 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
const
{ readdirSync } =
require
(
'fs'
);
for
(
const
file
of
readdirSync
(
`
${__dirname}
/`
)) {
for
(
const
[k, v]
of
Object
.
entries
(
require
(
`./
${file}
`
))) {
exports
[k] = v; } }