Skip to content

Commit

Permalink
chore: initial checkin
Browse files Browse the repository at this point in the history
  • Loading branch information
arlac77 committed May 6, 2016
0 parents commit 17d6e78
Show file tree
Hide file tree
Showing 7 changed files with 165 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
coverage
node_modules
build
dist
out
*.log
*.dump
.DS_Store
.nyc_output
.test
.tmp
15 changes: 15 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
coverage
node_modules
build
doc
*.log
*.tmp
.DS_Store
.test
.tmp
.gitignore
.npmrc
.travis.yml
.npmignore
.vscode
SUMMARY.md
25 changes: 25 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
language: node_js
node_js:
- 6
sudo: false
branches:
only:
- master
cache:
directories:
- node_modules
notifications:
email:
- torstenlink@gmx.de
- markus.felten@gmx.de
before_install:
- npm i -g npm@latest
before_script:
- npm prune
- npm install -g codecov
script:
- npm run-script cover
after_script:
- codecov
after_success:
- npm run semantic-release
23 changes: 23 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Copyright (c) 2016, darlenya & arlac77
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39 changes: 39 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
[![npm](https://img.shields.io/npm/v/kronos-interceptor-decode-json.svg)](https://www.npmjs.com/package/kronos-interceptor-decode-json)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/Kronos-Integration/kronos-interceptor-decode-json)
[![Build Status](https://secure.travis-ci.org/Kronos-Integration/kronos-interceptor-decode-json.png)](http://travis-ci.org/Kronos-Integration/kronos-interceptor-decode-json)
[![bithound](https://www.bithound.io/github/Kronos-Integration/kronos-interceptor-decode-json/badges/score.svg)](https://www.bithound.io/github/Kronos-Integration/kronos-interceptor-decode-json)
[![codecov.io](http://codecov.io/github/Kronos-Integration/kronos-interceptor-decode-json/coverage.svg?branch=master)](http://codecov.io/github/Kronos-Integration/kronos-interceptor-decode-json?branch=master)
[![Code Climate](https://codeclimate.com/github/Kronos-Integration/kronos-interceptor-decode-json/badges/gpa.svg)](https://codeclimate.com/github/Kronos-Integration/kronos-interceptor-decode-json)
[![GitHub Issues](https://img.shields.io/github/issues/Kronos-Integration/kronos-interceptor-decode-json.svg?style=flat-square)](https://github.com/Kronos-Integration/kronos-interceptor-decode-json/issues)
[![Dependency Status](https://david-dm.org/Kronos-Integration/kronos-interceptor-decode-json.svg)](https://david-dm.org/Kronos-Integration/kronos-interceptor-decode-json)
[![devDependency Status](https://david-dm.org/Kronos-Integration/kronos-interceptor-decode-json/dev-status.svg)](https://david-dm.org/Kronos-Integration/kronos-interceptor-decode-json#info=devDependencies)
[![docs](http://inch-ci.org/github/Kronos-Integration/kronos-interceptor-decode-json.svg?branch=master)](http://inch-ci.org/github/Kronos-Integration/kronos-interceptor-decode-json)
[![downloads](http://img.shields.io/npm/dm/kronos-interceptor-decode-json.svg?style=flat-square)](https://npmjs.org/package/kronos-interceptor-decode-json)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)


kronos-interceptor
=====
introspects / modifies requests as they pass between endpoints

```javascript

interceptor1.connected = interceptor2

promise = interceptor1.receive(request);
```


install
=======

With [npm](http://npmjs.org) do:

```shell
npm install kronos-interceptor
```

license
=======

BSD-2-Clause
4 changes: 4 additions & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Summary

* [index](doc/index.md)
* [readme](README.md)
48 changes: 48 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"name": "kronos-interceptor-decode-json",
"version": "0.0.0-semantic-release",
"description": "decodes json streams into objects",
"keywords": [
"kronos-interceptor"
],
"scripts": {
"cover": "node ./node_modules/istanbul/lib/cli.js cover --hook-run-in-context ./node_modules/mocha/bin/_mocha -- --R spec --U exports tests/*_test.js",
"doc": "jsdoc lib/*.js",
"test": "mocha tests/*_test.js",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
"type": "git",
"url": "https://github.com/Kronos-Integration/kronos-interceptor-decode-json.git"
},
"bugs": {
"url": "https://github.com/Kronos-Integration/kronos-interceptor-decode-json/issues"
},
"homepage": "https://github.com/Kronos-Integration/kronos-interceptor-decode-json#readme",
"devDependencies": {
"chai": "3.5.0",
"cz-conventional-changelog": "1.1.6",
"istanbul": "0.4.3",
"jsdoc": "3.4.0",
"kronos-test-interceptor": "^2.0.3",
"loglevel-mixin": "1.4.0",
"mocha": "2.4.5",
"semantic-release": "6.2.1"
},
"contributors": [{
"name": "Torsten Link",
"email": "torstenlink@gmx.de"
}, {
"name": "Markus Felten",
"email": "markus.felten@gmx.de"
}],
"license": "BSD-2-Clause",
"engines": {
"node": ">=6"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}

0 comments on commit 17d6e78

Please sign in to comment.