bem-contrib / Bem Proxy
Licence: mit
💩 Pure proxy server to render bemjson with bemhtml onto plain html and so on (BEM)
Stars: ✠6
Programming Languages
javascript
184084 projects - #8 most used programming language
bem-proxy
Pure proxy server to render bemjson with bemhtml onto plain html and so on (BEM).
Installation
npm install
npm test
Usage
const http = require('http');
const BemProxy = require('bem-proxy');
const app = BemProxy({
templates: require('./common.bemhtml.js'),
target: 'http://127.0.0.1:8087',
listen: '3333'
});
app.on('listen', address => {
console.log('Proxy server listening on ' + (address.port ? 'port ' + address.port : address));
License
MIT
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].