Merge pull request #69 from dapplion/dapplion/readme-highlight

Add syntax highlight in README code snippet
This commit is contained in:
Belma Gutlic 2020-06-29 09:58:47 +02:00 committed by GitHub
commit f1b92a9f1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,8 @@ This repository contains TypeScript implementation of noise protocol, an encrypt
Install with `yarn add libp2p-noise` or `npm i libp2p-noise`. Install with `yarn add libp2p-noise` or `npm i libp2p-noise`.
Example of using default noise configuration and passing it to the libp2p config: Example of using default noise configuration and passing it to the libp2p config:
```
```js
import {NOISE, Noise} from "libp2p-noise" import {NOISE, Noise} from "libp2p-noise"