Wondering what’s next for npm?Check out our public roadmap! »

yqg-tool

0.0.3 • Public • Published

Yqg Tool

Pure JavaScript Tools shared between projects.

Install

npm install yqg-tool --save

Usage

JsonTool

var YqgTool = require('yqg-tool');
var JsonTool = YqgTool.JsonTool;

var objCopied = JsonTool.deepCopy(obj); // 深拷贝
var patch = JsonTool.diff(template, page);
var result = JsonTool.patchPage({page, patch, template});

Keywords

Install

npm i yqg-tool

DownloadsWeekly Downloads

3

Version

0.0.3

License

GPL-3.0

Last publish

Collaborators

  • avatar