[NPM]check-equal
2019-05-09 本文已影响7人
JandenMa
This is a Javascript library to check two objects whether equal (includes type), object can be array/string/number/JSON/function, etc.
Install
npm
npm install check-equal --save
yarn
yarn add check-equal --save
Usage
Import
import{checkEqual}from'check-equal'
Require
const{checkEqual}=require('check-equal')