Skip to content

Commit

Permalink
📝 Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekdev committed Dec 26, 2017
1 parent a7621d4 commit d4d97f1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $ yarn add build-revision --dev

### Example

#### ES5
#### ES2015

```javascript
var buildRevision = require('build-revision');
Expand All @@ -30,7 +30,7 @@ buildRevision().then(function(version){
});
```

#### ES7
#### ES2017+

```javascript
import buildRevision from 'build-revision';
Expand Down Expand Up @@ -78,7 +78,7 @@ Version | Build Version

> The timestamp is an ISO 8601 UTC string
```
```yml
Type: Promise
Throws: Error
- if the package version is not resolved
Expand All @@ -94,7 +94,7 @@ Returns:
Build metadata Prefix
```
```yml
Type: `String`
Default: `SHA`
```
Expand All @@ -103,7 +103,7 @@ Default: `SHA`
Search for the closest package.json starting from this directory
```
```yml
Type: `String`
Default: `.`
```
Expand Down

0 comments on commit d4d97f1

Please sign in to comment.