Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
hakanensari committed Feb 3, 2012
0 parents commit 3734375
Show file tree
Hide file tree
Showing 11 changed files with 92 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
Empty file added .npmignore
Empty file.
20 changes: 20 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Copyright (c) 2012 Hakan Ensari <hakan.ensari@papercavalier.com>

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Vacuum

![vacuum] [1]

## Description

Vacuum is a Node.js wrapper to the [Amazon Product Advertising API]
[2].

## Usage

This project is a stub as I dab my toes in Node.js waters.

[1]: http://f.cl.ly/items/3s1S402E0v3j1g2A3O0R/vacuum.png
[2]: https://affiliate-program.amazon.co.uk/gp/advertising/api/detail/main.html
Empty file added examples/empty
Empty file.
3 changes: 3 additions & 0 deletions lib/vacuum/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require('coffee-script');

module.exports = require('./request');
4 changes: 4 additions & 0 deletions lib/vacuum/request.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
class Request
constructor: ->

module.exports = Request
4 changes: 4 additions & 0 deletions lib/vacuum/response.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
class Response
constructor: ->

module.exports = Response
34 changes: 34 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"name":"Vacuum",
"description":"A Node.js wrapper to the Amazon Product Advertising API",
"version":"0.0.1",
"homepage":"http://github.com/hakanensari/vacuum-js",
"author":"Hakan Ensari <hakan.ensari@papercavalier.com>",
"main":"./lib/vacuum",
"directories": {
"lib":"./lib/vacuum"
},
"bugs": {
"mail":"hakan.ensari@papercavalier.com",
"url":"http://github.com/hakanensari/vacuum/issues"
},
"repository": {
"type":"git",
"url":"git://github.com/hakanensari/vacuum.git"
},
"dependencies":{
"coffee-script":"*"
},
"devDependencies":{
"jasmine-node":"*"
},
"engines":{
"node":">= 0.4.0"
},
"licenses":[
{
"type":"MIT",
"url":"https://raw.github.com/hakanensari/vacuum-js/master/LICENSE"
}
]
}
6 changes: 6 additions & 0 deletions spec/vacuum-spec.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Vacuum = require '../lib/vacuum'

describe 'Vacuum', ->
it 'returns a request', ->
req = new Vacuum
expect(typeof req).toBe 'object'
5 changes: 5 additions & 0 deletions spec/vacuum/response-spec.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Response = require '../../lib/vacuum/response'

describe 'Response', ->
it 'is true', ->
expect(true).toBeTruthy()

0 comments on commit 3734375

Please sign in to comment.