jessy

2018-10-23 admin

jessy是什么

什么是jessy,get value by object property

jessy使用教程帮助文档

Jessy License NPM version Dependency Status Build Status Coverage Status

Get value by object property.

Install

npm i jessy --save

Hot to use?

const jessy = require('jessy');
jessy('hello.world', {
    hello: {
        world: {
            'could be used in browser as well'
        }
    }
});
// returns
'could be used in browser as well'
jessy('work-with-divider', '-', {
    work: {
        with: {
            divider: {
                'could use divider as well'
            }
        }
    }
});
// returns
'could use divider as well'

Environments

In old node.js environments that not fully supports es2015, jessy could be used with:

var jessy = require('jessy/legacy');

Related

License

MIT

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-43441.html

文章标题:jessy

回到顶部