diff --git a/README.md b/README.md index 06e9d29c4b..62e13e25d1 100644 --- a/README.md +++ b/README.md @@ -190,7 +190,15 @@ require("6to5/register"); ``` **NOTE:** By default all requires to `node_modules` will be ignored. You can -override this by passing an ignore regex with`. +override this by passing an ignore regex via options. + +```javascript +require("6to5/register")({ + // This will override `node_modules` ignoring - you can alternatively pass + // a regex + ignore: false +}); +``` ##### Options