node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. 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.