Initialisation
Added the packages and files for the backend server
This commit is contained in:
12
node_modules/@apollo/utils.createhash/README.md
generated
vendored
Normal file
12
node_modules/@apollo/utils.createhash/README.md
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
# createHash
|
||||
|
||||
Equivalent to Node.js's `crypto.createHash`. Uses the Node.js builtin if
|
||||
present, otherwise it falls back the the `sha.js` package's implementation.
|
||||
|
||||
## Usage
|
||||
|
||||
```ts
|
||||
import { createHash } from "@apollo/utils.createhash";
|
||||
|
||||
createHash("sha256").update("foo").digest("hex");
|
||||
```
|
||||
Reference in New Issue
Block a user