indexzero / nconf

Hierarchical node.js configuration with files, environment variables, command-line arguments, and atomic object merging.
https://github.com/indexzero/nconf
MIT License
3.87k stars 253 forks source link

Any plan to support cson as file backend #135

Open cybertk opened 9 years ago

cybertk commented 9 years ago

As cson is more cleaner and easier to maintain

3rd-Eden commented 9 years ago

As discussed in #123 it's super easy to add your own custom file format in to nconf. I don't think we should more backends then once we're currently supporting. So there's currently nothing stopping your from using cson as file format :)

edit: Also see #132

jcrugzz commented 9 years ago

@cybertk yea the idea is that 1.0.0 will not have any custom formats but the interface for plugins will be there as per #132.

cybertk commented 9 years ago

Cool, prefer PR #132

jcrugzz commented 9 years ago

@cybertk and just remember, this works already by passing in a format function with this signature