mirror of
https://github.com/bower/bower.git
synced 2026-04-24 03:00:19 -04:00
Update README.
This commit is contained in:
@@ -14,6 +14,7 @@ Reads `file` and applies normalisation, defaults and validation according to the
|
||||
```js
|
||||
var bowerJson = require('bower-json');
|
||||
|
||||
// Can also be used by simply calling bowerJson()
|
||||
bowerJson.read('/path/to/bower.json', function (err, json) {
|
||||
if (err) {
|
||||
console.error('There was an error reading the file');
|
||||
@@ -23,9 +24,6 @@ bowerJson.read('/path/to/bower.json', function (err, json) {
|
||||
|
||||
console.log('JSON: ', json);
|
||||
});
|
||||
|
||||
// Can also be used by simply calling bowerJson()
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user