1.0.18 • Published 6 years ago

@shopup/utils v1.0.18

Weekly downloads
-
License
-
Repository
-
Last release
6 years ago

Utils

directoryImporter

Utils for importing all the exported modules from the specified directory

ArgumentsTypeDescription
folderPathstringThe full path of the directory you want to import the files
excludestring[]A list of filenames you want to be excluded from the import process.
Usage
    // index.ts
    import { directoryImporter } from '@shopup/utils';

    export default directoryImporter(__dirname,['index.ts']);
1.0.18

6 years ago

1.0.17

7 years ago

1.0.15

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago