From c94c1915f030e77e31a14f11dc18379bc5909481 Mon Sep 17 00:00:00 2001 From: gustawdaniel Date: Wed, 21 Mar 2018 07:44:50 +0100 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 33f04c2..cd298b2 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ You can use existing `connect` and `express` middlewares without any issues. ~~~js // You can use the meteorhacks:npm package to load in the body-parser package // via NPM. -var bodyParser = Meteor.npmRequire( 'body-parser'); +var bodyParser = require( 'body-parser'); // Add two middleware calls. The first attempting to parse the request body as // JSON data and the second as URL encoded data.