Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
update installation section.
  • Loading branch information
yukinying committed Nov 7, 2012
1 parent fc16917 commit d6104ac
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions README.md
Expand Up @@ -11,6 +11,18 @@ code are compatible with the ES5 strict mode.
The package also comes with a code beautifier (based on UglifyJS2), which allows easier troubleshooting when syntax errors
are reported on minified code.

installation
------------

from npm - TBD

from git
```shell
git clone git://github.com/yukinying/connect-strictenjs.git
cd connect-strictenjs
npm link .
```

recommended usage
-----------------

Expand All @@ -28,11 +40,5 @@ app.use(strict.beautifier());
// ... other logics that render the pages
```

Then install the package via

```shell
npm link
```

Sample code could be found in the example directory.

0 comments on commit d6104ac

Please sign in to comment.