connect-replace

connect middleware that replaces tags in response for files matching a pattern

npm install connect-replace
1 downloads in the last week
4 downloads in the last month

connect-replace

middleware to replace occurences of '@@' in URL's matching a regexp, with something else. I use it to inject configuration parameters into Javascript files served through connect.

Author: Emil Stenqvist emsten@gmail.com

License: MIT

TODO

  • make it more safe (handle 404's, etc)
  • Write this README
npm loves you