collect-exports
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

collect-exports

NPM version

Sponsors

use

runtime(ESM, CJS)

ESM

const exports =  await getExportsRuntime("vue");

exports === ["ref", "KeepAlive", ...]

CJS

const exports =  await getExportsRuntime("react");

exports === ["Children","Component","Fragment","Profiler","PureComponent",...];

static (ESM, CJS)

const exports = await getExportsStatic("vue");

exports === ["ref", "KeepAlive", ...]

本插件是根据anthony Fu的视频实现, 本插件只为自己记录用

视频地址

源包地址

License

MIT License © 2022 daly-dai

Readme

Keywords

none

Package Sidebar

Install

npm i collect-exports

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

112 kB

Total Files

11

Last publish

Collaborators

  • dalydai