Files
cdnjs/node_modules/node-hipchat/package.json
T
2014-07-17 01:32:32 +08:00

51 lines
2.1 KiB
JSON

{
"name": "node-hipchat",
"version": "0.4.5",
"description": "HipChat API library for node.js",
"main": "lib/hipchat.js",
"licenses": [
{
"type": "BSD",
"url": "http://www.opensource.org/licenses/bsd-license.php"
}
],
"maintainers": [
{
"name": "Nate Kohari",
"email": "nkohari@gmail.com",
"url": "http://nate.io/"
}
],
"contributors": [
{
"name": "Dan Rumney",
"email": "dancrumb@gmail.com",
"url": "http://dancrumb.com/"
},
{
"name": "Sergey Balbeko",
"email": "sergey@balbeko.com"
}
],
"repository": {
"type": "git",
"url": "http://github.com/nkohari/node-hipchat.git"
},
"scripts": {
"prepublish": "./node_modules/.bin/coffee --compile --output lib src/*.coffee"
},
"devDependencies": {
"coffee-script": "1.7.x"
},
"dependencies": {
"underscore": "1.6.0"
},
"readme": "Summary\n=======\nA simple node.js library for communicating with the [HipChat](http://hipchat.com/) REST API.\nSupports full Hipchat API\n\nYou can also install via npm:\n\n\tnpm install node-hipchat\n\n\nMethods implemented:\n====================\n\n`rooms/create` \n`rooms/delete` \n`rooms/history` \n`rooms/list` \n`rooms/message` \n`rooms/show` \n \n`users/create` \n`users/delete` \n`users/list` \n`users/show` \n`users/update` \n\n\n# Examples\n\nFirst make sure you have an [Admin API Key](https://www.hipchat.com/admin/api).\n\n## Send a message to a room\n\n var hipchat = require('node-hipchat');\n\n var HC = new hipchat('YOUR_API_KEY');\n\n HC.listRooms(function(data) {\n console.log(data); // These are all the rooms\n });\n\n var params = {\n room: 123456, // Found in the JSON response from the call above\n from: 'FunkyMonkey',\n message: 'Some HTML <strong>formatted</strong> string',\n color: 'yellow'\n };\n\n HC.postMessage(params, function(data) {\n // Message has been sent!\n });\n",
"readmeFilename": "README.md",
"bugs": {
"url": "https://github.com/nkohari/node-hipchat/issues"
},
"_id": "node-hipchat@0.4.5",
"_from": "node-hipchat@~0.4"
}