Skip to content
This repository has been archived by the owner on Jan 2, 2020. It is now read-only.

Commit

Permalink
0.0.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
intabulas committed Mar 8, 2012
1 parent 716d2b2 commit bc21447
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#About

[restify-plugins](https://github.com/intabulas/restify-plugins) is a set of experimental plugins for [restify](http://mcavage.github.com/node-restify) that places our opinions ontop of restify's in the areas we disagree on
[restful-versioning](https://github.com/intabulas/restful-versioning) is a set of experimental plugins for [restify](http://mcavage.github.com/node-restify) that places our opinions ontop of restify's in the areas we disagree on

Currently there is not much here, and in fact all that is here now is a test to extract an API version from a **Accept** header param for our custom mime-type. It simply extracts it and sets **X-API-Version** accordingly. We have some others comming like an alternate accept parsers that will support custom content types (ie: application/vnd. etc)

# Installation

since we havent put this into the npm registry yet, you can add it to your package.json as a depedency using the http git url

"restify-plugins": "git://github.com/intabulas/restify-plugins.git"
$ npm install restful-versioning

## License

Expand All @@ -35,4 +35,4 @@ SOFTWARE.

## Bugs

See <https://github.com/intabulas/restify-plugins/issues>.
See <https://github.com/intabulas/restful-versioning/issues>.
12 changes: 10 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
{
"name" : "restful-versioning",
"version" : "0.0.1",
"description" : "Restify middleware that will extract the API version from the Accept header",
"description" : "restify middleware that will extract the API version from the Accept header",
"main": "lib/index.js",
"directories": {
"lib": "./lib"
},
"repository" : "git://github.com/intabulas/restify-plugins.git"
"repository" : {
"type": "git",
"url": "git://github.com/intabulas/restful-versioning.git"
},
"license": "MIT",
"engine": {
"node": ">= 0.4"
}

}

0 comments on commit bc21447

Please sign in to comment.