node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org ยป

protect-fs

This module adds some protection aganist poison null bytes to the native "fs" module. To activate it, just put this at the top of your main application file:

require('protect-fs')

This modifies all relevant fs methods (I hope I didn't forget any) to give you this protection.