xtuc/unmarshaller-extra
Create a Babel plugin to preprocess the configuration
オープン
#1 opened on 2017/05/24
enhancementhelp wanted
Repository metrics
- Stars
- (0 個のスター)
- PR merge metrics
- (30d に merged PR はありません)
説明
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'
}