xtuc/unmarshaller-extra

Create a Babel plugin to preprocess the configuration

开放

#1 创建于 2017年5月24日

 (0 条评论) (0 个反应) (0 位负责人)JavaScript (0 个派生)github user discovery
enhancementhelp wanted

仓库指标

星标
 (0 个星标)
PR 合并指标
 (30 天内没有已合并 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'
}

贡献者指南