xtuc/unmarshaller-extra
Create a Babel plugin to preprocess the configuration
Aperta
#1 aperta il 24 mag 2017
enhancementhelp wanted
Metriche repository
- Star
- (0 stelle)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
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'
}