JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 12325
  • Score
    100M100P100Q138076F
  • License MIT

get value by object property

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jessy) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Jessy License NPM version 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';
    
    jessy('', {
        hello: 'world',
    });
    
    // returns
    {
        hello: 'world';
    }

    License

    MIT