Skip to content

Commit 84c8838

Browse files
author
Mathieu Bour
committed
docs(readme): harmonize README.md TypeScript imports
1 parent 62bea69 commit 84c8838

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Using CommonJS syntax:
3131

3232
<!-- prettier-ignore-start -->
3333
```typescript
34-
const {randomBytesSeed} = require('@csquare/random-bytes-seed');
34+
const { randomBytesSeed } = require('@csquare/random-bytes-seed');
3535

3636
const output = randomBytesSeed(10, 'my-seed'); // Generate a 10-bytes, stable buffer
3737
```
@@ -51,7 +51,7 @@ or
5151

5252
<!-- prettier-ignore-start -->
5353
```typescript
54-
import {randomBytesSeed} from '@csquare/random-bytes-seed';
54+
import { randomBytesSeed } from '@csquare/random-bytes-seed';
5555

5656
const output = randomBytesSeed(10, 'my-seed'); // Generate a 10-bytes, stable buffer
5757
```
@@ -68,7 +68,7 @@ change the base seed by overriding the default options.
6868

6969
<!-- prettier-ignore-start -->
7070
```typescript
71-
import {options} from '@csquare/random-bytes-seed';
71+
import { options } from '@csquare/random-bytes-seed';
7272

7373
options.seed = 'any-string-you-want'; // Override the base seed for all future calls
7474
```

0 commit comments

Comments
 (0)