The lodash method _.isPlainObject
exported as a Node.js module.
Using npm:
$ {sudo -H} npm i -g npm
$ npm i --save lodash.isplainobject
In Node.js:
var isPlainObject = require('lodash.isplainobject');
See the documentation or package source for more details.