Thanks to visit codestin.com
Credit goes to github.com

Skip to content

driescroons/pling-express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”” Pling express example

This is the official pling express example. Checkout the official package.

πŸ‘‰ Implementation

Implemeting it is quite easy. First install it.

yarn add pling

Import the package:

const notify = require("pling");

Copy and paste the following where you'd like to log something:

await notify({
    key: process.env.PLING_API_KEY,
    title: "Pling from the package!",
    description: "πŸ‘‹ πŸ‘‹ πŸ‘‹ πŸ‘‹"
});

Please make sure to set your PLING_API_KEY environment variable. In Node, you can do so by doing the following:

process.env[PLING_API_KEY] = "YOUR_API_KEY";

About

This is the official pling express example.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published