From d6104acf8c43640b408fdd4767766501a23f583c Mon Sep 17 00:00:00 2001 From: Albert Yu Date: Wed, 7 Nov 2012 14:39:44 +0800 Subject: [PATCH] Update README.md update installation section. --- README.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d3126ee..95d3509 100644 --- a/README.md +++ b/README.md @@ -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.