autohost

v3.0.1
Resource driven, transport agnostic host
http websockets resource transport

lint

eslint --fix ./

test:only

NODE_ENV=test mocha --exit -R spec 'spec/**/*.spec.js'

test:int

NODE_ENV=test mocha --exit -R spec 'spec/integration/**/*.spec.js'

test:ci

NODE_ENV=test mocha --exit -R spec 'spec/behavior/**/*.spec.js'

test:watch

nodemon --exec "NODE_ENV=test mocha --exit -R spec 'spec/**/*.spec.js' || true" -e js,json,sql

test

npm run cover

cover

nyc -r text-summary -r html -- npm run test:only

cover:ci

nyc -r text-summary -r html -- npm run test:ci

cover:show

open "file://$PWD/coverage/index.html"
npm i autohost

Metadata

  • MIT
  • Whatever
  • Alex Robson
  • released 11/2/2022

Downloads