harthur/replace — pull request #4 by maxogden (2012-11-07 15:09:52+00:00)
Title: edit package.json, add "main", fixes programmatic usage

hiya heather! I was gonna use your color module to write a script to translate color schemes in some CSS files and spent some time searching on NPM for a find and replace module and was super amazed to find out that you had written both of the modules that I needed!

it seems that this module is designed with command line usage in mind but i'm trying to use it programmatically. heres a one line pull req so you can do `require('replace')` from inside a node program.

also a section in the readme showing example scripted usage would be nice, something like this:

```javascript
var replaceOpts = {
regex: "foo",
replacement: "bar",
path: ['foo.js']
}
```