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

express-api-user-management-signup

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-api-user-management-signup - npm Package Compare versions

Comparing version 0.0.22 to 0.0.23

2

package.json
{
"name": "express-api-user-management-signup",
"version": "0.0.22",
"version": "0.0.23",
"description": "adds user frontend with login / registration features to your (express) application. Startingpoint for DIY api management",

@@ -5,0 +5,0 @@ "author": {

@@ -27,11 +27,8 @@ express-api-user-management-signup

Using the code below, it will add extra routes to your existing express app:
In your existing express-app, just put this above app.listen(....) :
var express = require("express");
var port = process.env.PORT || 8111
var host = process.env.HOST || "127.0.0.1"
var app = express();
require("./usermanagement.js");
//>>>>>>>>>>>> BEGIN OF CODE
where usermanagement.js looks something like this:
var config = {

@@ -61,9 +58,5 @@ webhook: {

}
require("coffee-script/register")
require('express-api-user-management-signup/lib')(app,express,webhookurl,requestdata,mongocfg)
module.parent.require("coffee-script/register")
module.parent.require('express-api-user-management-signup/lib')(app,express,config)
//<<<<<<<<<<<< END OF CODE
app.listen(....)
# Features:

@@ -70,0 +63,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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