{"_id":"express-webapp-host","_rev":"31-5e9644dadfbe28f222c001cb0f2d9fa1","name":"express-webapp-host","description":"express middleware to rewrite a html web apps base tag in the index html. This is useful for serving web apps (like angular) from different base urls.","dist-tags":{"latest":"0.2.4"},"versions":{"0.1.1":{"name":"express-webapp-host","version":"0.1.1","description":"express middleware to rewrite a html web apps base tag in the index html. This is useful for serving web apps (like angular) from different base urls.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/matthiasg/express-webapp-host.git"},"keywords":["express","middleware","webapp"],"author":{"name":"Matthias Goetzke"},"license":"BSD","readmeFilename":"README.md","gitHead":"03fc76388cb7d38bde6e8fa4dcd872c6ff2944bd","dependencies":{"express":"~3.1.1","underscore":"~1.4.4","trumpet":"~0.3.1"},"devDependencies":{"express":"~3.1.1"},"readme":"express-webapp-host\n===================\n\nSimple express middleware to host a static directory under a deeper url by rewriting the webapps index.html base tag\n\n## index.html\n\nThe index.html base tag must be present.\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8888/' />\n    <title>My App</title>\n\nIt will be rewritten to the actual base path. Using the express example below when access via localhost it would rewrite it to:\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8080/url/to/app/' />\n    <title>My App</title>\n\nAll url in the app should be relative paths.\n\n## usage with express\n\n    var webAppHost = require('express-webapp-host');\n    var express = require('express');\n    var app = express();\n\n    app.use('/url/to/app/', webAppHost.webApp('./path/to/app/on/disk'));\n    app.listen(8080)\n\n## angular.js\n\nIn combination with angular.js it is now possible to deep link when using Html5 Mode\n    \n    $locationProvider.html5Mode(true);\n\nMake sure all paths are relative unless you explicitly want to leave the sub location ('/url/to/app/' in the example above)\n","_id":"express-webapp-host@0.1.1","dist":{"shasum":"58d872e4dcfe10a59a554c20cb5a3e995e5b0f40","tarball":"https://registry.npmjs.org/express-webapp-host/-/express-webapp-host-0.1.1.tgz","integrity":"sha512-mftPJ20a3ZDL4uW9PYOHtcPsp+a9QDOkyNkB+4s+Q05q1wWKK6FlEUuvNq/HiYJ66B5kbdVi80P9KuUP7pvHfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDiXnnqwaeTGJhXQaDQ/Q8WgbBBe/7Tv7Q9MJ8cR8wQkgIgGjvMyPWUOcgVPqKXizdt8eTKOEoBoANBYuXXGl7NH4I="}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"matthiasg","email":"m.goetzke@curasystems.de"},"maintainers":[{"name":"matthiasg","email":"m.goetzke@curasystems.de"}]},"0.1.2":{"name":"express-webapp-host","version":"0.1.2","description":"express middleware to rewrite a html web apps base tag in the index html. This is useful for serving web apps (like angular) from different base urls.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/matthiasg/express-webapp-host.git"},"keywords":["express","middleware","webapp"],"author":{"name":"Matthias Goetzke"},"license":"BSD","readmeFilename":"README.md","gitHead":"03fc76388cb7d38bde6e8fa4dcd872c6ff2944bd","dependencies":{"express":"~3.1.1","underscore":"~1.4.4","trumpet":"~0.3.1","methods":"0.0.1"},"devDependencies":{"express":"~3.1.1"},"readme":"express-webapp-host\n===================\n\nSimple express middleware to host a static directory under a deeper url by rewriting the webapps index.html base tag\n\n## index.html\n\nThe index.html base tag must be present.\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8888/' />\n    <title>My App</title>\n\nIt will be rewritten to the actual base path. Using the express example below when access via localhost it would rewrite it to:\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8080/url/to/app/' />\n    <title>My App</title>\n\nAll url in the app should be relative paths.\n\n## usage with express\n\n    var webAppHost = require('express-webapp-host');\n    var express = require('express');\n    var app = express();\n\n    app.use('/url/to/app/', webAppHost.webApp('./path/to/app/on/disk'));\n    app.listen(8080)\n\n## angular.js\n\nIn combination with angular.js it is now possible to deep link when using Html5 Mode\n    \n    $locationProvider.html5Mode(true);\n\nMake sure all paths are relative unless you explicitly want to leave the sub location ('/url/to/app/' in the example above)\n","_id":"express-webapp-host@0.1.2","_from":".","dist":{"shasum":"98ca68e377c70b4b62844aa53cfce96039a5d97b","tarball":"https://registry.npmjs.org/express-webapp-host/-/express-webapp-host-0.1.2.tgz","integrity":"sha512-WQmvRUCVTGu14rNMayDt5Rz9JZ+rhapXrNqWeotyHR67V8Nw3bio23qJ1y3/j7n3h9sTU8gRZ7ZQCHYWN6MZGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEr1K2QRig+hGTdL6dh7aXtqXLc3md2hcUkLgxcJu68jAiA0rK9Gp+w0LgzBmcn/ONDSCAWGMrp+XvzbZ4qJ5EX4zw=="}]},"_npmVersion":"1.2.18","_npmUser":{"name":"matthiasg","email":"m.goetzke@curasystems.de"},"maintainers":[{"name":"matthiasg","email":"m.goetzke@curasystems.de"}]},"0.1.3":{"name":"express-webapp-host","version":"0.1.3","description":"express middleware to rewrite a html web apps base tag in the index html. This is useful for serving web apps (like angular) from different base urls.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/matthiasg/express-webapp-host.git"},"keywords":["express","middleware","webapp"],"author":{"name":"Matthias Goetzke"},"license":"BSD","readmeFilename":"README.md","gitHead":"03fc76388cb7d38bde6e8fa4dcd872c6ff2944bd","dependencies":{"express":"~3.1.1","underscore":"~1.4.4","trumpet":"~0.3.1","methods":"0.0.1"},"devDependencies":{"express":"~3.1.1"},"readme":"express-webapp-host\n===================\n\nSimple express middleware to host a static directory under a deeper url by rewriting the webapps index.html base tag\n\n## index.html\n\nThe index.html base tag must be present.\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8888/' />\n    <title>My App</title>\n\nIt will be rewritten to the actual base path. Using the express example below when access via localhost it would rewrite it to:\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8080/url/to/app/' />\n    <title>My App</title>\n\nAll url in the app should be relative paths.\n\n## usage with express\n\n    var webAppHost = require('express-webapp-host');\n    var express = require('express');\n    var app = express();\n\n    app.use('/url/to/app/', webAppHost.webApp('./path/to/app/on/disk'));\n    app.listen(8080)\n\n## angular.js\n\nIn combination with angular.js it is now possible to deep link when using Html5 Mode\n    \n    $locationProvider.html5Mode(true);\n\nMake sure all paths are relative unless you explicitly want to leave the sub location ('/url/to/app/' in the example above)\n","_id":"express-webapp-host@0.1.3","_from":".","dist":{"shasum":"26c9eee1988140533b872913233ae2c23c681b20","tarball":"https://registry.npmjs.org/express-webapp-host/-/express-webapp-host-0.1.3.tgz","integrity":"sha512-6oJIHwBgAUrbhJV0fTfA7Cmd3gP57ua8IzdkTvax+O3ELZkPXw+5ZLDxZYi87YhhrybVwFXnvtZOghhyjeG5cg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDN49kI58aXxDvJOIDU12Gdy/6GUGNY/ku/YHGL1TcqZAiEA1knHx0eVyhsfN2tEwaPjg6bjtaYC7t3lMcP+VJbVc4s="}]},"_npmVersion":"1.2.18","_npmUser":{"name":"matthiasg","email":"m.goetzke@curasystems.de"},"maintainers":[{"name":"matthiasg","email":"m.goetzke@curasystems.de"}]},"0.1.4":{"name":"express-webapp-host","version":"0.1.4","description":"express middleware to rewrite a html web apps base tag in the index html. This is useful for serving web apps (like angular) from different base urls.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/matthiasg/express-webapp-host.git"},"keywords":["express","middleware","webapp"],"author":{"name":"Matthias Goetzke"},"license":"BSD","readmeFilename":"README.md","gitHead":"03fc76388cb7d38bde6e8fa4dcd872c6ff2944bd","dependencies":{"express":"~3.1.1","underscore":"~1.4.4","trumpet":"~0.3.1","methods":"0.0.1"},"devDependencies":{"express":"~3.1.1"},"readme":"express-webapp-host\n===================\n\nSimple express middleware to host a static directory under a deeper url by rewriting the webapps index.html base tag\n\n## index.html\n\nThe index.html base tag must be present.\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8888/' />\n    <title>My App</title>\n\nIt will be rewritten to the actual base path. Using the express example below when access via localhost it would rewrite it to:\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8080/url/to/app/' />\n    <title>My App</title>\n\nAll url in the app should be relative paths.\n\n## usage with express\n\n    var webAppHost = require('express-webapp-host');\n    var express = require('express');\n    var app = express();\n\n    app.use('/url/to/app/', webAppHost.webApp('./path/to/app/on/disk'));\n    app.listen(8080)\n\n## angular.js\n\nIn combination with angular.js it is now possible to deep link when using Html5 Mode\n    \n    $locationProvider.html5Mode(true);\n\nMake sure all paths are relative unless you explicitly want to leave the sub location ('/url/to/app/' in the example above)\n","_id":"express-webapp-host@0.1.4","_from":".","dist":{"shasum":"706d4c6249161fba32a8544e619fca4ef1865395","tarball":"https://registry.npmjs.org/express-webapp-host/-/express-webapp-host-0.1.4.tgz","integrity":"sha512-Zr8A2T52FanmSzFuUI4xXBxwQzXNzR+2Af51S2gHHmmcPD54QFj+mArXSIyMsbzhQr7gXck5exxk4LqJf34VgQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpd2M90+D/DuKfW4F4R5f+z5W7m3MPeQcLC6SdhruOiQIgD29um5+eet9KvebV6V9FKHYqS/0wCDoLSf67D3gBtVU="}]},"_npmVersion":"1.2.18","_npmUser":{"name":"matthiasg","email":"m.goetzke@curasystems.de"},"maintainers":[{"name":"matthiasg","email":"m.goetzke@curasystems.de"}]},"0.1.5":{"name":"express-webapp-host","version":"0.1.5","description":"express middleware to rewrite a html web apps base tag in the index html. This is useful for serving web apps (like angular) from different base urls.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/matthiasg/express-webapp-host.git"},"keywords":["express","middleware","webapp"],"author":{"name":"Matthias Goetzke"},"license":"BSD","readmeFilename":"README.md","gitHead":"03fc76388cb7d38bde6e8fa4dcd872c6ff2944bd","dependencies":{"express":"~3.1.1","underscore":"~1.4.4","trumpet":"~0.3.1","methods":"0.0.1"},"devDependencies":{"express":"~3.1.1"},"readme":"express-webapp-host\n===================\n\nSimple express middleware to host a static directory under a deeper url by rewriting the webapps index.html base tag\n\n## index.html\n\nThe index.html base tag must be present.\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8888/' />\n    <title>My App</title>\n\nIt will be rewritten to the actual base path. Using the express example below when access via localhost it would rewrite it to:\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8080/url/to/app/' />\n    <title>My App</title>\n\nAll url in the app should be relative paths.\n\n## usage with express\n\n    var webAppHost = require('express-webapp-host');\n    var express = require('express');\n    var app = express();\n\n    app.use('/url/to/app/', webAppHost.webApp('./path/to/app/on/disk'));\n    app.listen(8080)\n\n## angular.js\n\nIn combination with angular.js it is now possible to deep link when using Html5 Mode\n    \n    $locationProvider.html5Mode(true);\n\nMake sure all paths are relative unless you explicitly want to leave the sub location ('/url/to/app/' in the example above)\n","_id":"express-webapp-host@0.1.5","_from":".","dist":{"shasum":"d83f1fe224311a7abc98f110ebb1a2bd6cffaf06","tarball":"https://registry.npmjs.org/express-webapp-host/-/express-webapp-host-0.1.5.tgz","integrity":"sha512-HM3FBXgx43fgPPt8WI//JNeVYbGEc1KdXjnJp2dL1AxyTCg28Oz4AbPaYQJx2MG89gCFhz94CwlommihdShOvg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA8Vlrx5SvyMOkcsW/2bBNKtMcZ/dAPGcazxWENNAtyPAiEAiQF0MC3rBlBUpJsJHjeU+XNljpzmxW0xmAbTFEYqY+M="}]},"_npmVersion":"1.2.18","_npmUser":{"name":"matthiasg","email":"m.goetzke@curasystems.de"},"maintainers":[{"name":"matthiasg","email":"m.goetzke@curasystems.de"}]},"0.1.6":{"name":"express-webapp-host","version":"0.1.6","description":"express middleware to rewrite a html web apps base tag in the index html. This is useful for serving web apps (like angular) from different base urls.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/matthiasg/express-webapp-host.git"},"keywords":["express","middleware","webapp"],"author":{"name":"Matthias Goetzke"},"license":"BSD","readmeFilename":"README.md","gitHead":"03fc76388cb7d38bde6e8fa4dcd872c6ff2944bd","dependencies":{"express":"~3.1.1","underscore":"~1.4.4","trumpet":"~0.3.1","methods":"0.0.1"},"devDependencies":{"express":"~3.1.1"},"readme":"express-webapp-host\n===================\n\nSimple express middleware to host a static directory under a deeper url by rewriting the webapps index.html base tag\n\n## index.html\n\nThe index.html base tag must be present.\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8888/' />\n    <title>My App</title>\n\nIt will be rewritten to the actual base path. Using the express example below when access via localhost it would rewrite it to:\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8080/url/to/app/' />\n    <title>My App</title>\n\nAll url in the app should be relative paths.\n\n## usage with express\n\n    var webAppHost = require('express-webapp-host');\n    var express = require('express');\n    var app = express();\n\n    app.use('/url/to/app/', webAppHost.webApp('./path/to/app/on/disk'));\n    app.listen(8080)\n\n## angular.js\n\nIn combination with angular.js it is now possible to deep link when using Html5 Mode\n    \n    $locationProvider.html5Mode(true);\n\nMake sure all paths are relative unless you explicitly want to leave the sub location ('/url/to/app/' in the example above)\n","_id":"express-webapp-host@0.1.6","_from":".","dist":{"shasum":"92d0ca798f66967c4a397124ce427134091912b7","tarball":"https://registry.npmjs.org/express-webapp-host/-/express-webapp-host-0.1.6.tgz","integrity":"sha512-DzbCS+OLVB56NVFXCWk4okdeXMkVypKbW65X4yaTKw3jrVj3PD1E2zgBubj2xJMnkHt8wEHyy3q9neemq6VxNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDahlc6n2wQF3rP6PeLgouqK6MLpQ12164qeCUJeY9RzwIgL6W5j6ifDslaJ25F+J6F/wMUM9mac3UNwMt5nnoBNpU="}]},"_npmVersion":"1.2.18","_npmUser":{"name":"matthiasg","email":"m.goetzke@curasystems.de"},"maintainers":[{"name":"matthiasg","email":"m.goetzke@curasystems.de"}]},"0.1.7":{"name":"express-webapp-host","version":"0.1.7","description":"express middleware to rewrite a html web apps base tag in the index html. This is useful for serving web apps (like angular) from different base urls.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/matthiasg/express-webapp-host.git"},"keywords":["express","middleware","webapp"],"author":{"name":"Matthias Goetzke"},"license":"BSD","readmeFilename":"README.md","gitHead":"03fc76388cb7d38bde6e8fa4dcd872c6ff2944bd","dependencies":{"express":"~3.1.1","underscore":"~1.4.4","trumpet":"~0.3.1","methods":"0.0.1"},"devDependencies":{"express":"~3.1.1"},"readme":"express-webapp-host\n===================\n\nSimple express middleware to host a static directory under a deeper url by rewriting the webapps index.html base tag\n\n## index.html\n\nThe index.html base tag must be present.\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8888/' />\n    <title>My App</title>\n\nIt will be rewritten to the actual base path. Using the express example below when access via localhost it would rewrite it to:\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8080/url/to/app/' />\n    <title>My App</title>\n\nAll url in the app should be relative paths.\n\n## usage with express\n\n    var webAppHost = require('express-webapp-host');\n    var express = require('express');\n    var app = express();\n\n    app.use('/url/to/app/', webAppHost.webApp('./path/to/app/on/disk'));\n    app.listen(8080)\n\n## angular.js\n\nIn combination with angular.js it is now possible to deep link when using Html5 Mode\n    \n    $locationProvider.html5Mode(true);\n\nMake sure all paths are relative unless you explicitly want to leave the sub location ('/url/to/app/' in the example above)\n","_id":"express-webapp-host@0.1.7","_from":".","dist":{"shasum":"eb5d4c4f856cc9a95057544f8b59d4d8a94f4acc","tarball":"https://registry.npmjs.org/express-webapp-host/-/express-webapp-host-0.1.7.tgz","integrity":"sha512-QUJyeBbVmACXl08i6GZ0MSjPRzk5m94z9UyljaZAjYtB1dD4CbxNCUe22WihCO3fwZmWjqmBAoAmfgzDSsSj9w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFHf+fnmzxsheB7YqEh208jPuWRHM1VvRp8OgAtZ8BTgIgB8YSsOrvdO74Ar+REsgBtyr8++xqVcwcvaYkSMJPow4="}]},"_npmVersion":"1.2.18","_npmUser":{"name":"matthiasg","email":"m.goetzke@curasystems.de"},"maintainers":[{"name":"matthiasg","email":"m.goetzke@curasystems.de"}]},"0.1.8":{"name":"express-webapp-host","version":"0.1.8","description":"express middleware to rewrite a html web apps base tag in the index html. This is useful for serving web apps (like angular) from different base urls.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/matthiasg/express-webapp-host.git"},"keywords":["express","middleware","webapp"],"author":{"name":"Matthias Goetzke"},"license":"BSD","readmeFilename":"README.md","gitHead":"03fc76388cb7d38bde6e8fa4dcd872c6ff2944bd","dependencies":{"express":"~3.1.1","underscore":"~1.4.4","trumpet":"~0.3.1","methods":"0.0.1"},"devDependencies":{"express":"~3.1.1"},"readme":"express-webapp-host\n===================\n\nSimple express middleware to host a static directory under a deeper url by rewriting the webapps index.html base tag\n\n## index.html\n\nThe index.html base tag must be present.\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8888/' />\n    <title>My App</title>\n\nIt will be rewritten to the actual base path. Using the express example below when access via localhost it would rewrite it to:\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8080/url/to/app/' />\n    <title>My App</title>\n\nAll url in the app should be relative paths.\n\n## usage with express\n\n    var webAppHost = require('express-webapp-host');\n    var express = require('express');\n    var app = express();\n\n    app.use('/url/to/app/', webAppHost.webApp('./path/to/app/on/disk'));\n    app.listen(8080)\n\n## angular.js\n\nIn combination with angular.js it is now possible to deep link when using Html5 Mode\n    \n    $locationProvider.html5Mode(true);\n\nMake sure all paths are relative unless you explicitly want to leave the sub location ('/url/to/app/' in the example above)\n","_id":"express-webapp-host@0.1.8","_from":".","dist":{"shasum":"1df35a66a2804d9964ba0893ab074f30082b9c9f","tarball":"https://registry.npmjs.org/express-webapp-host/-/express-webapp-host-0.1.8.tgz","integrity":"sha512-f6U2XE8IYedlWRJdD9pDB+o+QLraB3AP5DakZa6sBBDijTf5T2I+qTt39/RYRaLptnMMooSC/ozT5XykWP4tSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGFmGt3/sDOHxb9J+EYKgDLvy2nLsZisrvXalEb+uEM2AiBTMPJMD2HQ2m8VCAFwoNaKfZ9vc43yjoehR4w03lHA0g=="}]},"_npmVersion":"1.2.18","_npmUser":{"name":"matthiasg","email":"m.goetzke@curasystems.de"},"maintainers":[{"name":"matthiasg","email":"m.goetzke@curasystems.de"}]},"0.1.9":{"name":"express-webapp-host","version":"0.1.9","description":"express middleware to rewrite a html web apps base tag in the index html. This is useful for serving web apps (like angular) from different base urls.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/matthiasg/express-webapp-host.git"},"keywords":["express","middleware","webapp"],"author":{"name":"Matthias Goetzke"},"license":"BSD","readmeFilename":"README.md","gitHead":"03fc76388cb7d38bde6e8fa4dcd872c6ff2944bd","dependencies":{"express":"~3.1.1","underscore":"~1.4.4","trumpet":"~0.3.1","methods":"0.0.1"},"devDependencies":{"express":"~3.1.1"},"readme":"express-webapp-host\n===================\n\nSimple express middleware to host a static directory under a deeper url by rewriting the webapps index.html base tag\n\n## index.html\n\nThe index.html base tag must be present.\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8888/' />\n    <title>My App</title>\n\nIt will be rewritten to the actual base path. Using the express example below when access via localhost it would rewrite it to:\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8080/url/to/app/' />\n    <title>My App</title>\n\nAll url in the app should be relative paths.\n\n## usage with express\n\n    var webAppHost = require('express-webapp-host');\n    var express = require('express');\n    var app = express();\n\n    app.use('/url/to/app/', webAppHost.webApp('./path/to/app/on/disk'));\n    app.listen(8080)\n\n## angular.js\n\nIn combination with angular.js it is now possible to deep link when using Html5 Mode\n    \n    $locationProvider.html5Mode(true);\n\nMake sure all paths are relative unless you explicitly want to leave the sub location ('/url/to/app/' in the example above)\n","_id":"express-webapp-host@0.1.9","_from":".","dist":{"shasum":"95af6bf92b90335b3d41b651462d78314233c707","tarball":"https://registry.npmjs.org/express-webapp-host/-/express-webapp-host-0.1.9.tgz","integrity":"sha512-6e2MaBk0zds0S4VLxTV90w/v8pk7wDpIPoDEQuPVrb9rKE9P9ROu8Xbr/jtgy1gPIoLBmsjHTJGV+LyjXqNmaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFbRo2kIzQHBaAReo1NZS7+9SBrzSsUHI/mD5emvJIgrAiBlsBCgz8kqZtksLklrD2rXAFL7LN9o/r7mHZ2ExzUDCA=="}]},"_npmVersion":"1.2.18","_npmUser":{"name":"matthiasg","email":"m.goetzke@curasystems.de"},"maintainers":[{"name":"matthiasg","email":"m.goetzke@curasystems.de"}]},"0.2.0":{"name":"express-webapp-host","version":"0.2.0","description":"express middleware to rewrite a html web apps base tag in the index html. This is useful for serving web apps (like angular) from different base urls.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/matthiasg/express-webapp-host.git"},"keywords":["express","middleware","webapp"],"author":{"name":"Matthias Goetzke"},"license":"BSD","readmeFilename":"README.md","gitHead":"03fc76388cb7d38bde6e8fa4dcd872c6ff2944bd","dependencies":{"express":"~3.1.1","trumpet":"~0.3.1","methods":"0.0.1"},"devDependencies":{"express":"~3.1.1"},"readme":"express-webapp-host\n===================\n\nSimple express middleware to host a static directory under a deeper url by rewriting the webapps index.html base tag\n\n## index.html\n\nThe index.html base tag must be present.\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8888/' />\n    <title>My App</title>\n\nIt will be rewritten to the actual base path. Using the express example below when access via localhost it would rewrite it to:\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8080/url/to/app/' />\n    <title>My App</title>\n\nAll url in the app should be relative paths.\n\n## usage with express\n\n    var webAppHost = require('express-webapp-host');\n    var express = require('express');\n    var app = express();\n\n    app.use('/url/to/app/', webAppHost.webApp('./path/to/app/on/disk'));\n    app.listen(8080)\n\n## angular.js\n\nIn combination with angular.js it is now possible to deep link when using Html5 Mode\n    \n    $locationProvider.html5Mode(true);\n\nMake sure all paths are relative unless you explicitly want to leave the sub location ('/url/to/app/' in the example above)\n","_id":"express-webapp-host@0.2.0","_from":".","bugs":{"url":"https://github.com/matthiasg/express-webapp-host/issues"},"dist":{"shasum":"b529578b63b37249a54b4d3c0e28c5dc2ae11fba","tarball":"https://registry.npmjs.org/express-webapp-host/-/express-webapp-host-0.2.0.tgz","integrity":"sha512-prkWT7UJtX6+tHMKxwmt3ROltMXzK1ENneUNB/uwu5RmBmGhW7n05uY0EtofpWc92hwEPws3HanXVaRbIAR0ig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHvUO99cNqv3QH8vgYDYapXt2tZFmIL/+GETzuS/ZfYgIhAIZup62JQjVO+4Eo0FKuMCs7J3f6F3D+Q/snsFfTLVkn"}]},"_npmVersion":"1.3.8","_npmUser":{"name":"matthiasg","email":"m.goetzke@curasystems.de"},"maintainers":[{"name":"matthiasg","email":"m.goetzke@curasystems.de"}]},"0.2.1":{"name":"express-webapp-host","version":"0.2.1","description":"express middleware to rewrite a html web apps base tag in the index html. This is useful for serving web apps (like angular) from different base urls.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/matthiasg/express-webapp-host.git"},"keywords":["express","middleware","webapp"],"author":{"name":"Matthias Goetzke"},"license":"BSD","readmeFilename":"README.md","gitHead":"03fc76388cb7d38bde6e8fa4dcd872c6ff2944bd","dependencies":{"express":"~3.1.2","trumpet":"~0.3.6","methods":"0.0.1"},"devDependencies":{"express":"~3.1.1"},"readme":"express-webapp-host\n===================\n\nSimple express middleware to host a static directory under a deeper url by rewriting the webapps index.html base tag\n\n## index.html\n\nThe index.html base tag must be present.\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8888/' />\n    <title>My App</title>\n\nIt will be rewritten to the actual base path. Using the express example below when access via localhost it would rewrite it to:\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8080/url/to/app/' />\n    <title>My App</title>\n\nAll url in the app should be relative paths.\n\n## usage with express\n\n    var webAppHost = require('express-webapp-host');\n    var express = require('express');\n    var app = express();\n\n    app.use('/url/to/app/', webAppHost.webApp('./path/to/app/on/disk'));\n    app.listen(8080)\n\n## angular.js\n\nIn combination with angular.js it is now possible to deep link when using Html5 Mode\n    \n    $locationProvider.html5Mode(true);\n\nMake sure all paths are relative unless you explicitly want to leave the sub location ('/url/to/app/' in the example above)\n","_id":"express-webapp-host@0.2.1","_from":".","bugs":{"url":"https://github.com/matthiasg/express-webapp-host/issues"},"dist":{"shasum":"3383d22f435f28fe9808d804a6a0be70f870a2fb","tarball":"https://registry.npmjs.org/express-webapp-host/-/express-webapp-host-0.2.1.tgz","integrity":"sha512-Vx79CFEZqHDLmRR1cuLZCiJaTa5OmSGoUWVsQ09fH4KCVTHu25hm8+4TSlLyjGI7QK9x9q30Kliajsp9DO220Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCoPG9AlF2Y5OIkIilqqe3rN20XKwjl0YLDao1+ZfZiKQIhAMD5yGi/3zl9hniKAR6SuPv0zBgJ/s638ucu643nSWCS"}]},"_npmVersion":"1.3.8","_npmUser":{"name":"matthiasg","email":"m.goetzke@curasystems.de"},"maintainers":[{"name":"matthiasg","email":"m.goetzke@curasystems.de"}]},"0.2.2":{"name":"express-webapp-host","version":"0.2.2","description":"express middleware to rewrite a html web apps base tag in the index html. This is useful for serving web apps (like angular) from different base urls.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/matthiasg/express-webapp-host.git"},"keywords":["express","middleware","webapp"],"author":{"name":"Matthias Goetzke"},"license":"BSD","readmeFilename":"README.md","gitHead":"03fc76388cb7d38bde6e8fa4dcd872c6ff2944bd","dependencies":{"express":"~3.1.2","trumpet":"~0.3.6","methods":"0.0.1"},"devDependencies":{"express":"~3.1.1"},"readme":"express-webapp-host\n===================\n\nSimple express middleware to host a static directory under a deeper url by rewriting the webapps index.html base tag\n\n## index.html\n\nThe index.html base tag must be present.\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8888/' />\n    <title>My App</title>\n\nIt will be rewritten to the actual base path. Using the express example below when access via localhost it would rewrite it to:\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8080/url/to/app/' />\n    <title>My App</title>\n\nAll url in the app should be relative paths.\n\n## usage with express\n\n    var webAppHost = require('express-webapp-host');\n    var express = require('express');\n    var app = express();\n\n    app.use('/url/to/app/', webAppHost.webApp('./path/to/app/on/disk'));\n    app.listen(8080)\n\n## angular.js\n\nIn combination with angular.js it is now possible to deep link when using Html5 Mode\n    \n    $locationProvider.html5Mode(true);\n\nMake sure all paths are relative unless you explicitly want to leave the sub location ('/url/to/app/' in the example above)\n","_id":"express-webapp-host@0.2.2","_from":".","bugs":{"url":"https://github.com/matthiasg/express-webapp-host/issues"},"homepage":"https://github.com/matthiasg/express-webapp-host","dist":{"shasum":"fba68a458588a8579453e33f2b96770bea70addb","tarball":"https://registry.npmjs.org/express-webapp-host/-/express-webapp-host-0.2.2.tgz","integrity":"sha512-tg4kmu05jDJo8Z1tBuQUeR2LbegRXDPG1yQEgE0LXifzEsLKUSK6jBzi77qm/Zy7trPlYtcP5RFosvhTiCqRtA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICEQvtBszyAmMzOflmZozk8fOo9B0pPCfWq2Jq0R4vwuAiBFWUdhp5hpi2rdA242Weoz0Clprcb2mPAb7Ulepc92Ng=="}]},"_npmVersion":"1.3.14","_npmUser":{"name":"matthiasg","email":"m.goetzke@curasystems.de"},"maintainers":[{"name":"matthiasg","email":"m.goetzke@curasystems.de"}]},"0.2.3":{"name":"express-webapp-host","version":"0.2.3","description":"express middleware to rewrite a html web apps base tag in the index html. This is useful for serving web apps (like angular) from different base urls.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/matthiasg/express-webapp-host.git"},"keywords":["express","middleware","webapp"],"author":{"name":"Matthias Goetzke"},"license":"BSD","readmeFilename":"README.md","gitHead":"03fc76388cb7d38bde6e8fa4dcd872c6ff2944bd","dependencies":{"express":"~3.1.2","trumpet":"~0.3.6","methods":"0.0.1"},"devDependencies":{"express":"~3.1.1"},"readme":"express-webapp-host\n===================\n\nSimple express middleware to host a static directory under a deeper url by rewriting the webapps index.html base tag\n\n## index.html\n\nThe index.html base tag must be present.\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8888/' />\n    <title>My App</title>\n\nIt will be rewritten to the actual base path. Using the express example below when access via localhost it would rewrite it to:\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8080/url/to/app/' />\n    <title>My App</title>\n\nAll url in the app should be relative paths.\n\n## usage with express\n\n    var webAppHost = require('express-webapp-host');\n    var express = require('express');\n    var app = express();\n\n    app.use('/url/to/app/', webAppHost.webApp('./path/to/app/on/disk'));\n    app.listen(8080)\n\n## angular.js\n\nIn combination with angular.js it is now possible to deep link when using Html5 Mode\n    \n    $locationProvider.html5Mode(true);\n\nMake sure all paths are relative unless you explicitly want to leave the sub location ('/url/to/app/' in the example above)\n","_id":"express-webapp-host@0.2.3","_from":".","bugs":{"url":"https://github.com/matthiasg/express-webapp-host/issues"},"homepage":"https://github.com/matthiasg/express-webapp-host","dist":{"shasum":"ae3faa95cce7cdefc64893c65ae177af411fd466","tarball":"https://registry.npmjs.org/express-webapp-host/-/express-webapp-host-0.2.3.tgz","integrity":"sha512-fSLWMWRjn1AS1ae8BoDg40JelTZRg3WPO+UhFxzQRlGZdT1d2D3XdFJOIuljWvPpawddKzWxX23oa5C+7TfITQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1dHcs+YkPi48wuEo+WP4Jvgei21Hv6/AYzoIhVW14uQIgNuiCqvHYhQw70wGrmo9jJBSCxugPPedyCN3jcFZb8eg="}]},"_npmVersion":"1.3.14","_npmUser":{"name":"matthiasg","email":"m.goetzke@curasystems.de"},"maintainers":[{"name":"matthiasg","email":"m.goetzke@curasystems.de"}]},"0.2.4":{"name":"express-webapp-host","version":"0.2.4","description":"express middleware to rewrite a html web apps base tag in the index html. This is useful for serving web apps (like angular) from different base urls.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/matthiasg/express-webapp-host.git"},"keywords":["express","middleware","webapp"],"author":{"name":"Matthias Goetzke"},"license":"BSD","readmeFilename":"README.md","gitHead":"03fc76388cb7d38bde6e8fa4dcd872c6ff2944bd","dependencies":{"express":"~3.1.2","trumpet":"~0.3.6","methods":"0.0.1"},"devDependencies":{"express":"~3.1.1"},"readme":"express-webapp-host\n===================\n\nSimple express middleware to host a static directory under a deeper url by rewriting the webapps index.html base tag\n\n## index.html\n\nThe index.html base tag must be present.\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8888/' />\n    <title>My App</title>\n\nIt will be rewritten to the actual base path. Using the express example below when access via localhost it would rewrite it to:\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8080/url/to/app/' />\n    <title>My App</title>\n\nAll url in the app should be relative paths.\n\n## usage with express\n\n    var webAppHost = require('express-webapp-host');\n    var express = require('express');\n    var app = express();\n\n    app.use('/url/to/app/', webAppHost.webApp('./path/to/app/on/disk'));\n    app.listen(8080)\n\n## angular.js\n\nIn combination with angular.js it is now possible to deep link when using Html5 Mode\n    \n    $locationProvider.html5Mode(true);\n\nMake sure all paths are relative unless you explicitly want to leave the sub location ('/url/to/app/' in the example above)\n","_id":"express-webapp-host@0.2.4","_from":".","bugs":{"url":"https://github.com/matthiasg/express-webapp-host/issues"},"homepage":"https://github.com/matthiasg/express-webapp-host","dist":{"shasum":"c91ec692fc24fb14b522bd677231968ff35255dd","tarball":"https://registry.npmjs.org/express-webapp-host/-/express-webapp-host-0.2.4.tgz","integrity":"sha512-6TRcrCNC0SvHEEJACjIt/m3OAE4N6jIkGbZ7zdXge7zN/XEYu9oO0DzYp4psOpYS62abRpaXdNguF9CB/hWEvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrn49KrsVyjKd4UQeK09rBsJwTCvfweuRWtWZKFiYNGgIhAJ5Sf79AwRcVrmvkoHH+SNS1ANNuDCiAHn7uamPIa8UB"}]},"_npmVersion":"1.3.14","_npmUser":{"name":"matthiasg","email":"m.goetzke@curasystems.de"},"maintainers":[{"name":"matthiasg","email":"m.goetzke@curasystems.de"}]}},"readme":"express-webapp-host\n===================\n\nSimple express middleware to host a static directory under a deeper url by rewriting the webapps index.html base tag\n\n## index.html\n\nThe index.html base tag must be present.\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8888/' />\n    <title>My App</title>\n\nIt will be rewritten to the actual base path. Using the express example below when access via localhost it would rewrite it to:\n\n    <meta charset=\"utf-8\">\n    <base href='http://localhost:8080/url/to/app/' />\n    <title>My App</title>\n\nAll url in the app should be relative paths.\n\n## usage with express\n\n    var webAppHost = require('express-webapp-host');\n    var express = require('express');\n    var app = express();\n\n    app.use('/url/to/app/', webAppHost.webApp('./path/to/app/on/disk'));\n    app.listen(8080)\n\n## angular.js\n\nIn combination with angular.js it is now possible to deep link when using Html5 Mode\n    \n    $locationProvider.html5Mode(true);\n\nMake sure all paths are relative unless you explicitly want to leave the sub location ('/url/to/app/' in the example above)\n","maintainers":[{"name":"matthiasg","email":"m.goetzke@curasystems.de"}],"time":{"modified":"2022-06-17T22:45:24.375Z","created":"2013-04-12T13:40:25.460Z","0.1.1":"2013-04-12T13:40:29.528Z","0.1.2":"2013-04-28T05:39:25.713Z","0.1.3":"2013-04-29T15:19:39.177Z","0.1.4":"2013-04-30T13:15:15.255Z","0.1.5":"2013-04-30T15:47:10.876Z","0.1.6":"2013-04-30T16:04:16.393Z","0.1.7":"2013-05-06T08:58:49.737Z","0.1.8":"2013-06-06T09:41:29.592Z","0.1.9":"2013-06-25T06:12:26.902Z","0.2.0":"2013-10-04T16:11:10.500Z","0.2.1":"2013-10-04T16:14:35.360Z","0.2.2":"2013-12-10T16:00:07.756Z","0.2.3":"2013-12-10T16:13:10.904Z","0.2.4":"2013-12-11T15:40:47.007Z"},"author":{"name":"Matthias Goetzke"},"repository":{"type":"git","url":"git://github.com/matthiasg/express-webapp-host.git"}}