Add syntax highlight in README code snippet

This commit is contained in:
dapplion 2020-06-28 22:51:36 +02:00
parent e2747854ec
commit dccdc678b1

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"