Skip to content

Commit

Permalink
added npm package.json file
Browse files Browse the repository at this point in the history
  • Loading branch information
roncioso committed Jan 10, 2011
1 parent 6893db1 commit c6820f7
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
5 changes: 3 additions & 2 deletions lib/main.js
Expand Up @@ -114,7 +114,8 @@ SpotifyMeta.prototype.search = function(q, cb){
"track": null,
"album": null
},
self = this;
self = this,
cb = cb || function(){};

for(var i=0;i<fields.length;i++){
(function(f){
Expand All @@ -131,4 +132,4 @@ SpotifyMeta.prototype.search = function(q, cb){

}

module.exports.SpotifyMetadata = new SpotifyMeta();
module.exports = new SpotifyMeta();
15 changes: 15 additions & 0 deletions package.json
@@ -0,0 +1,15 @@
{
"name": "spotify-metadata",
"version": "0.0.1",
"description": "Spotify metadata lookup and search. Works with Spotify and http uris",
"keywords": ["spotify", "spotify metadata", "lookup", "search"],
"author": {
"name": "Luca Manno",
"email": "luca@smashup.it",
"url": "http://i.smashup.it"
},
"main": "lib/main",
"dependencies": {
"request": ">=0.10.0"
}
}
2 changes: 1 addition & 1 deletion test/test.js
@@ -1,4 +1,4 @@
var spotify = require("../lib/main").SpotifyMetadata,
var spotify = require("../lib/main"),
vows = require('vows'),
assert = require('assert');

Expand Down

0 comments on commit c6820f7

Please sign in to comment.