p10-notifications

0.5.0 • Public • Published

Notification SDK

Description

Notification SDK provides apis to receive, dismiss notifications.

How to Use

This SDK can be used in React as well as javascript applications, however to use sdk in any of the two environment you need to configure webpack.

NON-REACT applications

For simple javascript applications, configure webpack output as follows:

  • configure webpack output as follows
    output:{
        path:'./',
        filename: 'notifications.js',
        libraryTarget: 'var',
        library: 'notifications'
    }
  • Run webpack command from terminal.
  • Use notifications.js file in you application.

REACT applications

For simple javascript applications, configure webpack output as follows:

  • configure webpack output as follows
    output:{
        path:'./',
        filename: 'notifications.js',
        libraryTarget: 'commonjs2',
        library: 'notifications'
    }
  • Run webpack command from terminal.
  • Install in the requried application as npm install "path-to-the-folder"

Readme

Keywords

none

Package Sidebar

Install

npm i p10-notifications

Weekly Downloads

0

Version

0.5.0

License

ISC

Unpacked Size

74.1 kB

Total Files

8

Last publish

Collaborators

  • jagannath_bitpod