0.4.1 • Published 6 years ago

@davidahouse/lynn v0.4.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

@davidahouse/lynn

npm (scoped) npm bundle size (minified)

Install

$ npm install --save lynn

Usage

const LynnRunner = require('lynn')

const request = {
  'options': {
    'protocol': 'http:',
    'method': 'GET',
    'host': '${this.HOST}',
    'port': '${this.PORT}',
    'path': '/query',
  },
}

const environment = {
  'HOST': 'somehost.domain.com',
  'PORT': 80
}

const runner = new LynnRunner(request, environment)
runner.execute(function(result) {
  // result contains statusCode, headers, data and possibly error
}
0.4.1

6 years ago

0.4.0

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago