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

@rexfng/send

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rexfng/send - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

README.md

3

package.json
{
"name": "@rexfng/send",
"version": "1.0.0",
"version": "1.0.1",
"description": "send email with restful api",

@@ -12,2 +12,3 @@ "main": "index.js",

"dependencies": {
"body-parser": "^1.18.3",
"express": "^4.16.4",

@@ -14,0 +15,0 @@ "express-throttle": "^2.0.0",

const express = require('express')
const router = express.Router()
const throttle = require("express-throttle");
const bodyParser = require('body-parser')
const jsonParser = bodyParser.json()
const email = require('../../helpers/email')
router.post('/email', throttle({ "rate": "10/s" }), function(req,res){
router.post('/email', jsonParser, function(req,res){
(async function(){

@@ -8,0 +9,0 @@ try{

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