
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
@micro-sentry/angular
Advanced tools
[](https://npmjs.com/package/@micro-sentry/angular) [](https://bundlephobia.com/result?p=@micro-sentry/c
@micro-sentry is a tiny sentry client to monitor your applications without raising your bundle size.
👜 It is small. So, it is at most 1.9 KB size instead of 22.5 KB by default client but has all the essential functionality
🛠 It is easy to set up. There is a lightweight wrapper for Angular and a browser tool for other frameworks or vanilla.
Angular:
Micro-sentry version | Angular version |
---|---|
>= 6 | >= 14 |
>= 5 | >= 13 |
>= 4 | >= 12 |
>= 3 | >= 11 |
>= 2 | >= 10 |
npm i @micro-sentry/angular
Other:
npm i @micro-sentry/browser
You can use provide api in standalone applications:
import { provideMicroSentry } from '@micro-sentry/angular';
bootstrapApplication(AppComponent, {
providers: [
provideMicroSentry({
dsn: 'https://kj12kj1n23@sentry.domain.com/123',
}),
],
});
Or add it into app.module.ts
of your application:
import { MicroSentryModule } from '@micro-sentry/angular';
@NgModule({
imports: [
// option 1: via provide
provideMicroSentry({
dsn: 'https://kj12kj1n23@sentry.domain.com/123',
}),
// options 2: via module
MicroSentryModule.forRoot({
dsn: 'https://kj12kj1n23@sentry.domain.com/123',
}),
],
})
export class AppModule {}
If you do not use Angular framework, you can install @micro-sentry/browser
module to create client manually.
const client = new BrowserMicroSentryClient({
dsn: 'https://kj12kj1n23@sentry.domain.com/123',
});
try {
// your app code
} catch (e) {
client.report(e);
}
![]() Igor Katsuba |
![]() Roman Sedov |
🆓 Feel free to use our library in your commercial and private applications
All micro-sentry packages are covered by Apache 2.0
Read more about this license here
FAQs
[](https://npmjs.com/package/@micro-sentry/angular)
The npm package @micro-sentry/angular receives a total of 1,599 weekly downloads. As such, @micro-sentry/angular popularity was classified as popular.
We found that @micro-sentry/angular demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.