From 84c8838f1171d7a7003839d8fd40c802213fadc8 Mon Sep 17 00:00:00 2001 From: Mathieu Bour Date: Fri, 28 May 2021 18:46:49 +0200 Subject: [PATCH] docs(readme): harmonize README.md TypeScript imports --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bedc78d..e897703 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Using CommonJS syntax: ```typescript -const {randomBytesSeed} = require('@csquare/random-bytes-seed'); +const { randomBytesSeed } = require('@csquare/random-bytes-seed'); const output = randomBytesSeed(10, 'my-seed'); // Generate a 10-bytes, stable buffer ``` @@ -51,7 +51,7 @@ or ```typescript -import {randomBytesSeed} from '@csquare/random-bytes-seed'; +import { randomBytesSeed } from '@csquare/random-bytes-seed'; const output = randomBytesSeed(10, 'my-seed'); // Generate a 10-bytes, stable buffer ``` @@ -68,7 +68,7 @@ change the base seed by overriding the default options. ```typescript -import {options} from '@csquare/random-bytes-seed'; +import { options } from '@csquare/random-bytes-seed'; options.seed = 'any-string-you-want'; // Override the base seed for all future calls ```