Have ideas to improve npm?Join in the discussion! »

    @jswork/next-object-operator

    1.0.1 • Public • Published

    next-object-operator

    Object set/get/sets/gets and other operator.

    version license size download

    installation

    npm install -S @jswork/next-object-operator

    apis

    api params description
    get (path) Get value by path.
    set (path,value) Set value by parh.
    gets - Get the whole object.
    sets (object) Sets multiple values.

    usage

    import NxObjectOperator from '@feizheng/next-object-operator';
    
    const data = {};
    const operator = new NxObjectOperator(data);
    
    // operators
    operator.set
    operator.get
    operator.sets
    operator.gets

    license

    Code released under the MIT license.

    Install

    npm i @jswork/next-object-operator

    DownloadsWeekly Downloads

    69

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    5.87 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar