publish 0.0.1

This commit is contained in:
Dan Zajdband
2012-06-21 10:56:46 -03:00
parent 6704f819a0
commit ce73499bc6
4 changed files with 10 additions and 1 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
node_modules
example.js

1
.npmignore Normal file
View File

@@ -0,0 +1 @@
example.js

View File

@@ -1,7 +1,8 @@
var mdb = require('./lib/moviedb'); var mdb = require('./lib/moviedb');
var m = new mdb('yout api key'); var m = new mdb('dc4940972c268b026150cf7be6f01d11');
m.searchMovie({query: 'alien'}, function(err, res){ m.searchMovie({query: 'alien'}, function(err, res){
console.log(err);
console.log(res); console.log(res);
}); });

View File

@@ -1,6 +1,11 @@
{ {
"name" : "moviedb" "name" : "moviedb"
, "description" : "Library for interacting with themoviedb.com API"
, "version" : "0.0.1" , "version" : "0.0.1"
, "keywords" : ["themoviedb","api"]
, "directories" : { "lib" : "./lib" }
, "main" : "index.js"
, "author" : "Dan Zajdband <dan.zajdband@gmail.com>"
, "dependencies" : { , "dependencies" : {
"superagent" : "0.4.x" "superagent" : "0.4.x"
} }