adaltas/node-printf

Support for nested properties

Closed this issue · 1 comments

While support for root property names is nice, it would really be great if nested properties could be used.

For example:

    printf('nested values %(nested.foo)s %(nested.bar.baz)d',
      nested:
        foo: 'work'
        bar:
          baz: 2
    ).should.eql 'nested values work 2'

Added support in PR #17

Closing since #17 is now merged.