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

axejs

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axejs

es6 express framework

latest
Source
npmnpm
Version
1.0.4
Version published
Weekly downloads
8
166.67%
Maintainers
1
Weekly downloads
 
Created
Source

axejs

Installation

npm install axejs

use

var path = require('path');
var axejs = require('axejs');
axejs.init({
    'root': path.join(__dirname, '../'),
    'name': 'axe test',
    'host': '127.0.0.1',
    'port': 7000,
    'session options': {},
    'session store': 'redis',
    'compression': true,
    'trust proxy': true,
    'view engine': 'jade',
    'view pretty': true,
    'view cache': false,
    'locals': {
        title: 'axe'
    },
    'favicon': 'src/public/static/favicon.ico',
    'static': ['public'],
    'body parser': '50mb',
    'middleware path': ['src/server/middleware/common/**/*.js']
});

axejs.set('debug', true);
axejs.set('views', 'src/public/views');
axejs.set('controller path', 'src/server/controller');

axejs.set('babel options', {log: true});
axejs.set('compile', true);
axejs.set('source Path', 'src/server');
axejs.set('output Path', 'output');
axejs.compile();

axejs.start();

controller or router

export default function(router){
    router.get('/', (req, res) => {
        return res.render('index');
    });
    return router;
};

Keywords

axejs

FAQs

Package last updated on 23 May 2016

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