{"_id":"express-pjax","_rev":"10-aee71fb24176d4794f5afea3b3c9ac0d","name":"express-pjax","description":"Express middleware for Pjax.","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"express-pjax","description":"Express middleware for Pjax.","version":"0.0.1","homepage":"http://github.com/dakatsuka/express-pjax","repository":{"type":"git","url":"git://github.com/dakatsuka/express-pjax.git"},"keywords":["express","pjax"],"author":{"name":"Dai Akatsuka","email":"d.akatsuka@gmail.com"},"bugs":{"url":"http://github.com/dakatsuka/express-pjax/issues"},"licenses":[{"type":"MIT","url":"http://github.com/dakatsuka/express-pjax/raw/master/MIT-LICENSE"}],"main":"./pjax.js","_npmUser":{"name":"d_akatsuka","email":"d.akatsuka@gmail.com"},"_id":"express-pjax@0.0.1","dependencies":{},"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.104","_nodeVersion":"v0.6.0","_defaultsLoaded":true,"dist":{"shasum":"6d9a7031dfbfcd6e899a11f9c685e8eb0f1bcebe","tarball":"https://registry.npmjs.org/express-pjax/-/express-pjax-0.0.1.tgz","integrity":"sha512-PJTpeWPB0VEnI609cJBNUUTgb1UB17Sl7hWeI3O1MR7xrgqNGc7aMUAz48CAY3YCtaADO7ZhOMjwINlz47UZxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDetdVQ05rNxvDhphoEw7pX08pjHspUZj+0iy8Nz9NKfAIhAJTWiiJ/eVYEUGcH+w+CD1Ic63131tt9kW3JAzt31MbG"}]},"maintainers":[{"name":"d_akatsuka","email":"d.akatsuka@gmail.com"}]}},"readme":"# express-pjax\n\nExpress middleware for Pjax.\n\n## Installation\n\n```\nnpm install express-pjax\n```\n\n## Usage\n\nIf you use `res.renderPjax` method, the request of pjax will be handled automatically.\n\n```javascript\nvar express = require('express');\nvar pjax    = require('express-pjax');\nvar app     = express.createServer();\n\napp.configure(function() {\n  app.use(pjax());\n  // -- snip --\n});\n\napp.get('/', function(req, res) {\n  res.renderPjax('index', { locals: { hello: \"Hello World!\" } });\n});\n\napp.get('/foo', function(req, res) {\n  res.renderPjax('foo');\n});\n```\n\n## TODO\n\n* Support redirect.\n\n## Copyright\n\nCopyright (C) 2011 Dai Akatsuka, released under the MIT License.\n","maintainers":[{"name":"d_akatsuka","email":"d.akatsuka@gmail.com"}],"time":{"modified":"2022-06-17T22:30:47.251Z","created":"2011-11-22T19:49:36.451Z","0.0.1":"2011-11-22T19:49:40.395Z"},"author":{"name":"Dai Akatsuka","email":"d.akatsuka@gmail.com"},"repository":{"type":"git","url":"git://github.com/dakatsuka/express-pjax.git"},"users":{"temasm":true,"karlbateman":true,"lionet":true}}