How to read, write file/directory in Meteor?

I would like to create CRUD generator UI.
how to read, write file/directory in Meteor?
Please help me.

I used the NPM fs system on server side. Not sure if there’s a better way, I didn’t find one https://github.com/KristerV/draka_quality_control/blob/master/server/importData.js#L5

thanks, where document how to use fs?

well you need to google that yourself :smile: search “npm fs”

Thanks again :smiley:

I tried but

I20151115-17:23:40.370(7)? Exception while invoking method 'readFile' Error: ENOENT, no su
ch file or directory 'D:\meteor-app\cpanel\cpanel\sever\gen\_template\collection.js'      

hi, have you got any result of this error ?