Skip to content

webjohnjiang/jscalpel

 
 

Repository files navigation

A small feature library that makes it easier to manipulate objects

Overview

It is tiny but very useful and can help you handle javascript native objects. Data-driven interface development is very common today, we are in the angular, react, vue will encounter a lot of object processing, including set the default value, query, assignment, etc., scalpel is born for this scene.

jscalpel is little poor, gzip less than 3k, so a library you can use it anytime, anywhere without worrying about anything.

Document

View the document please visit https://ihtml5.github.io/jscalpel/

Installation

Install using npm

jscalpel

npm install jscalpel --save
yarn add jscalpel --save

Useage

Es6

  import Jscalpel from 'jscalpel'

Include in html

  <script charset="utf-8" src="https://unpkg.com/[email protected]/dist/jscalpel.min.js"></script>

Changelog

2017.9.11

在使用dynamicKeys(动态keys)时禁用prefix

2017.9.14

增加jscalpelLogic插件,减少ifelse,使运行逻辑可配置

About

A small feature library that makes it easier to manipulate objects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%