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

@fusengine/berserk-engine

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fusengine/berserk-engine

Berserk engine run start application

  • 1.5.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

alt Berserk

Berserk-engine use express to create simple framework.

engine()

To use berserk-engine use engine() which will contain the functions to read the configuration files, routes and your module array customize for your own application.

Exemple

const berserkEngine = require('@fusengine/berserk-engine')
// or 
const {engine} = require('@fusengine/berserk-engine')

engine(
    // my option
)

berserkUtils()

use customized console.log().

infoMessage('my message' or my var) Define info messages
successMessage('my message' or my var) Define success messages
errorMessage('my message' or my var) Define error messages

Exemple

const berserkEngine = require('@fusengine/berserk-engine')
// or
const {
    infoMessage,
    successMessage,
    errorMessage
    } = require('@fusengine/berserk-engine')

infoMessage(myVar or 'my message')
successMessage(myVar or 'my message')
errorMessage(myVar or 'my message')

Exemple

const {engine} = require('@fusengine/berserk-engine')

const myConfig = require('./myConfig')
const myModule1 = require('./myModule')
const myModule2 = require('./myModule')

/** exemple */
engine(
    myConfig,
    'Api',
    'Web',
    [
        myModule1,
        myModule2
    ]
)

engine(configFile, apiFile, webFile, [array require('')] )

If you want use berserk framework.

Keywords

FAQs

Package last updated on 19 Oct 2019

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

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