{"_id":"connect-force-domain","_rev":"25-91968b5c20cc784c6723035a8c749b5f","name":"connect-force-domain","description":"Connect Middleware to force visitors onto a single domain","dist-tags":{"latest":"0.1.3"},"versions":{"0.0.1":{"name":"connect-force-domain","description":"Force all visitors onto a single domain","main":"./index","author":{"name":"George Ornbo"},"version":"0.0.1","repository":{"type":"git","url":"https://github.com/shapeshed/connect-force-domain.git"},"bugs":{"url":"https://github.com/shapeshed/connect-force-domain/issues"},"licenses":[{"type":"MIT","url":"https://github.com/shapeshed/connect-force-domain/raw/master/LICENSE"}],"_id":"connect-force-domain@0.0.1","engines":{"node":"*"},"_nodeSupported":true,"_npmVersion":"0.2.11-5","_nodeVersion":"v0.2.6","dist":{"shasum":"002254ca6c49b91a2776b40b6fe7552df6578fc1","tarball":"https://registry.npmjs.org/connect-force-domain/-/connect-force-domain-0.0.1.tgz","integrity":"sha512-vZgvpAspKJOUt5bu5F/S+WqaNjJSTYqECclWskOgGiktLx95IAFuAjslmJQpwIKEP/OXlV/mck+wRZrfaKxoCw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG/fDXxVuxGJwuRUMLKLhXqVWi28iO196KzRMBsUj6DXAiAoT5l0XI2RMB+QDfjqQD+zxAWmbslHmxs/9nxSAXwWvw=="}]},"directories":{}},"0.0.2":{"name":"connect-force-domain","description":"Force all visitors onto a single domain","keywords":["no-www","rack","middleware","connect"],"main":"./index","author":{"name":"George Ornbo","email":"george@shapeshed.com","url":"http://shapeshed.com"},"version":"0.0.2","repository":{"type":"git","url":"https://github.com/shapeshed/connect-force-domain.git"},"bugs":{"url":"https://github.com/shapeshed/connect-force-domain/issues"},"licenses":[{"type":"MIT","url":"https://github.com/shapeshed/connect-force-domain/raw/master/LICENSE"}],"_id":"connect-force-domain@0.0.2","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"0.2.18","_nodeVersion":"v0.4.0","directories":{"lib":"./lib"},"files":[""],"_defaultsLoaded":true,"dist":{"shasum":"60059e12a8689b409e1a5f69e6d8552ce5e28d9b","tarball":"https://registry.npmjs.org/connect-force-domain/-/connect-force-domain-0.0.2.tgz","integrity":"sha512-9H0icnOm9AVek8VFPzo1rr5ag+ID2651jxBuhhZWNOFhFU4NtTH7oDZKZKHOxYr5ieKhedgNKA0uze9Y0XR4Dg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG15RE6lpQereaxPA4Atk8+09sq2CsGiM6bQM0Jp40wqAiAUYp/pKmy4TnkgVeJROiL0nCOsfkNxZiVM9Sx8mqbvNA=="}]}},"0.0.3":{"name":"connect-force-domain","description":"Force all visitors onto a single domain","keywords":["no-www","rack","middleware","connect"],"main":"./index","author":{"name":"George Ornbo","email":"george@shapeshed.com","url":"http://shapeshed.com"},"version":"0.0.3","repository":{"type":"git","url":"git://github.com/shapeshed/connect-force-domain.git"},"devDependencies":{"expresso":">=0.9.0","connect":">=1.7.3"},"bugs":{"url":"https://github.com/shapeshed/connect-force-domain/issues"},"scripts":{"test":"expresso"},"licenses":[{"type":"MIT","url":"https://github.com/shapeshed/connect-force-domain/raw/master/LICENSE"}],"_npmUser":{"name":"shapeshed","email":"george@shapeshed.com"},"_id":"connect-force-domain@0.0.3","dependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.6.1","_defaultsLoaded":true,"dist":{"shasum":"c9ffddacab5cf45cfcf09ca750516e1f9dd853c8","tarball":"https://registry.npmjs.org/connect-force-domain/-/connect-force-domain-0.0.3.tgz","integrity":"sha512-/oBSNBa23V/ecJMv7V+pRDANLtcn+LMMRRx4HOGWU9n4egAaCcx8MxlwZ02KrSY6AWYntYnsJsRbqgZyViVZjQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDrmSosijqOvMln1Har2gk3CaUCVS4orIPAlcpRih92AIgKYUgyvTJegtTO+ARuvwlHi3NCcGFNRS7pK/vNJtt6Q4="}]},"maintainers":[{"name":"shapeshed","email":"george@shapeshed.com"}]},"0.1.0":{"name":"connect-force-domain","description":"Force all visitors onto a single domain","keywords":["no-www","rack","middleware","connect"],"main":"./index","author":{"name":"George Ornbo","email":"george@shapeshed.com","url":"http://shapeshed.com"},"version":"0.1.0","engines":{"node":">= 0.5.0 < 0.7.0"},"repository":{"type":"git","url":"git://github.com/shapeshed/connect-force-domain.git"},"devDependencies":{"mocha":">=0.14.1","connect":">=2.0.0"},"bugs":{"url":"https://github.com/shapeshed/connect-force-domain/issues"},"scripts":{"test":"make test"},"licenses":[{"type":"MIT","url":"https://github.com/shapeshed/connect-force-domain/raw/master/LICENSE"}],"_npmUser":{"name":"shapeshed","email":"george@shapeshed.com"},"_id":"connect-force-domain@0.1.0","dependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-2","_nodeVersion":"v0.6.12","_defaultsLoaded":true,"dist":{"shasum":"88e8650572f90a097c3a1d7da3ad8021df38f280","tarball":"https://registry.npmjs.org/connect-force-domain/-/connect-force-domain-0.1.0.tgz","integrity":"sha512-Uj2C1IKA0gJJDu5SBqLHGBfHANmnOhEn8p8vbn+niN8qfY/mHdva+rPhd7lVRADzeCyU1xZ4lAt3WanQPKtkcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwlZYuKu7LL/IPgchQjHtFN1KpPLqmcyCvDSoFNJbz/QIgLD+RvvqkK5vWnYXr3UcDKe0tzmqE107zQ5hc4F3T7f0="}]},"readme":"# Connect Force Domain\n\n[![Build Status](https://secure.travis-ci.org/shapeshed/connect-force-domain.png)](http://travis-ci.org/shapeshed/connect-force-domain)\n\nInspired by [Rack::ForceDomain][1] it directs all traffic to a single domain with a 301 redirect.\n\nThis is useful where you are hosting your [node][2] site with a PaaS provide like [Joyent][3] or [Nodester][4] and want to ensure all visitors are on the same domain.\n\n## Installation\n\nvia [npm][6]\n\n    npm install connect-force-domain\n\n## Usage\n\nFor [connect][7]\n\n    var connect = require('connect')\n      , http = require('http')\n      , forceDomain = require('connect-force-domain');\n\n    var app = connect()\n      .use(forceDomain('shapeshed.com'))\n     \n    http.Server(app).listen(3000);\n\nFor [express][8]\n\n    var express = require('express')\n      , forceDomain = require('connect-force-domain');\n\n    var app = module.exports = express.createServer();\n\n    app.configure(function(){\n      app.use(forceDomain('shapeshed.com');\n    });\n\n    app.listen(3000);\n\n[1]: https://github.com/cwninja/rack-force_domain \n[2]: http://nodejs.org/\n[3]: https://no.de/\n[4]: http://nodester.com/\n[5]: http://bejes.us/\n[6]: https://github.com/isaacs/npm\n[7]: https://github.com/senchalabs/connect/\n[8]: http://expressjs.com/\n","maintainers":[{"name":"shapeshed","email":"george@shapeshed.com"}]},"0.0.4":{"name":"connect-force-domain","description":"Force all visitors onto a single domain","keywords":["no-www","rack","middleware","connect"],"main":"./lib/connect-force-domain","author":{"name":"George Ornbo","email":"george@shapeshed.com","url":"http://shapeshed.com"},"version":"0.0.4","engines":{"node":">= 0.5.0 < 0.7.0"},"repository":{"type":"git","url":"https://github.com/shapeshed/connect-force-domain.git"},"devDependencies":{"mocha":">=0.14.1","connect":">=2.0.0"},"bugs":{"url":"https://github.com/shapeshed/connect-force-domain/issues"},"scripts":{"test":"./node_modules/.bin/mocha"},"licenses":[{"type":"MIT","url":"https://github.com/shapeshed/connect-force-domain/raw/master/LICENSE"}],"readme":"# Connect Force Domain\n\n[![Build Status](https://secure.travis-ci.org/shapeshed/connect-force-domain.png)](http://travis-ci.org/shapeshed/connect-force-domain)\n\nInspired by [Rack::ForceDomain][1] it directs all traffic to a single domain with a 301 redirect.\n\nThis is useful where you are hosting your [node][2] site with a PaaS provide like [Joyent][3] or [Nodester][4] and want to ensure all visitors are on the same domain.\n\n## Installation\n\nvia [npm][6]\n\n    npm install connect-force-domain\n\n## Usage\n\nFor [connect][7]\n\n    var connect = require('connect'),\n        http = require('http'),\n        forceDomain = require('connect-force-domain');\n\n    var app = connect()\n      .use(forceDomain('shapeshed.com'))\n     \n    http.Server(app).listen(3000);\n\nFor [express][8]\n\n    var express = require('express'),\n        forceDomain = require('connect-force-domain');\n\n    var app = module.exports = express.createServer();\n\n    app.configure(function(){\n      app.use(forceDomain('shapeshed.com');\n    });\n\n    app.listen(3000);\n\n[1]: https://github.com/cwninja/rack-force_domain \n[2]: http://nodejs.org/\n[3]: https://no.de/\n[4]: http://nodester.com/\n[5]: http://bejes.us/\n[6]: https://github.com/isaacs/npm\n[7]: https://github.com/senchalabs/connect/\n[8]: http://expressjs.com/\n","_id":"connect-force-domain@0.0.4","dist":{"shasum":"2a9a75d6b7f58e2f5046fee2742ffea3add316b1","tarball":"https://registry.npmjs.org/connect-force-domain/-/connect-force-domain-0.0.4.tgz","integrity":"sha512-fYL7dqSV11YOY3oaGj4qn2WrehwaOQrAJzxZu7RnRuUpPm9Sxhcj34QLJI8zvbIotqy8rnRs3h6jsVhlKYZizA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBG4PijnYLO5h6K7VUj0tC3tfHTOELJrxr8/NFZvZFWGAiEAjvBIv8ozSu4aa04QlXhqcYyoL3YE94bxsva3WgjbR+o="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"shapeshed","email":"george@shapeshed.com"},"maintainers":[{"name":"shapeshed","email":"george@shapeshed.com"}]},"0.1.2":{"name":"connect-force-domain","author":{"name":"George Ornbo","email":"george@shapeshed.com","url":"http://shapeshed.com"},"version":"0.1.2","main":"./lib/connect-force-domain","repository":{"type":"git","url":"https://github.com/shapeshed/connect-force-domain.git"},"engines":{"node":"*"},"devDependencies":{"mocha":"1.8.1","grunt":"0.4.0","grunt-contrib-jshint":"0.2.0","grunt-mocha-test":"0.2.0","grunt-contrib-watch":"0.3.1","connect":">=2.0.0"},"scripts":{"test":"grunt --stack build"},"bugs":{"url":"https://github.com/shapeshed/connect-force-domain/issues"},"licenses":[{"type":"MIT","url":"https://github.com/shapeshed/connect-force-domain/raw/master/LICENSE"}],"readme":"# Connect Force Domain\n\n[![Build Status](https://secure.travis-ci.org/shapeshed/connect-force-domain.png)](http://travis-ci.org/shapeshed/connect-force-domain)\n\nInspired by [Rack::ForceDomain][1] it directs all traffic to a single domain with a 301 redirect.\n\nThis is useful where you are hosting your [node][2] site with a PaaS provide like [Joyent][3] or [Nodester][4] and want to ensure all visitors are on the same domain.\n\n## Installation\n\nvia [npm][6]\n\n    npm install connect-force-domain\n\n## Usage\n\nFor [connect][7]\n\n    var connect = require('connect'),\n        http = require('http'),\n        forceDomain = require('connect-force-domain');\n\n    var app = connect()\n      .use(forceDomain('shapeshed.com'))\n     \n    http.Server(app).listen(3000);\n\nFor [express][8]\n\n    var express = require('express'),\n        forceDomain = require('connect-force-domain');\n\n    var app = module.exports = express.createServer();\n\n    app.configure(function(){\n      app.use(forceDomain('shapeshed.com');\n    });\n\n    app.listen(3000);\n\n[1]: https://github.com/cwninja/rack-force_domain \n[2]: http://nodejs.org/\n[3]: https://no.de/\n[4]: http://nodester.com/\n[5]: http://bejes.us/\n[6]: https://github.com/isaacs/npm\n[7]: https://github.com/senchalabs/connect/\n[8]: http://expressjs.com/\n","readmeFilename":"README.md","_id":"connect-force-domain@0.1.2","description":"[![Build Status](https://secure.travis-ci.org/shapeshed/connect-force-domain.png)](http://travis-ci.org/shapeshed/connect-force-domain)","dist":{"shasum":"d27958f71dffcd56bf0b53837260496d6e5f8abd","tarball":"https://registry.npmjs.org/connect-force-domain/-/connect-force-domain-0.1.2.tgz","integrity":"sha512-/RuuqkvyenmafcLtyNjZZ/YGEqQV/n9D59EJbZPAQsl0d/Du9D9rTB/FYmIIIjyCjSG/pKUju2cfroVvWys5Cw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJztfL0IfmviiG5h3aICcXETyZVgwbog+fEkZ+AKutqQIhAIOrkJvWjvBefbPiiAw4jkxFsaS6Wq0MZEn6Tr1U99AV"}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"shapeshed","email":"george@shapeshed.com"},"maintainers":[{"name":"shapeshed","email":"george@shapeshed.com"}]},"0.1.3":{"name":"connect-force-domain","author":{"name":"George Ornbo","email":"george@shapeshed.com","url":"http://shapeshed.com"},"description":"Connect Middleware to force visitors onto a single domain","version":"0.1.3","main":"./lib/connect-force-domain","repository":{"type":"git","url":"https://github.com/shapeshed/connect-force-domain.git"},"engines":{"node":"*"},"devDependencies":{"mocha":"1.8.1","grunt":"0.4.0","grunt-contrib-jshint":"0.2.0","grunt-mocha-test":"0.2.0","grunt-contrib-watch":"0.3.1","connect":">=2.0.0"},"scripts":{"test":"grunt --stack build"},"bugs":{"url":"https://github.com/shapeshed/connect-force-domain/issues"},"licenses":[{"type":"MIT","url":"https://github.com/shapeshed/connect-force-domain/raw/master/LICENSE"}],"readme":"# Connect Force Domain\n\n[![Build Status](https://secure.travis-ci.org/shapeshed/connect-force-domain.png)](http://travis-ci.org/shapeshed/connect-force-domain)\n\nInspired by [Rack::ForceDomain][1] it directs all traffic to a single domain with a 301 redirect.\n\nThis is useful where you are hosting your [node][2] site with a PaaS provide like [Joyent][3] or [Nodester][4] and want to ensure all visitors are on the same domain.\n\n## Installation\n\nvia [npm][6]\n\n    npm install connect-force-domain\n\n## Usage\n\nFor [connect][7]\n\n    var connect = require('connect'),\n        http = require('http'),\n        forceDomain = require('connect-force-domain');\n\n    var app = connect()\n      .use(forceDomain('shapeshed.com'))\n     \n    http.Server(app).listen(3000);\n\nFor [express][8]\n\n    var express = require('express'),\n        forceDomain = require('connect-force-domain');\n\n    var app = module.exports = express.createServer();\n\n    app.configure(function(){\n      app.use(forceDomain('shapeshed.com');\n    });\n\n    app.listen(3000);\n\n[1]: https://github.com/cwninja/rack-force_domain \n[2]: http://nodejs.org/\n[3]: https://no.de/\n[4]: http://nodester.com/\n[5]: http://bejes.us/\n[6]: https://github.com/isaacs/npm\n[7]: https://github.com/senchalabs/connect/\n[8]: http://expressjs.com/\n","readmeFilename":"README.md","_id":"connect-force-domain@0.1.3","dist":{"shasum":"952596aa0fdbac091ebb56c4eabfd57f8e4065b1","tarball":"https://registry.npmjs.org/connect-force-domain/-/connect-force-domain-0.1.3.tgz","integrity":"sha512-siEot4fD7OqZqMlsEla3GnOg9GYY1zEHOP0vz4kh/5YnasmSTuOGd9OpXUmNeBijSfst8Aiwx4NcXSRfziNF6Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzBJf2Xv+uy9TKYbIbVWYjvlNa5iITqjeX+yq1qSzZnQIhALKC/9f/YH9wD57W5GDMbqX6OIS2EVOs5jLou+hWi8kR"}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"shapeshed","email":"george@shapeshed.com"},"maintainers":[{"name":"shapeshed","email":"george@shapeshed.com"}]}},"maintainers":[{"name":"shapeshed","email":"george@shapeshed.com"}],"time":{"modified":"2022-06-13T21:30:18.597Z","created":"2011-02-13T20:16:40.215Z","0.0.1":"2011-02-13T20:16:40.635Z","0.0.2":"2011-02-17T09:59:55.431Z","0.0.3":"2011-11-17T17:17:32.961Z","0.1.0":"2012-03-07T09:38:44.062Z","0.0.4":"2012-09-16T20:54:16.178Z","0.1.2":"2013-03-13T19:13:10.571Z","0.1.3":"2013-03-13T20:18:03.559Z"},"author":{"name":"George Ornbo","email":"george@shapeshed.com","url":"http://shapeshed.com"},"repository":{"type":"git","url":"https://github.com/shapeshed/connect-force-domain.git"}}