Open balupton opened 5 years ago
@stpettersens would you be interested in undertaking this task?
Rewrite the library in TypeScript?
Rewrite the library in TypeScript?
Correct.
For anyone who wants to rewrite the CSON library in TypeScript, I can kick off the scaffolding required, but just need someone to do the actual line by line conversions.
Once the initial typescript release is done, I'm also happy for the API to change and move into a Promise API as well, or to just be overall simplified.
I'm able to put a $10USD bounty on this, but that is all I can afford.
actually, going to do it myself now
actually, will need to wait until these deps are converted to typescript first:
extract-opts is not needed, as typescript conversion would deprecate the need for this via bc breaks
so postponing until later
these are the remaining usages of cson within the bevry ecosystem:
They are all DocPad stuff, it isn't used outside DocPad, which is an archived project. So Bevry priority here is very low.
for swapping out safefs https://github.com/bevry/fs-read https://github.com/bevry/fs-write
Not sure for requirefresh.
They are all DocPad stuff, it isn't used outside DocPad, which is an archived project. So Bevry priority here is very low.
This is no longer the case, there are hundreds of dependents: https://www.npmjs.com/package/cson?activeTab=dependents
still nothing bevry owned uses cson anymore besides docpad which is an archived project
best way to make this happen is via https://bevry.me/fund
Definitions already provided by @stpettersens at: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/5344bfc80508c53a23dae37b860fb0c905ff7b24/types/cson/index.d.ts