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.3.4 to 1.3.5

2

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

@@ -5,0 +5,0 @@ "main": "index.js",

const express = require('express')
const router = express.Router()
const bodyParser = require('body-parser')
const urlencodedParser = bodyParser.urlencoded()
const DB = require('@rexfng/db')

@@ -9,6 +8,5 @@ const MongoDB = new DB()

router.post('/', urlencodedParser, function(req,res){
router.post('/', express.urlencoded({extended: true}), function(req,res){
(async function(){
try{
console.log(req.body)
let webhookResponse = await MongoDB.create("twilio-webhook", req.body)

@@ -15,0 +13,0 @@ res.status(200).send(webhookResponse)

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