object-assign-sorted

2.0.1 • Public • Published

object-assign-sorted

Object.assign with sorted keys.

var objectAssignSorted = require('object-assign-sorted');
 
objectAssignSorted({ b: 1, a: 1 }, { c: 2, b: 2 });
// >> { a: 1, b: 2, c: 2 }

Readme

Keywords

Package Sidebar

Install

npm i object-assign-sorted

Weekly Downloads

52

Version

2.0.1

License

MIT

Last publish

Collaborators

  • thejameskyle