From ce73499bc65e93f2e84d0f5a31d705f2e30ac1da Mon Sep 17 00:00:00 2001 From: Dan Zajdband Date: Thu, 21 Jun 2012 10:56:46 -0300 Subject: [PATCH] publish 0.0.1 --- .gitignore | 2 ++ .npmignore | 1 + example.js | 3 ++- package.json | 5 +++++ 4 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 .npmignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3cf66b0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +node_modules +example.js diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..a6cbb3c --- /dev/null +++ b/.npmignore @@ -0,0 +1 @@ +example.js diff --git a/example.js b/example.js index 57ea314..5f8efbd 100644 --- a/example.js +++ b/example.js @@ -1,7 +1,8 @@ var mdb = require('./lib/moviedb'); -var m = new mdb('yout api key'); +var m = new mdb('dc4940972c268b026150cf7be6f01d11'); m.searchMovie({query: 'alien'}, function(err, res){ + console.log(err); console.log(res); }); diff --git a/package.json b/package.json index cdd20bd..20a5961 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,11 @@ { "name" : "moviedb" + , "description" : "Library for interacting with themoviedb.com API" , "version" : "0.0.1" + , "keywords" : ["themoviedb","api"] + , "directories" : { "lib" : "./lib" } + , "main" : "index.js" + , "author" : "Dan Zajdband " , "dependencies" : { "superagent" : "0.4.x" }