simbo / gulp-gray-matter

A gulp plugin for extracting data header from file contents using gray-matter.
MIT License
3 stars 3 forks source link

pr to upgrade gray-matter? #2

Open jonschlinkert opened 6 years ago

jonschlinkert commented 6 years ago

Will you take a pull request to upgrade gray-matter to the latest and refactor this plugin to be more consistent with the gray-matter API?

Generally, when users use a plugin like this they expect the file object to be updated according to the conventions of the library that the plugin is representing. Per gulp convention, we should keep it really simple, options like remove or customizing property names can be accomplished by user-defined logic.

If you do want me to do a pr, do you want to stick with es5 or want me to use es6? I don't have a preference. thanks