bevry / cson

CoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.
Other
1.34k stars 56 forks source link

Synchronous interface #1

Closed clyfe closed 13 years ago

clyfe commented 13 years ago

Could you also provide a synchronous interface?

CSON.parseFileSync
CSON.parseSync
balupton commented 13 years ago

Sure could, though this will be pretty low on my priorities. It wouldn't be hard to do, the coffeescript compile function is already synchronous, all that will need to change is the fileRead. Feel free to submit a pull request :)