Skip to content

[Feature Request] minimal installation - optionally drop large libraries such as plotly #389

Open
@yeus

Description

@yeus

Is your feature request related to a problem? Please describe.
danfojs is too large to include it in PWA/SPA applications. It would help if we could at least exclude some of the large dependencies. Or make danfojs modular so that we don't have to import the entire library at once. Similar to lodash.

Describe the solution you'd like
Somehow decrease the size in order to make danfojs more usable in client-side applications ;). Best case would be a modular library similar to lodash's solution.

Describe alternatives you've considered
Doing the calculations serverside. But there are some huge advantages of doing calculations client-side, among them are configurability and especially (as in my use case) privacy regulations which can be circumenvented by doing calculations client-side.

Additional context
I have uploaded a small analysis of my SPA. danfojs is responsible for tensorflow and plotly, mathjs, xlsx packages and several other packages. It would be great

image

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions