中文文档

Installation

Es6

npm i jscalpel --save

import jscalpel from 'jscalpel'

Es5

1.download jscalpel.min.js

2. directly in the srcipt tag

Usage

Parameter Description
parameter type default value use isRequired required version
target string/object {} target true all
deep boolean false whether or not to copy the target object in depth false all
prefix string undefined public prefix, automatically added for the keys false all
success function function () {} The function that was called when the analysis was successful true ^0.6.2
error function function () {} The function that is called when the analysis fails. false ^0.6.2
path string/array/function [] path false ^0.6.2
plugins array [] A plug-in set, similar to the webpack plugins. false ^0.6.2

Demos