Skip to content

Commit

Permalink
Merge pull request #39 from spdy-http2/feat/level-up
Browse files Browse the repository at this point in the history
feat: level up in a couple of things
  • Loading branch information
daviddias authored Jan 30, 2017
2 parents 0bc7033 + f887e37 commit faa0e09
Show file tree
Hide file tree
Showing 40 changed files with 5,078 additions and 5,113 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/
.vimrc
npm-debug.log
**.log
coverage
46 changes: 0 additions & 46 deletions .jscsrc

This file was deleted.

89 changes: 0 additions & 89 deletions .jshintrc

This file was deleted.

13 changes: 11 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
language: node_js
sudo: false

language: node_js

node_js:
- "0.10"
- "0.12"
- "iojs"
- "4"
- "6"
- "stable"

script:
- npm run lint
- npm test
- npm run coverage
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# spdy-transport
[![Build Status](https://secure.travis-ci.org/indutny/spdy-transport.png)](http://travis-ci.org/indutny/spdy-transport)

[![Build Status](https://travis-ci.org/spdy-http2/spdy-transport.svg?branch=master)](http://travis-ci.org/spdy-http2/spdy-transport)
[![NPM version](https://badge.fury.io/js/spdy-transport.svg)](http://badge.fury.io/js/spdy-transport)
[![dependencies Status](https://david-dm.org/spdy-http2/spdy-transport/status.svg?style=flat-square)](https://david-dm.org/spdy-http2/spdy-transport)
[![Standard - JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square)](http://standardjs.com/)
[![Waffle](https://img.shields.io/badge/track-waffle-blue.svg?style=flat-square)](https://waffle.io/spdy-http2/node-spdy)

SPDY/HTTP2 generic transport implementation.
> SPDY/HTTP2 generic transport implementation.
## Usage

Expand Down
24 changes: 12 additions & 12 deletions lib/spdy-transport.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
'use strict';
'use strict'

var transport = exports;
var transport = exports

// Exports utils
transport.utils = require('./spdy-transport/utils');
transport.utils = require('./spdy-transport/utils')

// Export parser&framer
transport.protocol = {};
transport.protocol.base = require('./spdy-transport/protocol/base');
transport.protocol.spdy = require('./spdy-transport/protocol/spdy');
transport.protocol.http2 = require('./spdy-transport/protocol/http2');
transport.protocol = {}
transport.protocol.base = require('./spdy-transport/protocol/base')
transport.protocol.spdy = require('./spdy-transport/protocol/spdy')
transport.protocol.http2 = require('./spdy-transport/protocol/http2')

// Window
transport.Window = require('./spdy-transport/window');
transport.Window = require('./spdy-transport/window')

// Priority Tree
transport.Priority = require('./spdy-transport/priority');
transport.Priority = require('./spdy-transport/priority')

// Export Connection and Stream
transport.Stream = require('./spdy-transport/stream').Stream;
transport.Connection = require('./spdy-transport/connection').Connection;
transport.Stream = require('./spdy-transport/stream').Stream
transport.Connection = require('./spdy-transport/connection').Connection

// Just for `transport.connection.create()`
transport.connection = transport.Connection;
transport.connection = transport.Connection
Loading

0 comments on commit faa0e09

Please sign in to comment.