{"author":{"name":"Mark Cavage","email":"mcavage@gmail.com"},"contributors":[{"name":"Pedro Calazon"},{"name":"Ben Howes"},{"name":"Trent Mick"},{"name":"Falco Nogatz"},{"name":"Isaac Schlueter"},{"name":"Matt Smillie"},{"name":"Diego Torres"}],"name":"restify","homepage":"http://mcavage.github.com/node-restify","description":"REST framework","version":"1.0.0-1-rc2","publishConfig":{"tag":"beta"},"repository":{"type":"git","url":"git://github.com/mcavage/node-restify.git"},"main":"lib/index.js","directories":{"bin":"./bin","lib":"./lib"},"engines":{"node":">=0.6"},"dependencies":{"async":"0.1.15","dtrace-provider":"0.0.5","http-signature":"0.9.7","mime":"1.2.4","node-uuid":"1.2.0","retry":"0.5.0","sprintf":"0.1.1","semver":"1.0.12"},"devDependencies":{"filed":"0.0.5","tap":"0.2.0"},"scripts":{"test":"./node_modules/.bin/tap ./tst/*.test.js"},"_npmUser":{"name":"mcavage","email":"mcavage@gmail.com"},"_id":"restify@1.0.0-1-rc2","_engineSupported":true,"_npmVersion":"1.1.0-beta-4","_nodeVersion":"v0.6.6","_defaultsLoaded":true,"bin":{},"dist":{"shasum":"9b191f827c5defad2ac6642f033b275562cdb7d8","tarball":"http://registry-npm.ywwl.com/restify/download/restify-1.0.0-1-rc2.tgz","integrity":"sha512-m7GTvj49BAXB68XhAlMnFZFQ28auspbSxjEC7SScBym5jWdKtHiW07KI2edUv4ct6V4OgNWo1i9PovyGWLpFnQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTAwDgglgEJRqLKXKUem2oCKwqONfjnscaBb8RDJAaaAIhAJShCWuxjgEPuxKv2o/wyjEwhaywhkxu5VsqGf4Yq2tz"}],"size":46986,"noattachment":false,"key":"/restify/-/restify-1.0.0-1-rc2.tgz"},"maintainers":[{"name":"mcavage","email":"mcavage@gmail.com"}],"readme":"<!-- Please don't remove this: Grab your social icons from https://github.com/carlsednaoui/gitsocial -->\n\n<!-- display the social media buttons in your README -->\n\n[![alt text][1.1]][1]\n\n\n<!-- links to social media icons -->\n<!-- no need to change these -->\n\n<!-- icons with padding -->\n\n[1.1]: http://i.imgur.com/tXSoThF.png (twitter icon with padding)\n\n<!-- icons without padding -->\n\n[1.2]: http://i.imgur.com/wWzX9uB.png (twitter icon without padding)\n\n\n<!-- links to your social media accounts -->\n<!-- update these accordingly -->\n\n[1]: http://www.twitter.com/restifyjs\n\n<!-- Please don't remove this: Grab your social icons from https://github.com/carlsednaoui/gitsocial -->\n\n![restify](/../gh-images/logo/png/restify_logo_black_transp_288x288.png?raw=true \"restify\")\n\n[![Build Status](https://travis-ci.org/restify/node-restify.svg?branch=master)](https://travis-ci.org/restify/node-restify)\n[![Dependency Status](https://david-dm.org/restify/node-restify.svg)](https://david-dm.org/restify/node-restify)\n[![devDependency Status](https://david-dm.org/restify/node-restify/dev-status.svg)](https://david-dm.org/restify/node-restify#info=devDependencies)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n\n[restify](http://restify.com) is a framework, utilizing\n[connect](https://github.com/senchalabs/connect) style middleware for building\nREST APIs.  For full details, see http://restify.com\n\nFollow restify on [![alt text][1.2]][1]\n\n# Usage\n\n## Server\n```javascript\nvar restify = require('restify');\n\nconst server = restify.createServer({\n  name: 'myapp',\n  version: '1.0.0'\n});\n\nserver.use(restify.plugins.acceptParser(server.acceptable));\nserver.use(restify.plugins.queryParser());\nserver.use(restify.plugins.bodyParser());\n\nserver.get('/echo/:name', function (req, res, next) {\n  res.send(req.params);\n  return next();\n});\n\nserver.listen(8080, function () {\n  console.log('%s listening at %s', server.name, server.url);\n});\n```\n\n## Client\n```javascript\nvar assert = require('assert');\nvar clients = require('restify-clients');\n\nvar client = clients.createJsonClient({\n  url: 'http://localhost:8080',\n  version: '~1.0'\n});\n\nclient.get('/echo/mark', function (err, req, res, obj) {\n  assert.ifError(err);\n  console.log('Server returned: %j', obj);\n});\n```\n\n# Installation\n```bash\n$ npm install restify\n```\n\n## Supported Node Versions\n\nRestify currently works on Node.js v22.x, v24.x and v26.x.\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2018 restify\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n## Bugs\n\nSee <https://github.com/restify/node-restify/issues>.\n\n## Other repositories\n\n- For the errors module, please go [here](https://github.com/restify/errors).\n\n\n## Mailing list\n\nSee the\n[Google group](https://groups.google.com/forum/?hl=en&fromgroups#!forum/restify)\n.\n","publish_time":1328302005533,"_cnpm_publish_time":1328302005533,"dist-tags":{"9-latest":"9.1.0","beta":"5.0.0-beta-8.0","latest":"12.1.0","latest-4":"4.3.4","next":"9.0.0-rc.3","rc":"12.0.0-rc.0"}}