threeal / google-rank

Retrieve the Google search ranking of your website for specific keywords

Home Page:https://www.npmjs.com/package/google-rank

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 to dist/index.js.
  • Moving functions related to the dist/google-rank.js binary to a new dist/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.