From 251759938056b27581dd567d99a62e13460259c4 Mon Sep 17 00:00:00 2001 From: David Gilbertson Date: Tue, 7 Aug 2018 20:04:42 +1000 Subject: [PATCH] Update JavaScript syntax highlighting --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 212f45f86c..4d8b63a2b6 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ Requires npm@3 and node@6 or above, tested on OSX & Linux, expected to work on W To include this project programmatically: -```JavaScript +```js const IPFS = require('ipfs') const node = new IPFS() ``` @@ -174,7 +174,7 @@ If you want a programmatic way to spawn a IPFS Daemon using JavaScript, check ou Use the IPFS Module as a dependency of a project to __spawn in process instances of IPFS__. Create an instance by calling `new IPFS()` and waiting for its `ready` event: -```JavaScript +```js // Create the IPFS node instance const node = new IPFS()