Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI Notify Node JS Client

This package is used by the CI Notify GitHub Action.

Installation

$ npm install -s @cinotify/js

Usage

const {email} = require("@cinotify/js");
const mime = require('mime');

email({
  to: 'example@example.com',
  subject: 'hello',
  body: 'hey there from js',
  attachments: [
    {
      content: Buffer.from("Hello, World!").toString('base64'),
      type: mime.getType("txt"),
      filename: "example.txt"
    }
  ]
})

Releases

Used by

Contributors

Languages