0.1.16 • Published 3 years ago
getntified v0.1.16
getntified
A JavaScript client library for the Get Ntified platform.
Installation
npm install --save getntified
Get Started (NPM)
- Create a new application
- Add the
getntified
package to your project.npm install --save getntified
- Add this code to your service worker.
https://cdn.jsdelivr.net/npm/getntified/web/other/service-worker.js
Get Started (CDN)
- Create a new application
- Add the
getntified
script to your project.<script src="https://cdn.jsdelivr.net/npm/getntified/web/index.js"><script>
- Add this code to your service worker.
https://cdn.jsdelivr.net/npm/getntified/web/other/service-worker.js
Subscription Client API
import { SubscriptionClient } from 'getntified';
const subscriptionClient = new SubscriptionClient('application-id');
await subscriptionClient.subscribe();
// Optional
await subscriptionClient.setMeta({
emailAddress: 'ricky.prescott@example.com',
fullName: 'Ricky Prescott',
});
Notification Client API
import { NotificationClient } from 'getntified';
const notificationClient = new NotificationClient('application-id');
await notificationClient.sendSimple(
'Monday',
'Morning {{ fullName }}, heavy rain from this morning through the late night. You should take your umbrella today.',
'https://example.com',
);
Author
License
This project is licensed under the MIT license. See the LICENSE file for more info.
0.1.16
3 years ago
0.1.13
3 years ago
0.1.14
3 years ago
0.1.12
3 years ago
0.1.11
3 years ago
0.1.10
3 years ago
0.1.9
3 years ago
0.1.8
3 years ago
0.1.7
3 years ago
0.1.6
3 years ago
0.1.5
3 years ago
0.1.4
3 years ago
0.1.2
3 years ago
0.1.3
3 years ago
0.1.1
3 years ago
0.1.0
3 years ago
0.0.28
3 years ago
0.0.29
3 years ago
0.0.27
3 years ago
0.0.26
3 years ago
0.0.25
3 years ago
0.0.24
3 years ago
0.0.23
3 years ago
0.0.22
3 years ago
0.0.21
3 years ago
0.0.20
3 years ago
0.0.19
3 years ago
0.0.18
3 years ago
0.0.16
4 years ago
0.0.17
4 years ago
0.0.15
4 years ago
0.0.14
4 years ago
0.0.12
4 years ago
0.0.13
4 years ago
0.0.10
4 years ago
0.0.11
4 years ago
0.0.9
4 years ago
0.0.8
4 years ago
0.0.7
4 years ago
0.0.6
4 years ago
0.0.5
4 years ago
0.0.4
4 years ago
0.0.3
4 years ago
0.0.2
4 years ago
0.0.1
4 years ago