xtuc/unmarshaller-extra

Create a Babel plugin to preprocess the configuration

Open

#1 opened on May 24, 2017

 (0 comments) (0 reactions) (0 assignees)JavaScript (0 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (0 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Example:

const unmarshaller = {
  foo: builder.string('foo')
};

const config = unmarshal(lookupFn, unmarshaller)

Given the input {foo: 'bar'}, would become:

const unmarshaller = {
  foo: builder.string('foo')
};

const config = {
  foo: 'bar'
}

Contributor guide