json-include

1.0.0 • Public • Published

Build Status

JSONInclude

Able to determine if an entity contains all properties and values of another one

Install

npm install json-include

Methods

JSONInclude.inspect(Model, Entity)

Return true if Model contains every properties and values of Entity, whatever the order

jsonInclude.fullfill(Model, Entity)

Complete Entity so it can contains every values of Model.

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i json-include

    Weekly Downloads

    3

    Version

    1.0.0

    License

    ISC

    Last publish

    Collaborators

    • ludoblues