Skip to content

Commit

Permalink
Update doc and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
huiyifyj committed Apr 11, 2023
1 parent 2cae2bb commit 4669d27
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions README.md
Expand Up @@ -16,8 +16,7 @@ npm i @xn-02f/md5
## Usage

```javascript
const md5 = require('@xn-02f/md5');
// import md5 from '@xn-02f/md5'
import md5 from '@xn-02f/md5'

md5('xn-02f'); // => '54d30fa674d13e3598970bc9c5e2388e'
```
Expand Down
3 changes: 1 addition & 2 deletions md5.d.ts
Expand Up @@ -5,8 +5,7 @@
* @return {string} The hexadecimal hash string that is handled and converted.
* @example
* ```
* import md5 = require('@xn-02f/md5');
* // import md5 from '@xn-02f/md5';
* import md5 from '@xn-02f/md5';
* md5('xn-02f'); //=> '54d30fa674d13e3598970bc9c5e2388e'
* ```
*/
Expand Down
3 changes: 1 addition & 2 deletions md5.js
Expand Up @@ -11,8 +11,7 @@
* @return {string} The hexadecimal hash string that is handled and converted.
* @example
* ```
* const md5 = require('@xn-02f/md5');
* // import md5 from '@xn-02f/md5';
* import md5 from '@xn-02f/md5';
* md5('xn-02f'); //=> '54d30fa674d13e3598970bc9c5e2388e'
* ```
*/
Expand Down

0 comments on commit 4669d27

Please sign in to comment.