package
REST framework
npm install restifyGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Latest published Oct 23, 2026
latest
9-latest
next

restify is a framework, utilizing connect style middleware for building REST APIs. For full details, see http://restify.com
var restify = require('restify');
const server = restify.createServer({
name: 'myapp',
version: '1.0.0'
});
server.use(restify.plugins.acceptParser(server.acceptable));
server.use(restify.plugins.queryParser());
server.use(restify.plugins.bodyParser());
server.get('/echo/:name', function (req, res, next) {
res.send(req.params);
return next();
});
server.listen(8080, function
var assert = require('assert');
var clients = require('restify-clients');
var client = clients.createJsonClient({
url: 'http://localhost:8080',
version: '~1.0'
});
client.get('/echo/mark', function (err, req, res, obj) {
assert.ifError(err);
console.log('Server returned: %j', obj);
});$ npm install restifyRestify currently works on Node.js v22.x, v24.x and v26.x.
The MIT License (MIT)
Copyright (c) 2018 restify
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
See https://github.com/restify/node-restify/issues.
See the Google group .
ghermeto
gui.hermeto@gmail.com
pfmooney
pmooney@pfmooney.com
hekike
email@martonpeter.com
mcavage
mcavage@gmail.com
yunong
yjxiao@gmail.com
jgilli
jgilli@fastmail.fm
donutespresso
donutespresso@gmail.com
rajatkumar
rajatkumartx@gmail.com
daviande
danderso@gmail.com
barb_the_builder
npm@netflix.com
danderso
t-dander@hotmail.com
joeyharrington
dev@harrington.pizza
Estimated unpacked size across 64 packages.
15.0 MB+
Includes dependencies.
^7.3.8
7.8.6
^2.2.0
2.2.1
^3.0.2
4.1.0
^7.14.1
11.5.3
^1.2.1
3.5.4
^0.6.2
1.1.0
^1.0.0
1.0.0
^9.6.0
9.10.1
^1.3.6
1.4.0
^8.0.2
9.0.1
^1.0.2
1.0.2