Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@coolgk/email

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coolgk/email - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

4

email.d.ts
/*!
* @package @coolgk/utils
* @version 1.0.8
* @version 1.0.9
* @link https://www.npmjs.com/package/@coolgk/utils

@@ -9,3 +9,3 @@ * @license MIT

import mimeTypes = require('mime-types');
import { stripTags } from './string';
import { stripTags } from '@coolgk/string';
export interface IEmailConfig {

@@ -12,0 +12,0 @@ readonly host: string;

/*!
* @package @coolgk/utils
* @version 1.0.8
* @version 1.0.9
* @link https://www.npmjs.com/package/@coolgk/utils

@@ -13,3 +13,3 @@ * @license MIT

const path_1 = require("path");
const string_1 = require("./string");
const string_1 = require("@coolgk/string");
class Email {

@@ -16,0 +16,0 @@ constructor(options = { host: 'localhost' }) {

@@ -1,1 +0,1 @@

{"name":"@coolgk/email","version":"1.0.8","author":"Daniel Gong <daniel.k.gong@gmail.com>","homepage":"https://www.npmjs.com/package/@coolgk/utils","bugs":{"url":"https://github.com/coolgk/utils/issues"},"repository":{"type":"git","url":"https://github.com/coolgk/utils.git"},"description":"email sender","keywords":["email sender","smtp sender","typescript"],"dependencies":{"mime-types":"^2.1.17","emailjs":"^1.0.12"},"pre-commit":{"silent":false,"run":["test:precommit","tslint"]},"main":"./email.js","types":"./email.d.ts","license":"MIT"}
{"name":"@coolgk/email","version":"1.0.9","author":"Daniel Gong <daniel.k.gong@gmail.com>","homepage":"https://www.npmjs.com/package/@coolgk/utils","bugs":{"url":"https://github.com/coolgk/utils/issues"},"repository":{"type":"git","url":"https://github.com/coolgk/utils.git"},"description":"a email sender wrapper class","keywords":["email","smtp sender","typescript"],"dependencies":{"mime-types":"^2.1.17","emailjs":"^1.0.12","@coolgk/string":"^1.0.8"},"pre-commit":{"silent":false,"run":["test:precommit","tslint"]},"main":"./email.js","types":"./email.d.ts","license":"MIT"}

@@ -7,3 +7,3 @@

email sender
a email sender wrapper class
## Examples

@@ -66,3 +66,2 @@ ```javascript

| options | <code>object</code> | | |
| [options.stripTags] | <code>function</code> | | ./stripTags.js |
| [options.user] | <code>string</code> | | username for logging into smtp |

@@ -81,2 +80,3 @@ | [options.password] | <code>string</code> | | password for logging into smtp |

**Kind**: instance method of [<code>Email</code>](#Email)
**Returns**: <code>promise</code> - - message sent

@@ -83,0 +83,0 @@ | Param | Type | Description |

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc