Package detail

jessy

coderaiser50.3kMIT4.1.0

get value by object property

object, value, property

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';
}

Related

License

MIT

changelog

2025.03.04, v4.1.0

feature:

  • 12ab3a8 jessy: add support of delimiter at beginning

2025.03.04, v4.0.0

feature:

  • 79d2d93 jessy: some -> for-of
  • 0215a74 jessy: drop support of node < 18
  • a17d50e jessy: c8 v10.1.3
  • c1b3c9a jessy: nodemon v3.1.9
  • 5345ae9 jessy: supertape v10.10.0
  • 05e616b jessy: madrun v10.2.5
  • 8467900 jessy: eslint-plugin-putout v25.0.3
  • 9b6c063 jessy: eslint v9.21.0
  • 269645d jessy: putout v38.5.1

2020.09.01, v3.1.1

fix:

  • (jessy) empty path, empty object

2020.08.20, v3.1.0

feature:

  • (package) madrun v7.0.2
  • (package) eslint-plugin-putout v5.0.1
  • (package) supertape v2.0.1
  • (package) putout v9.11.4
  • (package) eslint v7.7.0
  • (jessy) add support of empty selector
  • (package) eslint-plugin-node v11.0.0
  • (package) eslint-plugin-putout v3.2.1
  • (package) nyc v15.0.0

2019.12.21, v3.0.0

feature:

  • (jessy) drop support of node < 4
  • (jessy) drop support of legacy
  • (package) nodemon v2.0.2
  • (package) nyc v14.1.1
  • (package) eslint-plugin-node v10.0.0
  • (package) madrun v5.2.0
  • (package) eslint v6.8.0
  • (package) eslint-plugin-putout v3.0.0
  • (package) putout v7.3.3

2019.03.21, v2.0.2

feature:

  • (jessy) redrun -> madrun
  • (package) nyc v13.3.0
  • (package) minify v4.1.1
  • (package) redrun v6.0.0
  • (package) browserify v16.0.0
  • (package) browserify v15.2.0
  • (package) coveralls v3.0.0
  • (package) babel-preset-env v1.6.0
  • (package) minify v3.0.0
  • (package) nyc v11.0.2
  • (package) eslint v4.0.0
  • (gitignore) package-lock
  • (package) browserify v14.0.0
  • (package) nyc v10.0.0
  • (package) nyc v9.0.1
  • (package) codestyle -> lint
  • (travis) node_js: 7

2016.11.02, v2.0.1

fix:

  • (jessy) missing value from an object

2016.11.02, v2.0.0

feature:

  • (jessy) src -> lib

2016.11.01, v1.1.5

fix:

  • (jessy) value is an object

2016.11.01, v1.1.4

fix:

  • (jessy) return null when can not find value

2016.10.20, v1.1.3

fix:

  • (jessy) name with "_": similar

2016.10.20, v1.1.2

fix:

  • (jessy) name contains divider
  • (package) babel-preset-es2015: v6.14.0

feature:

  • (package) watch:test
  • (package) nyc v8.1.0
  • (package) redrun v5.0.0
  • (package) nyc v7.0.0
  • (package) redrun v4.0.0
  • (package) jscs v3.0.3
  • (package) npm-run-all -> redrun
  • (travis) add node 6

2016.04.29, v1.1.1

feature:

  • (gitignore) add dot files
  • (gitignore) add nyc_output

2016.04.29, v1.1.0

feature:

  • (jessy) add optional divider

2016.03.28, v1.0.2

feature:

  • (jessy) add check, tests, codestyle, dist
  • (package) v1.0.1
  • (jessy) ret -> value

2015.03.16, v1.0.1

feature:

  • (jessy) ret -> value