Setup and integrations
Using npm packages
Add drag-and-drop, charts, animations, and other advanced features by integrating npm packages.
While Startbase can build sophisticated UIs from scratch, npm packages let you add battle-tested functionality in seconds: drag-and-drop, rich text editors, chart libraries, and more.
How to use npm packages
Simply reference the package name in your prompt and describe how you want to use it. Startbase will install it and wire it into your project.
Use the @hello-pangea/dnd npm package to add
drag-and-drop to my Kanban board. Users should
be able to add cards, move them between columns,
and reorder within a column.Evaluating package quality
Not all packages are created equal. Before integrating a third-party dependency, look for these signals:
- High weekly download count on npmjs.com, indicating community trust.
- Recent commits and releases; a maintained package is less likely to have unpatched vulnerabilities.
- Active issue tracker with responsive maintainers who fix bugs and answer questions.
- Good documentation that saves you from guessing how the API works.
Startbase cannot guarantee the quality of third-party packages. Always test new dependencies thoroughly in your project before going live. Cloud → Security can audit them for known vulnerabilities.