# NPM | Sentry for Cloud Functions for Firebase

The npm package for Sentry offers several advantages for specific use cases:

* **Framework-specific features**: If you're using a framework like React or Vue, installing the corresponding Sentry SDK (e.g., `@sentry/react` or `@sentry/vue`) via npm provides framework-specific features and optimizations.

* **Full public API access**: The npm package exposes the complete set of Sentry's public APIs, allowing for more extensive customization and functionality.

* **Version control**: Installing via npm gives you full control over the SDK version, enabling you to manage updates and ensure compatibility with your project.

* **Build process integration**: Using the npm package allows for better integration with your build process and bundling tools.

```bash
npm install @sentry/browser --save
```
