Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

create-drachtio-app

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-drachtio-app

Scaffold a drachtio application

latest
Source
npmnpm
Version
0.0.16
Version published
Maintainers
1
Created
Source

create-drachtio-app CI

Usage: npx create-drachtio-app [options] project-name

Options:
  -h, --help                        display help for command
  -m, --media                       include the drachtio-fsmrf package for media control
  -r, --request-types <methods...>  list the SIP request types to handle, or 'all' (default: ["invite"])
  -t, --test                        generate a docker-based test suite
  -v, --version                     display the current version

Example:

Scaffold an application that wants to handle INVITEs and REGISTERs, with a test suite and with media control support

  $ npx create-drachtio-app -m -t -r invite register my-app

Creating a new drachtio app in /Users/perpich/test/my-app

  $ cd my-app
  $ npm test

  starting docker network..

    ✔ docker network is up

  sip tests

    ✔ invite test passes
    ✔ register test passes

  stopping docker network..

  total:     3
  passing:   3
  duration:  7.3s

FAQs

Package last updated on 20 Feb 2021

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