Skip to content

Commit

Permalink
📝 Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zswang committed Sep 9, 2017
1 parent 2fc0b3c commit c0b8d6c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@ Timestamp based GUID
var guid = iplus.newGuid();
```

### 获取新 ID,加前缀
### 获取新 ID,扩展用法

```js
var guid = iplus.newGuid('wx');
var guid = iplus.newGuid({
starts: 1504966589797,
hash: true,
upper: true,
});
```

## License
Expand Down

0 comments on commit c0b8d6c

Please sign in to comment.