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

npm install connect-replace
4 downloads in the last month


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

License: MIT


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