JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 12
  • Score
    100M100P100Q66357F
  • License MIT

sort-object-attribute module for object keys

Package Exports

  • sort-object-attribute

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sort-object-attribute) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

sort-object-attribute

如何对一个对象的属性进行排序,在项目开发中,前后端需要通过特定的json文件进行数据的共享,但是在使用git工具查看的时候,对于顺序变动较大的对象将会很难区分出改动,有了这个对对象属性排序的功能之后,我们就可以进行对前后端json进行相同规则的排序,尽可能减少属性顺序的改变