Skip to content

Commit

Permalink
Add generateAppId sample (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
NN--- authored and Thomas Parisot committed Feb 3, 2019
1 parent 930f322 commit ee08c35
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,14 @@ crx.load('/path/to/extension')
});
```

### crx.generateAppId

Generates application id (extension id) from given path.

```js
new crx().generateAppId('/path/to/ext') // epgkjnfaepceeghkjflpimappmlalchn
```

## CLI API

### crx pack [directory] [-o file] [--zip-output file] [-p private-key]
Expand Down

0 comments on commit ee08c35

Please sign in to comment.