New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@big-whale-labs/sc-email

Package Overview
Dependencies
Maintainers
9
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@big-whale-labs/sc-email

SealCred email templates

unpublished
latest
Source
npmnpm
Version
0.0.2
Version published
Weekly downloads
0
Maintainers
9
Weekly downloads
 
Created
Source

SealCred email template

Installation

yarn add @big-whale-labs/seal-cred-email or npm i @big-whale-labs/seal-cred-email

How to Use

import { token } from '@big-whale-labs/seal-cred-email'
import { createTransport } from 'nodemailer'
import env from '@/helpers/env'

const user = env.SMTP_USER
const pass = env.SMTP_PASS

const emailer = createTransport({
  host: 'box.mail.sealcred.xyz',
  port: 465,
  secure: true,
  auth: {
    user,
    pass,
  },
})

export default function (to: string, subject: string, html: string) {
  return emailer.sendMail({
    from: `"SealCred" <${user}>`,
    to,
    subject,
    html: token,
  })
}

Local launch

  • Install dependencies with yarn
  • Run the server with yarn start

Development in conjunction with another project

  • Run yarn link in the root folder, more about yarn link
  • Run develop mode with yarn start
  • In another project. Run yarn link @big-whale-labs/seal-cred-email
  • Nice! Your project will now use the local version of @big-whale-labs/seal-cred-email

Available scripts

  • yarn start — runs email templates in the development mode
  • yarn build — builds email templates for production to the dist folder
  • yarn release — create a release and publish the package using ci

Keywords

emails

FAQs

Package last updated on 28 Jun 2022

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