README
react-izon-core
Analyze Dependency of React Component with AST obtained from @babel/parser
Install
Install with npm
Analyze React Component dependencies from AST
<script type="module">
import reactIzonCore from 'https://cdn.skypack.dev/react-izon-core';
</script>
Analyze Dependency of React Component with AST obtained from @babel/parser
Install with npm
gt; npm install react-izon-core
Install with yarn
gt; yarn add react-izon-core
import { DependencyChecker } from "react-izon-core"
const checker = new DependencyChecker( analyze_file_path, event => {
if(event.type === "done"){
const { dependencies } = event;
// something
}
})
checker.check()