THIS PLUGIN CURRENT NOT SUPPORT EXPORT DEFAULT

**INSTALLATION:**
```npm install --dev @autogenerate-export/core```

```yarn add --dev @autogenerate-export/core```

**EXAMPLE CODE:**
```
const path = require("path");

const { recursiveGenerateExportFile } = require("@autogenerate-export/core");

recursiveGenerateExportFile({
  rootDirectory: path.resolve(__dirname, "./target"),
  fileExts: ["ts"],
  generatedFileExt: "ts",
  exclude: []
});
```


**INTRODUCTION:**
This's a core package of Auto-Generate-Re-export-File package. This package provides core functionalities such as generateRexportFile of a specified folder.

Two primary exported APIs was: recursiveGenerateExportFile and generateExportFile.

The CLI package is located at: [CLI PACKAGE](https://www.npmjs.com/package/@autogen-export/cli)

**USAGE:**
```
export interface RecursiveGenerateReexportIndex {
  rootDirectory: string;
  fileExts?: string[];
  stripFileExts?: string[];
  generatedFileExt?: string;
  exclude?: RegExp[];
  babelConfigPath?: string;
  ignoreDirectory?: boolean
}
```

**PARAMETERS:**
-  **rootDirectory**:string  Directory to start  generating re-export file
-   **exclude**: Folders whose name matched these regexes will be ignored when generating re-export file
-   **generatedFileExt**: Extension of generate re-exort file
-   **fileExts**: file extensions will be parsed (Re-export if It's 
-   **babelConfigPath**: babel config path that will be used by babel core to parse It's syntanx. Not required
-   **stripFileExts**: file which extensions is specified in the list will be strip
-   **ignoreDirectory**: folder/directory will be skipped while parsing 

**MY MEDIUM POST:**
[recursively-export-file-pattern-in-javascript-es6-application](https://medium.com/@phmngocnghia/recursively-export-file-pattern-in-javascript-es6-application-e56319de49af)

**EXAMPLE:**
* All executable examples is placed in an example folder.
* I have also create a example folder. Inited and installed `@autogen-export/core` to demonstrate how it's work: https://github.com/phmngocnghia/AutoGenerateReExportFile/tree/master/examples/core
* Just run npm scripts: `run:example` or `run:example-recursive`
