case-parser

1.1.1 • Public • Published

Build Status js-standard-style npm version Coverage Status

Parses your object, modifying it for defined cases that apply.

var updated = case-parser(obj, cases, filter)

Takes an object and merges enabled cases and removes disabled cases in the object

  • obj (object) - original object
  • cases (object) - cases object
  • filter (function) - (optional) filter properties to ignore
  • returns (object) updated - obj

Readme

Keywords

Package Sidebar

Install

npm i case-parser

Weekly Downloads

0

Version

1.1.1

License

ISC

Last publish

Collaborators

  • vigour-io