Export Library Functions
threeal opened this issue · comments
This issue suggests exporting specific functions from the package to make them accessible for other projects. To achieve this, the proposal involves restructuring the project and separating the context for the library and the binary. The changes will include:
- Creating a
dist/index.js
file as the primary entry point for the package. - Exporting most functions from
dist/utils/google.js
todist/index.js
. - Moving functions related to the
dist/google-rank.js
binary to a newdist/internal
directory.
By making these modifications, the library's functions will be available for external usage, enabling other projects to benefit from the functionalities provided by this package.