@flarelane/flarelane-web-sdk
Version:
FlareLane Web SDK
36 lines (22 loc) • 649 B
Markdown
Web SDK for FlareLane service.
Flarelane lets you build and operate app push and web push with just a few lines of code.
This is free and unlimited sending.
[](https://flarelane.com)
**A FlareLane account is required to use the service.**
```bash
npm install --save @flarelane-web-sdk
```
```typescript
// React, Next.js Example
import FlareLane from '@flarelane/flarelane-web-sdk';
...
FlareLane.setLogLevel('verbose');
FlareLane.setConvertedHandler((notification) => {
// do somthing...
});
await FlareLane.initialize({ projectId: 'projectId' });
...
```