Socket
Socket
Sign inDemoInstall

karma-server

Package Overview
Dependencies
239
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    karma-server

Start a server based on Ynn.


Version published
Weekly downloads
99
decreased by-25.56%
Maintainers
1
Install size
17.9 MB
Created
Weekly downloads
 

Readme

Source

karma-server

Building a http server for testing easily. Based on Ynn;

Install

npm i --save-dev karma-server

Configuration

config.set( {
    frameworks : [ 'server' ],
    server : {
        namespace : 'S',
        root : 'test/server',
        static : 'test/server',
        modules : {
            home : './home'
        }
    }
} )

Code in test cases:

it( 'xx', () => {
    fetch( S.host );
} );

Keywords

FAQs

Last updated on 24 Sep 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc