Permalink
Browse files

Update README.md

update installation section.
  • Loading branch information...
1 parent fc16917 commit d6104acf8c43640b408fdd4767766501a23f583c @yukinying committed Nov 7, 2012
Showing with 12 additions and 6 deletions.
  1. +12 −6 README.md
View
@@ -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
-----------------
@@ -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.