Socket
Book a DemoInstallSign in
Socket

onesignalwrapper

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

onesignalwrapper

This is a NodeJS module for the Eco Transport Campus application. This module uses the One Signal REST API to send notification to devices.

1.0.6
latest
npmnpm
Version published
Weekly downloads
6
Maintainers
1
Weekly downloads
 
Created
Source

OneSignalWrapper

For the EcoTransportCampus Polytech's application

This is a NodeJS module for the Eco Transport Campus application. This module uses the One Signal REST API to send notification to devices.

A server using the One Signal SDK and Wrapper can be found in the example folder.

To install it :

Fetch the repo :

git clone https://github.com/amine1996/OneSignalWrapper
cd OneSignalWrapper
npm install

Or use npm :

npm i onesignalwrapper

Use the OneSignalWrapper.js file in your project

To generate doc (JSDoc) :

For public functions only :

jsdoc OneSignalWrapper.js

For all functions (including private functions) :

jsdoc --private OneSignalWrapper.js

To run the example on your server, first set your application id and authorization header in the ./example/data.js file then:

cd OneSignalWrapper
npm install
npm install socket.io
cd example
node myServ.js

Go to localhost:8080 in your browser.

Keywords

Polytech

FAQs

Package last updated on 20 May 2018

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.